Expand description
nftnl-rs
Provides a userspace interface for the Linux Netlink Nftables.
Supports:
- Add, Delete multiple hosts from set
- Get set contents.
Re-exports§
pub use crate::set::NftnlSet;
pub use crate::set::NftnlSetFlagData;
pub use crate::sequence::Sequence;
pub use crate::nf_tables::NfTablesMsgTypes;
pub use crate::element::NftnlSetElem;
pub use crate::netlink::netlink::Nlmsghdr;
pub use crate::netlink::netlink::NlmFFlags;
pub use crate::netlink::linux::Nfproto;
pub use crate::netlink::linux::NETLINK_NETFILTER;
pub use crate::netlink::socket::MnlSocket;
pub use crate::netlink::netlink_resp::NetlinkRespRes;
pub use crate::netlink::netlink_resp::NetlinkResponse;
pub use crate::netlink::netlink_req::MnlNlmsgBatch;
pub use crate::netlink::MNL_SOCKET_BUFFER_SIZE;
pub use crate::netlink::MNL_SOCKET_BUFFER_SIZE;