netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nf_tables modules

Module API

int nft_expr_register (struct nft_expr_ops *ops)
 Register an nf_tables expression module. More...
 
void nft_expr_unregister (struct nft_expr_ops *ops)
 Unregister an nf_tables expression module expression module operations. More...
 
struct nft_expr_ops__nft_expr_lookup_ops (const char *name)
 
struct nft_expr_opsnft_expr_lookup_ops (struct nlattr *nla)
 

Detailed Description

Function Documentation

struct nft_expr_ops* __nft_expr_lookup_ops ( const char *  name)

References nft_expr_ops::eo_name, nft_expr_ops::list, nl_list_for_each_entry, and NULL.

Referenced by nft_expr_lookup_ops().

Here is the caller graph for this function:

struct nft_expr_ops* nft_expr_lookup_ops ( struct nlattr nla)

References __nft_expr_lookup_ops(), and nla_data().

Referenced by nfnl_nft_expr_parse().

Here is the call graph for this function:

Here is the caller graph for this function:

int nft_expr_register ( struct nft_expr_ops ops)

Register an nf_tables expression module.

  • ops expression module operations

References nft_expr_ops::eo_name, nft_expr_ops::list, nl_list_for_each_entry, and NLE_EXIST.

void nft_expr_unregister ( struct nft_expr_ops ops)

Unregister an nf_tables expression module expression module operations.

References nft_expr_ops::list.