#include <netlink-local.h>
#include <netlink/cli/utils.h>
#include <linux/netfilter/nf_tables.h>
#include <netlink/netfilter/netfilter.h>
#include <netlink/netfilter/nft_rule.h>
#include <netlink/netfilter/nft_expr.h>
#include <linux/ip.h>
Functions | |
int | main (int argc, char *argv[]) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
References nl_dump_params::dp_fd, NETLINK_NETFILTER, nfnl_nft_counter_init(), nfnl_nft_expr_alloc(), nfnl_nft_rule_add(), nfnl_nft_rule_add_expr(), nfnl_nft_rule_alloc(), nfnl_nft_rule_put(), nfnl_nft_rule_set_chain(), nfnl_nft_rule_set_family(), nfnl_nft_rule_set_handle(), nfnl_nft_rule_set_table(), nl_cli_alloc_socket(), nl_cli_connect(), NL_DUMP_DETAILS, nl_geterror(), nl_object_dump(), nl_str2af(), NLM_F_EXCL, nlmsg_set_default_size(), and NULL.