#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_table.h>
Macros | |
#define | NFNLMSG_NFT_TYPE(type) NFNLMSG_TYPE(NFNL_SUBSYS_NFTABLES, (type)) |
Functions | |
int | nfnlmsg_nft_table_parse (struct nlmsghdr *nlh, struct nfnl_nft_table **result) |
int | nfnl_nft_table_dump_request (struct nl_sock *h) |
int | nfnl_nft_table_build_add_request (struct nfnl_nft_table *table, int flags, struct nl_msg **result) |
int | nfnl_nft_table_add (struct nl_sock *h, struct nfnl_nft_table *table, int flags) |
int | nfnl_nft_table_build_delete_request (struct nfnl_nft_table *table, int flags, struct nl_msg **result) |
int | nfnl_nft_table_delete (struct nl_sock *h, struct nfnl_nft_table *table, int flags) |
int | nfnl_nft_table_build_query_request (struct nfnl_nft_table *table, int flags, struct nl_msg **result) |
int | nfnl_nft_table_query (struct nl_sock *h, struct nfnl_nft_table *table, int flags) |
Cache Management | |
int | nfnl_nft_table_alloc_cache (struct nl_sock *sock, struct nl_cache **result) |
Build a conntrack cache holding all nf_tables tables currently in the kernel. More... | |