netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nft_expr.h File Reference
#include <netlink/netlink.h>
#include <netlink/addr.h>
#include <netlink/cache.h>
#include <netlink/msg.h>
Include dependency graph for nft_expr.h:
This graph shows which files directly or indirectly include this file:

Functions

struct nfnl_nft_exprnfnl_nft_expr_alloc (void)
 
void nfnl_nft_expr_get (struct nfnl_nft_expr *)
 
void nfnl_nft_expr_put (struct nfnl_nft_expr *)
 
const char * nfnl_nft_expr_get_type (const struct nfnl_nft_expr *)
 
int nfnl_nft_expr_parse (struct nlattr *, struct nfnl_nft_expr **)
 
int nfnl_nft_expr_build_message (struct nl_msg *, struct nfnl_nft_expr *)
 
int nfnl_nft_immediate_init (struct nfnl_nft_expr *)
 
void nfnl_nft_immediate_set_dreg (struct nfnl_nft_expr *, enum nft_registers)
 
int nfnl_nft_immediate_test_dreg (const struct nfnl_nft_expr *)
 
enum nft_registers nfnl_nft_immediate_get_dreg (const struct nfnl_nft_expr *)
 
void nfnl_nft_immediate_set_data (struct nfnl_nft_expr *, struct nfnl_nft_data *)
 
int nfnl_nft_immediate_test_data (const struct nfnl_nft_expr *)
 
struct nfnl_nft_datanfnl_nft_immediate_get_data (const struct nfnl_nft_expr *)
 
int nfnl_nft_bitwise_init (struct nfnl_nft_expr *expr)
 
void nfnl_nft_bitwise_set_sreg (struct nfnl_nft_expr *, enum nft_registers)
 
int nfnl_nft_bitwise_test_sreg (const struct nfnl_nft_expr *)
 
enum nft_registers nfnl_nft_bitwise_get_sreg (const struct nfnl_nft_expr *)
 
void nfnl_nft_bitwise_set_dreg (struct nfnl_nft_expr *, enum nft_registers)
 
int nfnl_nft_bitwise_test_dreg (const struct nfnl_nft_expr *)
 
enum nft_registers nfnl_nft_bitwise_get_dreg (const struct nfnl_nft_expr *)
 
void nfnl_nft_bitwise_set_len (struct nfnl_nft_expr *, unsigned int)
 
int nfnl_nft_bitwise_test_len (const struct nfnl_nft_expr *)
 
unsigned int nfnl_nft_bitwise_get_len (const struct nfnl_nft_expr *)
 
void nfnl_nft_bitwise_set_mask (struct nfnl_nft_expr *, struct nfnl_nft_data *)
 
int nfnl_nft_bitwise_test_mask (const struct nfnl_nft_expr *)
 
struct nfnl_nft_datanfnl_nft_bitwise_get_mask (const struct nfnl_nft_expr *)
 
void nfnl_nft_bitwise_set_xor (struct nfnl_nft_expr *, struct nfnl_nft_data *)
 
int nfnl_nft_bitwise_test_xor (const struct nfnl_nft_expr *)
 
struct nfnl_nft_datanfnl_nft_bitwise_get_xor (const struct nfnl_nft_expr *)
 
int nfnl_nft_byteorder_init (struct nfnl_nft_expr *)
 
void nfnl_nft_byteorder_set_sreg (struct nfnl_nft_expr *, enum nft_registers)
 
int nfnl_nft_byteorder_test_sreg (const struct nfnl_nft_expr *)
 
enum nft_registers nfnl_nft_byteorder_get_sreg (const struct nfnl_nft_expr *)
 
void nfnl_nft_byteorder_set_dreg (struct nfnl_nft_expr *, enum nft_registers)
 
int nfnl_nft_byteorder_test_dreg (const struct nfnl_nft_expr *)
 
enum nft_registers nfnl_nft_byteorder_get_dreg (const struct nfnl_nft_expr *)
 
void nfnl_nft_byteorder_set_op (struct nfnl_nft_expr *, enum nft_byteorder_ops)
 
int nfnl_nft_byteorder_test_op (const struct nfnl_nft_expr *)
 
