netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nft_immediate_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_data.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_immediate_expr.c:

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_datanfnl_nft_immediate_get_data (const struct nfnl_nft_expr *expr)
 

Function Documentation

struct nfnl_nft_data* nfnl_nft_immediate_get_data ( const struct nfnl_nft_expr expr)
enum nft_registers nfnl_nft_immediate_get_dreg ( const struct nfnl_nft_expr expr)
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 
)
int nfnl_nft_immediate_test_data ( const struct nfnl_nft_expr expr)
int nfnl_nft_immediate_test_dreg ( const struct nfnl_nft_expr expr)