#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_data.h>
#include <netlink/netfilter/nft_rule.h>
#include <netlink/netfilter/nft_expr.h>
#include <netlink/netfilter/nft-expr-modules.h>
Data Structures | |
struct | nft_immediate_expr |
Functions | |
int | nfnl_nft_immediate_init (struct nfnl_nft_expr *expr) |
void | nfnl_nft_immediate_set_dreg (struct nfnl_nft_expr *expr, enum nft_registers reg) |
int | nfnl_nft_immediate_test_dreg (const struct nfnl_nft_expr *expr) |
enum nft_registers | nfnl_nft_immediate_get_dreg (const struct nfnl_nft_expr *expr) |
void | nfnl_nft_immediate_set_data (struct nfnl_nft_expr *expr, struct nfnl_nft_data *data) |
int | nfnl_nft_immediate_test_data (const struct nfnl_nft_expr *expr) |
struct nfnl_nft_data * | nfnl_nft_immediate_get_data (const struct nfnl_nft_expr *expr) |
struct nfnl_nft_data* nfnl_nft_immediate_get_data | ( | const struct nfnl_nft_expr * | expr | ) |
References nft_immediate_expr::data.
enum nft_registers nfnl_nft_immediate_get_dreg | ( | const struct nfnl_nft_expr * | expr | ) |
References nft_immediate_expr::dreg.
int nfnl_nft_immediate_init | ( | struct nfnl_nft_expr * | expr | ) |
References NULL.
void nfnl_nft_immediate_set_data | ( | struct nfnl_nft_expr * | expr, |
struct nfnl_nft_data * | data | ||
) |
References nft_immediate_expr::data, and data.
void nfnl_nft_immediate_set_dreg | ( | struct nfnl_nft_expr * | expr, |
enum nft_registers | reg | ||
) |
References nft_immediate_expr::dreg.
int nfnl_nft_immediate_test_data | ( | const struct nfnl_nft_expr * | expr | ) |
int nfnl_nft_immediate_test_dreg | ( | const struct nfnl_nft_expr * | expr | ) |