enum nft_byteorder_ops nfnl_nft_byteorder_get_op (const struct nfnl_nft_expr *)
 
void nfnl_nft_byteorder_set_len (struct nfnl_nft_expr *, unsigned int)
 
int nfnl_nft_byteorder_test_len (const struct nfnl_nft_expr *)
 
unsigned int nfnl_nft_byteoder_get_len (const struct nfnl_nft_expr *)
 
void nfnl_nft_byteorder_set_size (struct nfnl_nft_expr *, unsigned int)
 
int nfnl_nft_byteorder_test_size (const struct nfnl_nft_expr *)
 
unsigned int nfnl_nft_byteorder_get_size (const struct nfnl_nft_expr *)
 
int nfnl_nft_cmp_init (struct nfnl_nft_expr *)
 
void nfnl_nft_cmp_set_sreg (struct nfnl_nft_expr *, enum nft_registers)
 
int nfnl_nft_cmp_test_sreg (const struct nfnl_nft_expr *)
 
enum nft_registers nfnl_nft_cmp_get_sreg (const struct nfnl_nft_expr *)
 
void nfnl_nft_cmp_set_op (struct nfnl_nft_expr *, enum nft_cmp_ops)
 
int nfnl_nft_cmp_test_op (const struct nfnl_nft_expr *)
 
enum nft_cmp_ops nfnl_nft_cmp_get_op (const struct nfnl_nft_expr *)
 
void nfnl_nft_cmp_set_data (struct nfnl_nft_expr *, struct nfnl_nft_data *)
 
int nfnl_nft_cmp_test_data (const struct nfnl_nft_expr *)
 
struct nfnl_nft_datanfnl_nft_cmp_get_data (const struct nfnl_nft_expr *)
 
char * nfnl_nft_cmp_op2str (enum nft_cmp_ops, char *, size_t)
 
enum nft_cmp_ops nfnl_nft_cmp_str2op (const char *)
 
int nfnl_nft_lookup_init (struct nfnl_nft_expr *)
 
void nfnl_nft_lookup_set_set (struct nfnl_nft_expr *, const char *)
 
int nfnl_nft_lookup_test_set (const struct nfnl_nft_expr *)
 
const char * nfnl_nft_lookup_get_set (const struct nfnl_nft_expr *)
 
void nfnl_nft_lookup_set_sreg (struct nfnl_nft_expr *, enum nft_registers)
 
int nfnl_nft_lookup_test_sreg (const struct nfnl_nft_expr *)
 
enum nft_registers nfnl_nft_lookup_get_sreg (const struct nfnl_nft_expr *)
 
void nfnl_nft_lookup_set_dreg (struct nfnl_nft_expr *, enum nft_registers)
 
int nfnl_nft_lookup_test_dreg (const struct nfnl_nft_expr *)
 
enum nft_registers nfnl_nft_lookup_get_dreg (const struct nfnl_nft_expr *)
 
int nfnl_nft_meta_init (struct nfnl_nft_expr *)
 
void nfnl_nft_meta_set_dreg (struct nfnl_nft_expr *, enum nft_registers)
 
int nfnl_nft_meta_test_dreg (const struct nfnl_nft_expr *)
 
enum nft_registers nfnl_nft_meta_get_dreg (const struct nfnl_nft_expr *)
 
void nfnl_nft_meta_set_key (struct nfnl_nft_expr *, enum nft_meta_keys)
 
int nfnl_nft_meta_test_key (const struct nfnl_nft_expr *)
 
enum nft_meta_keys nfnl_nft_meta_get_key (const struct nfnl_nft_expr *)
 
char * nfnl_nft_meta_key2str (enum nft_meta_keys, char *, size_t)
 
enum nft_meta_keys nfnl_nft_meta_str2key (const char *)
 
int nfnl_nft_ct_init (struct nfnl_nft_expr *)
 
void nfnl_nft_ct_set_dreg (struct nfnl_nft_expr *, enum nft_registers)
 
int nfnl_nft_ct_test_dreg (const struct nfnl_nft_expr *)
 
enum nft_registers nfnl_nft_ct_get_dreg (const struct nfnl_nft_expr *)
 
void nfnl_nft_ct_set_key (struct nfnl_nft_expr *, enum nft_ct_keys)
 
