#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_set.h>#include <netlink/netfilter/nft_setelem.h>
Macros | |
| #define | NFNLMSG_NFT_TYPE(type) NFNLMSG_TYPE(NFNL_SUBSYS_NFTABLES, (type)) |
Functions | |
| int | nfnl_nft_setelem_dump_request (struct nl_sock *h, struct nfnl_nft_set *set) |
| int | nfnl_nft_setelem_add (struct nl_sock *h, struct nfnl_nft_set *set, struct nl_cache *elements, int flags) |
| int | nfnl_nft_setelem_build_delete_request (struct nfnl_nft_set *set, int flags, struct nl_msg **result) |
| int | nfnl_nft_setelem_delete (struct nl_sock *h, struct nfnl_nft_set *set, struct nl_cache *elements, int flags) |
| int | nfnl_nft_setelem_build_query_request (struct nfnl_nft_set *set, int flags, struct nl_msg **result) |
| int | nfnl_nft_setelem_query (struct nl_sock *h, struct nfnl_nft_set *set, int flags) |
Cache Management | |
| int | nfnl_nft_setelem_alloc_cache (struct nl_sock *sock, struct nfnl_nft_set *set, struct nl_cache **result) |
| Build a set cache holding all nf_tables sets currently in the kernel. More... | |