#include <sys/types.h>#include <linux/netfilter/nf_tables.h>#include <netlink-local.h>#include <netlink/attr.h>#include <netlink/netfilter/nfnl.h>#include <netlink/netfilter/nft_chain.h>
Macros | |
| #define | NFNLMSG_NFT_TYPE(type) NFNLMSG_TYPE(NFNL_SUBSYS_NFTABLES, (type)) |
Functions | |
| int | nfnlmsg_nft_chain_parse (struct nlmsghdr *nlh, struct nfnl_nft_chain **result) |
| int | nfnl_nft_chain_dump_request (struct nl_sock *h) |
| int | nfnl_nft_chain_build_add_request (struct nfnl_nft_chain *chain, int flags, struct nl_msg **result) |
| int | nfnl_nft_chain_add (struct nl_sock *h, struct nfnl_nft_chain *chain, int flags) |
| int | nfnl_nft_chain_build_delete_request (struct nfnl_nft_chain *chain, int flags, struct nl_msg **result) |
| int | nfnl_nft_chain_delete (struct nl_sock *h, struct nfnl_nft_chain *chain, int flags) |
| int | nfnl_nft_chain_build_query_request (struct nfnl_nft_chain *chain, int flags, struct nl_msg **result) |
| int | nfnl_nft_chain_query (struct nl_sock *h, struct nfnl_nft_chain *chain, int flags) |
Cache Management | |
| int | nfnl_nft_chain_alloc_cache (struct nl_sock *sock, struct nl_cache **result) |
| Build a conntrack cache holding all nf_tables chains currently in the kernel. More... | |