int nfnl_nft_ct_test_key (const struct nfnl_nft_expr *)
 
enum nft_ct_keys nfnl_nft_ct_get_key (const struct nfnl_nft_expr *)
 
char * nfnl_nft_ct_key2str (enum nft_ct_keys, char *, size_t)
 
enum nft_ct_keys nfnl_nft_ct_str2key (const char *)
 
int nfnl_nft_payload_init (struct nfnl_nft_expr *)
 
void nfnl_nft_payload_set_dreg (struct nfnl_nft_expr *, enum nft_registers)
 
int nfnl_nft_payload_test_dreg (const struct nfnl_nft_expr *)
 
enum nft_registers nfnl_nft_payload_get_dreg (const struct nfnl_nft_expr *)
 
void nfnl_nft_payload_set_base (struct nfnl_nft_expr *, enum nft_payload_bases)
 
int nfnl_nft_payload_test_base (const struct nfnl_nft_expr *)
 
enum nft_payload_bases nfnl_nft_payload_get_base (const struct nfnl_nft_expr *)
 
void nfnl_nft_payload_set_offset (struct nfnl_nft_expr *, unsigned int)
 
int nfnl_nft_payload_test_offset (const struct nfnl_nft_expr *)
 
unsigned int nfnl_nft_payload_get_offset (const struct nfnl_nft_expr *)
 
void nfnl_nft_payload_set_len (struct nfnl_nft_expr *, unsigned int)
 
int nfnl_nft_payload_test_len (const struct nfnl_nft_expr *)
 
unsigned int nfnl_nft_payload_get_len (const struct nfnl_nft_expr *)
 
int nfnl_nft_exthdr_init (struct nfnl_nft_expr *)
 
void nfnl_nft_exthdr_set_dreg (struct nfnl_nft_expr *, enum nft_registers)
 
int nfnl_nft_exthdr_test_dreg (const struct nfnl_nft_expr *)
 
enum nft_registers nfnl_nft_exthdr_get_dreg (const struct nfnl_nft_expr *)
 
void nfnl_nft_exthdr_set_type (struct nfnl_nft_expr *, uint8_t type)
 
int nfnl_nft_exthdr_test_type (const struct nfnl_nft_expr *)
 
uint8_t nfnl_nft_exthdr_get_type (const struct nfnl_nft_expr *)
 
void nfnl_nft_exthdr_set_offset (struct nfnl_nft_expr *, unsigned int)
 
int nfnl_nft_exthdr_test_offset (const struct nfnl_nft_expr *)
 
unsigned int nfnl_nft_exthdr_get_offset (const struct nfnl_nft_expr *)
 
void nfnl_nft_exthdr_set_len (struct nfnl_nft_expr *, unsigned int)
 
int nfnl_nft_exthdr_test_len (const struct nfnl_nft_expr *)
 
unsigned int nfnl_nft_exthdr_get_len (const struct nfnl_nft_expr *)
 
int nfnl_nft_counter_init (struct nfnl_nft_expr *)
 
void nfnl_nft_counter_set_packets (struct nfnl_nft_expr *, uint64_t)
 
int nfnl_nft_counter_test_packets (const struct nfnl_nft_expr *)
 
uint64_t nfnl_nft_counter_get_packets (const struct nfnl_nft_expr *)
 
void nfnl_nft_counter_set_bytes (struct nfnl_nft_expr *, uint64_t)
 
int nfnl_nft_counter_test_bytes (const struct nfnl_nft_expr *)
 
uint64_t nfnl_nft_counter_get_bytes (const struct nfnl_nft_expr *)
 
int nfnl_nft_log_init (struct nfnl_nft_expr *)
 
void nfnl_nft_log_set_prefix (struct nfnl_nft_expr *, const char *)
 
int nfnl_nft_log_test_prefix (const struct nfnl_nft_expr *)
 
const char * nfnl_nft_log_get_prefix (const struct nfnl_nft_expr *)
 
void nfnl_nft_log_set_group (struct nfnl_nft_expr *, uint32_t)
 
int nfnl_nft_log_test_group (const struct nfnl_nft_expr *)
 
