#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_rule.h>
#include <netlink/netfilter/nft_expr.h>
#include <netlink/netfilter/nft-expr-modules.h>
Data Structures | |
struct | nft_ct_expr |
Functions | |
char * | nfnl_nft_ct_key2str (enum nft_ct_keys key, char *buf, size_t len) |
enum nft_ct_keys | nfnl_nft_ct_str2key (const char *name) |
int | nfnl_nft_ct_init (struct nfnl_nft_expr *expr) |
void | nfnl_nft_ct_set_dreg (struct nfnl_nft_expr *expr, enum nft_registers reg) |
int | nfnl_nft_ct_test_dreg (const struct nfnl_nft_expr *expr) |
enum nft_registers | nfnl_nft_ct_get_dreg (const struct nfnl_nft_expr *expr) |
void | nfnl_nft_ct_set_key (struct nfnl_nft_expr *expr, enum nft_ct_keys key) |
int | nfnl_nft_ct_test_key (const struct nfnl_nft_expr *expr) |
enum nft_ct_keys | nfnl_nft_ct_get_key (const struct nfnl_nft_expr *expr) |
enum nft_registers nfnl_nft_ct_get_dreg | ( | const struct nfnl_nft_expr * | expr | ) |
References nft_ct_expr::dreg.
enum nft_ct_keys nfnl_nft_ct_get_key | ( | const struct nfnl_nft_expr * | expr | ) |
References nft_ct_expr::key.
int nfnl_nft_ct_init | ( | struct nfnl_nft_expr * | expr | ) |
References NULL.
char* nfnl_nft_ct_key2str | ( | enum nft_ct_keys | key, |
char * | buf, | ||
size_t | len | ||
) |
void nfnl_nft_ct_set_dreg | ( | struct nfnl_nft_expr * | expr, |
enum nft_registers | reg | ||
) |
References nft_ct_expr::dreg.
void nfnl_nft_ct_set_key | ( | struct nfnl_nft_expr * | expr, |
enum nft_ct_keys | key | ||
) |
References nft_ct_expr::key.
enum nft_ct_keys nfnl_nft_ct_str2key | ( | const char * | name | ) |
int nfnl_nft_ct_test_dreg | ( | const struct nfnl_nft_expr * | expr | ) |
int nfnl_nft_ct_test_key | ( | const struct nfnl_nft_expr * | expr | ) |