#include <sys/types.h>
#include <linux/netfilter/nf_tables.h>
#include <netlink-local.h>
#include <netlink/netfilter/nfnl.h>
#include <netlink/netfilter/netfilter.h>
#include <netlink/netfilter/nft_expr.h>
#include <netlink/netfilter/nft-expr-modules.h>
Functions | |
Allocation/Freeing | |
struct nfnl_nft_expr * | nfnl_nft_expr_alloc (void) |
void | nfnl_nft_expr_get (struct nfnl_nft_expr *expr) |
void | nfnl_nft_expr_put (struct nfnl_nft_expr *expr) |
Attributes | |
const char * | nfnl_nft_expr_get_type (const struct nfnl_nft_expr *expr) |
Variables | |
struct nl_object_ops | nft_expr_obj_ops |
struct nfnl_nft_expr* nfnl_nft_expr_alloc | ( | void | ) |
References nft_expr_obj_ops, and nl_object_alloc().
Referenced by main(), and nfnl_nft_expr_parse().
void nfnl_nft_expr_get | ( | struct nfnl_nft_expr * | expr | ) |
const char* nfnl_nft_expr_get_type | ( | const struct nfnl_nft_expr * | expr | ) |
References nft_expr_ops::eo_name, and nfnl_nft_expr::expr_ops.
void nfnl_nft_expr_put | ( | struct nfnl_nft_expr * | expr | ) |
struct nl_object_ops nft_expr_obj_ops |
Referenced by nfnl_nft_expr_alloc().