uint32_t nfnl_nft_log_get_group (const struct nfnl_nft_expr *)
 
void nfnl_nft_log_set_snaplen (struct nfnl_nft_expr *, uint32_t)
 
int nfnl_nft_log_test_snaplen (const struct nfnl_nft_expr *)
 
uint32_t nfnl_nft_log_get_snaplen (const struct nfnl_nft_expr *)
 
void nfnl_nft_log_set_qthreshold (struct nfnl_nft_expr *, uint32_t)
 
int nfnl_nft_log_test_qthreshold (const struct nfnl_nft_expr *)
 
uint32_t nfnl_nft_log_get_qthreshold (const struct nfnl_nft_expr *)
 
int nfnl_nft_limit_init (struct nfnl_nft_expr *)
 
void nfnl_nft_limit_set_rate (struct nfnl_nft_expr *, uint64_t)
 
int nfnl_nft_limit_test_rate (const struct nfnl_nft_expr *)
 
uint64_t nfnl_nft_limit_get_rate (const struct nfnl_nft_expr *)
 
void nfnl_nft_limit_set_depth (struct nfnl_nft_expr *, uint64_t)
 
int nfnl_nft_limit_test_depth (const struct nfnl_nft_expr *)
 
uint64_t nfnl_nft_limit_get_depth (const struct nfnl_nft_expr *)
 
int nfnl_nft_nat_init (struct nfnl_nft_expr *)
 
void nfnl_nft_nat_set_type (struct nfnl_nft_expr *, enum nft_nat_types)
 
int nfnl_nft_nat_test_type (const struct nfnl_nft_expr *)
 
enum nft_nat_types nfnl_nft_nat_get_type (const struct nfnl_nft_expr *)
 
void nfnl_nft_nat_set_sreg_addr_min (struct nfnl_nft_expr *, enum nft_registers)
 
int nfnl_nft_nat_test_sreg_addr_min (const struct nfnl_nft_expr *)
 
enum nft_registers nfnl_nft_nat_get_sreg_addr_min (const struct nfnl_nft_expr *)
 
void nfnl_nft_nat_set_sreg_addr_max (struct nfnl_nft_expr *, enum nft_registers)
 
int nfnl_nft_nat_test_sreg_addr_max (const struct nfnl_nft_expr *)
 
enum nft_registers nfnl_nft_nat_get_sreg_addr_max (const struct nfnl_nft_expr *)
 
void nfnl_nft_nat_set_sreg_proto_min (struct nfnl_nft_expr *, enum nft_registers)
 
int nfnl_nft_nat_test_sreg_proto_min (const struct nfnl_nft_expr *)
 
enum nft_registers nfnl_nft_nat_get_sreg_proto_min (const struct nfnl_nft_expr *)
 
void nfnl_nft_nat_set_sreg_proto_max (struct nfnl_nft_expr *, enum nft_registers)
 
int nfnl_nft_nat_test_sreg_proto_max (const struct nfnl_nft_expr *)
 
enum nft_registers nfnl_nft_nat_get_sreg_proto_max (const struct nfnl_nft_expr *)
 

Variables

struct nl_object_ops nft_expr_obj_ops
 

Function Documentation

enum nft_registers nfnl_nft_bitwise_get_dreg ( const struct nfnl_nft_expr )
unsigned int nfnl_nft_bitwise_get_len ( const struct nfnl_nft_expr )

References nft_bitwise_expr::len.

struct nfnl_nft_data* nfnl_nft_bitwise_get_mask ( const struct nfnl_nft_expr )
enum nft_registers nfnl_nft_bitwise_get_sreg ( const struct nfnl_nft_expr )
struct nfnl_nft_data* nfnl_nft_bitwise_get_xor ( const struct nfnl_nft_expr )

References nft_bitwise_expr::xor.

int nfnl_nft_bitwise_init ( struct nfnl_nft_expr expr)

References NULL.

void nfnl_nft_bitwise_set_dreg ( struct nfnl_nft_expr ,
enum  nft_registers 
)
void nfnl_nft_bitwise_set_len ( struct nfnl_nft_expr ,
unsigned  int 
)

References nft_bitwise_expr::len, and len.

