firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nft_ct_expr.c File Reference
#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>
Include dependency graph for nft_ct_expr.c:

Data Structures

struct  nft_ct_expr


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)

Function Documentation

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 

References __type2str(), and ARRAY_SIZE.

Here is the call graph for this function:

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)

References __str2type(), and ARRAY_SIZE.

Here is the call graph for this function:

int nfnl_nft_ct_test_dreg ( const struct nfnl_nft_expr expr)
int nfnl_nft_ct_test_key ( const struct nfnl_nft_expr expr)