Crate nftnl_rs

Source
Expand description

nftnl-rs

Provides a partial userspace interface for the Linux Netlink Nftables.

Supports:

  • Add, Delete multiple hosts from set
  • Get the content of the set.

Re-exports§

pub use nftnl::add_hosts_to_table;
pub use nftnl::check_in_table;
pub use nftnl::erase_hosts_from_table;
pub use nftnl::flush_hosts_from_table;

Modules§

error
nftnl

Macros§

int_error_code
map_int_error_code
map_ntfl_error_code
ntfl_error_code

Structs§

MnlSocket
NlmFFlags
Flags values for the batch header.
Nlmsghdr
A message header.

Enums§

Nfproto

Constants§

NETLINK_NETFILTER
netfilter subsystem

Statics§

MNL_SOCKET_BUFFER_SIZE