void nfnl_nft_bitwise_set_mask ( struct nfnl_nft_expr ,
struct nfnl_nft_data  
)

References data, and nft_bitwise_expr::mask.

void nfnl_nft_bitwise_set_sreg ( struct nfnl_nft_expr ,
enum  nft_registers 
)
void nfnl_nft_bitwise_set_xor ( struct nfnl_nft_expr ,
struct nfnl_nft_data  
)

References data, and nft_bitwise_expr::xor.

int nfnl_nft_bitwise_test_dreg ( const struct nfnl_nft_expr )
int nfnl_nft_bitwise_test_len ( const struct nfnl_nft_expr )
int nfnl_nft_bitwise_test_mask ( const struct nfnl_nft_expr )
int nfnl_nft_bitwise_test_sreg ( const struct nfnl_nft_expr )
int nfnl_nft_bitwise_test_xor ( const struct nfnl_nft_expr )
unsigned int nfnl_nft_byteoder_get_len ( const struct nfnl_nft_expr )
enum nft_registers nfnl_nft_byteorder_get_dreg ( const struct nfnl_nft_expr )
enum nft_byteorder_ops nfnl_nft_byteorder_get_op ( const struct nfnl_nft_expr )
unsigned int nfnl_nft_byteorder_get_size ( const struct nfnl_nft_expr )
enum nft_registers nfnl_nft_byteorder_get_sreg ( const struct nfnl_nft_expr )
int nfnl_nft_byteorder_init ( struct nfnl_nft_expr )

References NULL.

void nfnl_nft_byteorder_set_dreg ( struct nfnl_nft_expr ,
enum  nft_registers 
)
void nfnl_nft_byteorder_set_len ( struct nfnl_nft_expr ,
unsigned  int 
)

References nft_byteorder_expr::len, and len.

void nfnl_nft_byteorder_set_op ( struct nfnl_nft_expr ,
enum  nft_byteorder_ops 
)
void nfnl_nft_byteorder_set_size ( struct nfnl_nft_expr ,
unsigned  int 
)

References nft_byteorder_expr::size, and size.

void nfnl_nft_byteorder_set_sreg ( struct nfnl_nft_expr ,
enum  nft_registers 
)
int nfnl_nft_byteorder_test_dreg ( const struct nfnl_nft_expr )
int nfnl_nft_byteorder_test_len ( const struct nfnl_nft_expr )
int nfnl_nft_byteorder_test_op ( const struct nfnl_nft_expr )
int nfnl_nft_byteorder_test_size ( const struct nfnl_nft_expr )
int nfnl_nft_byteorder_test_sreg ( const struct nfnl_nft_expr )
struct nfnl_nft_data* nfnl_nft_cmp_get_data ( const struct nfnl_nft_expr )

References nft_cmp_expr::data.

enum nft_cmp_ops nfnl_nft_cmp_get_op ( const struct nfnl_nft_expr )

References nft_cmp_expr::op.

enum nft_registers nfnl_nft_cmp_get_sreg ( const struct nfnl_nft_expr )

References nft_cmp_expr::sreg.

int nfnl_nft_cmp_init ( struct nfnl_nft_expr )

References NULL.

char* nfnl_nft_cmp_op2str ( enum  nft_cmp_ops,
char *  ,
size_t   
)

References __type2str(), and ARRAY_SIZE.

Here is the call graph for this function:

void nfnl_nft_cmp_set_data ( struct nfnl_nft_expr ,
struct nfnl_nft_data  
)

References nft_cmp_expr::data, and data.

void nfnl_nft_cmp_set_op ( struct nfnl_nft_expr ,
enum  nft_cmp_ops 
)

References nft_cmp_expr::op.

void nfnl_nft_cmp_set_sreg ( struct nfnl_nft_expr ,
enum  nft_registers 
)

References nft_cmp_expr::sreg.

enum nft_cmp_ops nfnl_nft_cmp_str2op ( const char *  )

References __str2type(), and ARRAY_SIZE.

Here is the call graph for this function:

