aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon THOBY <git@nightmared.fr>2021-11-15 22:38:03 +0100
committerlafleur <lafleur@boum.org>2021-11-26 12:07:37 +0100
commit4716eb28408422f1a5249eb39f75f67916ec5781 (patch)
tree2be56bb6d6c1af332a6f1e9b1b2ed7abcdc074c0 /src
parentab706e6a61cb103f1fb80df5d618b62422c779b1 (diff)
tests: add tests for `Set`s
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 5cf9ca6..665f752 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -77,8 +77,8 @@ use thiserror::Error;
extern crate log;
pub mod sys;
-use sys::libc;
use std::{convert::TryFrom, ffi::c_void, ops::Deref};
+use sys::libc;
macro_rules! try_alloc {
($e:expr) => {{
@@ -123,6 +123,7 @@ mod rule_methods;
pub use rule_methods::{iface_index, Protocol, RuleMethods, Error as MatchError};
pub mod set;
+pub use set::Set;
/// The type of the message as it's sent to netfilter. A message consists of an object, such as a
/// [`Table`], [`Chain`] or [`Rule`] for example, and a [`MsgType`] to describe what to do with