diff options
author | Simon THOBY <git@nightmared.fr> | 2021-10-26 22:50:17 +0200 |
---|---|---|
committer | lafleur <lafleur@boum.org> | 2021-11-05 11:21:27 +0100 |
commit | c32f06c9844dbcdb81df4fe611ab0c5caa236110 (patch) | |
tree | 96dd1ba92df6a87c08b4ad0d1959b1aa30030b62 /rustables/src/lib.rs | |
parent | 77fd69af12242ab577b0ab1b3a3539fefd3110d8 (diff) |
tests: add some netlink abstractions to manipulate higher-level object that raw bytes strings
Diffstat (limited to 'rustables/src/lib.rs')
-rw-r--r-- | rustables/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rustables/src/lib.rs b/rustables/src/lib.rs index 1397245..d94c753 100644 --- a/rustables/src/lib.rs +++ b/rustables/src/lib.rs @@ -118,6 +118,9 @@ pub use rule::{get_rules_cb, list_rules_for_chain}; pub mod set; +#[cfg(test)] +mod tests; + /// 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 /// that object. If a [`Table`] object is sent with `MsgType::Add` then that table will be added |