int nfnl_nft_cmp_test_data ( const struct nfnl_nft_expr )
int nfnl_nft_cmp_test_op ( const struct nfnl_nft_expr )
int nfnl_nft_cmp_test_sreg ( const struct nfnl_nft_expr )
uint64_t nfnl_nft_counter_get_bytes ( const struct nfnl_nft_expr )
uint64_t nfnl_nft_counter_get_packets ( const struct nfnl_nft_expr )
int nfnl_nft_counter_init ( struct nfnl_nft_expr )

References NULL.

Referenced by main().

Here is the caller graph for this function:

void nfnl_nft_counter_set_bytes ( struct nfnl_nft_expr ,
uint64_t   
)

References bytes, and nft_counter_expr::bytes.

void nfnl_nft_counter_set_packets ( struct nfnl_nft_expr ,
uint64_t   
)
int nfnl_nft_counter_test_bytes ( const struct nfnl_nft_expr )
int nfnl_nft_counter_test_packets ( const struct nfnl_nft_expr )
enum nft_registers nfnl_nft_ct_get_dreg ( const struct nfnl_nft_expr )

References nft_ct_expr::dreg.

enum nft_ct_keys nfnl_nft_ct_get_key ( const struct nfnl_nft_expr )

References nft_ct_expr::key.

int nfnl_nft_ct_init ( struct nfnl_nft_expr )

References NULL.

char* nfnl_nft_ct_key2str ( enum  nft_ct_keys,
char *  ,
size_t   
)

References __type2str(), and ARRAY_SIZE.

Here is the call graph for this function:

void nfnl_nft_ct_set_dreg ( struct nfnl_nft_expr ,
enum  nft_registers 
)

References nft_ct_expr::dreg.

void nfnl_nft_ct_set_key ( struct nfnl_nft_expr ,
enum  nft_ct_keys 
)

References nft_ct_expr::key.

enum nft_ct_keys nfnl_nft_ct_str2key ( const char *  )

References __str2type(), and ARRAY_SIZE.

Here is the call graph for this function:

int nfnl_nft_ct_test_dreg ( const struct nfnl_nft_expr )
int nfnl_nft_ct_test_key ( const struct nfnl_nft_expr )
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().

Here is the call graph for this function:

Here is the caller graph for this function:

void nfnl_nft_expr_get ( struct nfnl_nft_expr )

References nl_object_get().

Here is the call graph for this function:

const char* nfnl_nft_expr_get_type ( const struct nfnl_nft_expr )
void nfnl_nft_expr_put ( struct nfnl_nft_expr )

References nl_object_put().

Here is the call graph for this function:

enum nft_registers nfnl_nft_exthdr_get_dreg ( const struct nfnl_nft_expr )

References nft_exthdr_expr::dreg.

unsigned int nfnl_nft_exthdr_get_len ( const struct nfnl_nft_expr )

References nft_exthdr_expr::len.

unsigned int nfnl_nft_exthdr_get_offset ( const struct nfnl_nft_expr )
uint8_t nfnl_nft_exthdr_get_type ( const struct nfnl_nft_expr )

References nft_exthdr_expr::type.

int nfnl_nft_exthdr_init ( struct nfnl_nft_expr )

References NULL.

void nfnl_nft_exthdr_set_dreg ( struct nfnl_nft_expr ,
enum  nft_registers 
)

References nft_exthdr_expr::dreg.

void nfnl_nft_exthdr_set_len ( struct nfnl_nft_expr ,
unsigned  int 
)

References nft_exthdr_expr::len, and len.

void nfnl_nft_exthdr_set_offset ( struct nfnl_nft_expr ,
unsigned  int 
)
void nfnl_nft_exthdr_set_type ( struct nfnl_nft_expr ,
uint8_t  type 
)

References nft_exthdr_expr::type, and type.

int nfnl_nft_exthdr_test_dreg ( const struct nfnl_nft_expr )
int nfnl_nft_exthdr_test_len ( const struct nfnl_nft_expr )
int nfnl_nft_exthdr_test_offset ( const struct nfnl_nft_expr )
int nfnl_nft_exthdr_test_type ( const struct nfnl_nft_expr )
struct nfnl_nft_data* nfnl_nft_immediate_get_data ( const struct nfnl_nft_expr )
enum nft_registers nfnl_nft_immediate_get_dreg ( const struct nfnl_nft_expr )
int nfnl_nft_immediate_init ( struct nfnl_nft_expr )

