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_ops * | nft_expr_lookup_ops (struct nlattr *nla) |
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().
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().
int nft_expr_register | ( | struct nft_expr_ops * | ops | ) |
Register an nf_tables expression module.
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.