References NULL.

void nfnl_nft_immediate_set_data ( struct nfnl_nft_expr ,
struct nfnl_nft_data  
)

References nft_immediate_expr::data, and data.

void nfnl_nft_immediate_set_dreg ( struct nfnl_nft_expr ,
enum  nft_registers 
)
int nfnl_nft_immediate_test_data ( const struct nfnl_nft_expr )
int nfnl_nft_immediate_test_dreg ( const struct nfnl_nft_expr )
uint64_t nfnl_nft_limit_get_depth ( const struct nfnl_nft_expr )

References nft_limit_expr::depth.

uint64_t nfnl_nft_limit_get_rate ( const struct nfnl_nft_expr )

References nft_limit_expr::rate.

int nfnl_nft_limit_init ( struct nfnl_nft_expr )

References NULL.

void nfnl_nft_limit_set_depth ( struct nfnl_nft_expr ,
uint64_t   
)

References nft_limit_expr::depth.

void nfnl_nft_limit_set_rate ( struct nfnl_nft_expr ,
uint64_t   
)

References nft_limit_expr::rate.

int nfnl_nft_limit_test_depth ( const struct nfnl_nft_expr )
int nfnl_nft_limit_test_rate ( const struct nfnl_nft_expr )
uint32_t nfnl_nft_log_get_group ( const struct nfnl_nft_expr )

References nft_log_expr::group.

const char* nfnl_nft_log_get_prefix ( const struct nfnl_nft_expr )

References nft_log_expr::prefix.

uint32_t nfnl_nft_log_get_qthreshold ( const struct nfnl_nft_expr )
uint32_t nfnl_nft_log_get_snaplen ( const struct nfnl_nft_expr )

References nft_log_expr::snaplen.

int nfnl_nft_log_init ( struct nfnl_nft_expr )

References NULL.

void nfnl_nft_log_set_group ( struct nfnl_nft_expr ,
uint32_t   
)

References nft_log_expr::group.

void nfnl_nft_log_set_prefix ( struct nfnl_nft_expr ,
const char *   
)

References nft_log_expr::prefix.

void nfnl_nft_log_set_qthreshold ( struct nfnl_nft_expr ,
uint32_t   
)
void nfnl_nft_log_set_snaplen ( struct nfnl_nft_expr ,
uint32_t   
)

References nft_log_expr::snaplen.

int nfnl_nft_log_test_group ( const struct nfnl_nft_expr )
int nfnl_nft_log_test_prefix ( const struct nfnl_nft_expr )
int nfnl_nft_log_test_qthreshold ( const struct nfnl_nft_expr )
int nfnl_nft_log_test_snaplen ( const struct nfnl_nft_expr )
enum nft_registers nfnl_nft_lookup_get_dreg ( const struct nfnl_nft_expr )

References nft_lookup_expr::dreg.

const char* nfnl_nft_lookup_get_set ( const struct nfnl_nft_expr )

References nft_lookup_expr::set.

enum nft_registers nfnl_nft_lookup_get_sreg ( const struct nfnl_nft_expr )

References nft_lookup_expr::sreg.

int nfnl_nft_lookup_init ( struct nfnl_nft_expr )

References NULL.

void nfnl_nft_lookup_set_dreg ( struct nfnl_nft_expr ,
enum  nft_registers 
)

References nft_lookup_expr::dreg.

void nfnl_nft_lookup_set_set ( struct nfnl_nft_expr ,
const char *   
)

References nft_lookup_expr::set.

void nfnl_nft_lookup_set_sreg ( struct nfnl_nft_expr ,
enum  nft_registers 
)

References nft_lookup_expr::sreg.

int nfnl_nft_lookup_test_dreg ( const struct nfnl_nft_expr )
int nfnl_nft_lookup_test_set ( const struct nfnl_nft_expr )
int nfnl_nft_lookup_test_sreg ( const struct nfnl_nft_expr )
enum nft_registers nfnl_nft_meta_get_dreg ( const struct nfnl_nft_expr )

References nft_meta_expr::dreg.

enum nft_meta_keys nfnl_nft_meta_get_key ( const struct nfnl_nft_expr )

References nft_meta_expr::key.

int nfnl_nft_meta_init ( struct nfnl_nft_expr )

References NULL.

char* nfnl_nft_meta_key2str ( enum  nft_meta_keys,
char *  ,
size_t   
)

References __type2str(), and ARRAY_SIZE.

Here is the call graph for this function:

void nfnl_nft_meta_set_dreg ( struct nfnl_nft_expr ,
enum  nft_registers 
)

References nft_meta_expr::dreg.

void nfnl_nft_meta_set_key ( struct nfnl_nft_expr ,
enum  nft_meta_keys 
)

References nft_meta_expr::key.

enum nft_meta_keys nfnl_nft_meta_str2key ( const char *  )

References __str2type(), and ARRAY_SIZE.

Here is the call graph for this function:

int nfnl_nft_meta_test_dreg ( const struct nfnl_nft_expr )
int nfnl_nft_meta_test_key ( const struct nfnl_nft_expr )
enum nft_registers nfnl_nft_nat_get_sreg_addr_max ( const struct nfnl_nft_expr )
enum nft_registers nfnl_nft_nat_get_sreg_addr_min ( const struct nfnl_nft_expr )
enum nft_registers nfnl_nft_nat_get_sreg_proto_max ( const struct nfnl_nft_expr )
enum nft_registers nfnl_nft_nat_get_sreg_proto_min ( const struct nfnl_nft_expr )
enum nft_nat_types nfnl_nft_nat_get_type ( const struct nfnl_nft_expr )

References nft_nat_expr::type.

int nfnl_nft_nat_init ( struct nfnl_nft_expr )

References NULL.

void nfnl_nft_nat_set_sreg_addr_max ( struct nfnl_nft_expr ,
enum  nft_registers 
)
void nfnl_nft_nat_set_sreg_addr_min ( struct nfnl_nft_expr ,
enum  nft_registers 
)
void nfnl_nft_nat_set_sreg_proto_max ( struct nfnl_nft_expr ,
enum  nft_registers 
)
void nfnl_nft_nat_set_sreg_proto_min ( struct nfnl_nft_expr ,
enum  nft_registers 
)
void nfnl_nft_nat_set_type ( struct nfnl_nft_expr ,
enum  nft_nat_types 
)

References nft_nat_expr::type, and type.

int nfnl_nft_nat_test_sreg_addr_max ( const struct nfnl_nft_expr )
int nfnl_nft_nat_test_sreg_addr_min ( const struct nfnl_nft_expr )
int nfnl_nft_nat_test_sreg_proto_max ( const struct nfnl_nft_expr )
int nfnl_nft_nat_test_sreg_proto_min ( const struct nfnl_nft_expr )
int nfnl_nft_nat_test_type ( const struct nfnl_nft_expr )
enum nft_payload_bases nfnl_nft_payload_get_base ( const struct nfnl_nft_expr )
enum nft_registers nfnl_nft_payload_get_dreg ( const struct nfnl_nft_expr )
unsigned int nfnl_nft_payload_get_len ( const struct nfnl_nft_expr )

References nft_payload_expr::len.

unsigned int nfnl_nft_payload_get_offset ( const struct nfnl_nft_expr )
int nfnl_nft_payload_init ( struct nfnl_nft_expr )

References NULL.

void nfnl_nft_payload_set_base ( struct nfnl_nft_expr ,
enum  nft_payload_bases 
)
void nfnl_nft_payload_set_dreg ( struct nfnl_nft_expr ,
enum  nft_registers 
)
void nfnl_nft_payload_set_len ( struct nfnl_nft_expr ,
unsigned  int 
)

References nft_payload_expr::len, and len.

void nfnl_nft_payload_set_offset ( struct nfnl_nft_expr ,
unsigned  int 
)
int nfnl_nft_payload_test_base ( const struct nfnl_nft_expr )
int nfnl_nft_payload_test_dreg ( const struct nfnl_nft_expr )
int nfnl_nft_payload_test_len ( const struct nfnl_nft_expr )
int nfnl_nft_payload_test_offset ( const struct nfnl_nft_expr )

Variable Documentation

struct nl_object_ops nft_expr_obj_ops

Referenced by nfnl_nft_expr_alloc().