| H A D | nf_tables_api.c | 160 const struct nlattr * const *nla) in nft_ctx_init() argument 167 ctx->nla = nla; in nft_ctx_init() 670 if (ctx->nla[NFTA_CHAIN_ID]) { in nft_trans_chain_add() 672 ntohl(nla_get_be32(ctx->nla[NFTA_CHAIN_ID])); in nft_trans_chain_add() 742 if (msg_type == NFT_MSG_NEWRULE && ctx->nla[NFTA_RULE_ID] != NULL) { in nft_trans_rule_add() 744 ntohl(nla_get_be32(ctx->nla[NFTA_RULE_ID])); in nft_trans_rule_add() 812 if (msg_type == NFT_MSG_NEWSET && ctx->nla[NFTA_SET_ID] && !desc) { in __nft_trans_set_add() 814 ntohl(nla_get_be32(ctx->nla[NFTA_SET_ID])); in __nft_trans_set_add() 983 const struct nlattr *nla, 985 nft_table_lookup(const struct net * net,const struct nlattr * nla,u8 family,u8 genmask,u32 nlpid) nft_table_lookup() argument 1012 nft_table_lookup_byhandle(const struct net * net,const struct nlattr * nla,int family,u8 genmask,u32 nlpid) nft_table_lookup_byhandle() argument 1052 __nf_tables_chain_type_lookup(const struct nlattr * nla,u8 family) __nf_tables_chain_type_lookup() argument 1122 nf_tables_chain_type_lookup(struct net * net,const struct nlattr * nla,u8 family,bool autoload) nf_tables_chain_type_lookup() argument 1312 nf_tables_gettable(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_gettable() argument 1577 nf_tables_newtable(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_newtable() argument 1750 const struct nlattr * const *nla = ctx->nla; nft_flush() local 1781 nf_tables_deltable(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_deltable() argument 1888 nft_chain_lookup(struct net * net,struct nft_table * table,const struct nlattr * nla,u8 genmask) nft_chain_lookup() argument 2248 nf_tables_getchain(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_getchain() argument 2556 nft_chain_parse_hook(struct net * net,struct nft_base_chain * basechain,const struct nlattr * const nla[],struct nft_chain_hook * hook,u8 family,u32 flags,struct netlink_ext_ack * extack) nft_chain_parse_hook() argument 2756 const struct nlattr * const *nla = ctx->nla; nf_tables_addchain() local 2903 const struct nlattr * const *nla = ctx->nla; nf_tables_updchain() local 3100 nft_chain_lookup_byid(const struct net * net,const struct nft_table * table,const struct nlattr * nla,u8 genmask) nft_chain_lookup_byid() argument 3117 nf_tables_newchain(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_newchain() argument 3248 const struct nlattr * const *nla = ctx->nla; nft_delchain_hook() local 3299 nf_tables_delchain(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_delchain() argument 3425 __nft_expr_type_get(u8 family,struct nlattr * nla) __nft_expr_type_get() argument 3442 nft_expr_type_request_module(struct net * net,u8 family,struct nlattr * nla) nft_expr_type_request_module() argument 3454 nft_expr_type_get(struct net * net,u8 family,struct nlattr * nla) nft_expr_type_get() argument 3536 nf_tables_expr_parse(const struct nft_ctx * ctx,const struct nlattr * nla,struct nft_expr_info * info) nf_tables_expr_parse() argument 3589 nft_expr_inner_parse(const struct nft_ctx * ctx,const struct nlattr * nla,struct nft_expr_info * info) nft_expr_inner_parse() argument 3669 nft_expr_init(const struct nft_ctx * ctx,const struct nlattr * nla) nft_expr_init() argument 3753 nft_rule_lookup(const struct net * net,const struct nft_chain * chain,const struct nlattr * nla) nft_rule_lookup() argument 4005 const struct nlattr * const *nla = cb->data; nf_tables_dump_rules_start() local 4039 nf_tables_getrule_single(u32 portid,const struct nfnl_info * info,const struct nlattr * const nla[],bool reset) nf_tables_getrule_single() argument 4085 nf_tables_getrule(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_getrule() argument 4320 nf_tables_newrule(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_newrule() argument 4559 nft_rule_lookup_byid(const struct net * net,const struct nft_chain * chain,const struct nlattr * nla) nft_rule_lookup_byid() argument 4575 nf_tables_delrule(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_delrule() argument 4786 nft_set_lookup(const struct net * net,const struct nft_table * table,const struct nlattr * nla,u8 genmask) nft_set_lookup() argument 4803 nft_set_lookup_byhandle(const struct nft_table * table,const struct nlattr * nla,u8 genmask) nft_set_lookup_byhandle() argument 4818 nft_set_lookup_byid(const struct net * net,const struct nft_table * table,const struct nlattr * nla,u8 genmask) nft_set_lookup_byid() argument 4912 nf_msecs_to_jiffies64(const struct nlattr * nla,u64 * result) nf_msecs_to_jiffies64() argument 5213 nf_tables_getset(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_getset() argument 5303 nft_set_desc_concat(struct nft_set_desc * desc,const struct nlattr * nla) nft_set_desc_concat() argument 5332 nf_tables_set_desc_parse(struct nft_set_desc * desc,const struct nlattr * nla) nf_tables_set_desc_parse() argument 5351 nft_set_expr_alloc(struct nft_ctx * ctx,struct nft_set * set,const struct nlattr * const * nla,struct nft_expr ** exprs,int * num_exprs,u32 flags) nft_set_expr_alloc() argument 5441 nf_tables_newset(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_newset() argument 5781 nf_tables_delset(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_delset() argument 6544 struct nlattr *nla[NFTA_SET_ELEM_MAX + 1]; nft_get_set_elem() local 6604 nft_set_dump_ctx_init(struct nft_set_dump_ctx * dump_ctx,const struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[],bool reset) nft_set_dump_ctx_init() argument 6637 nf_tables_getsetelem(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_getsetelem() argument 7216 nft_setelem_valid_key_end(const struct nft_set * set,struct nlattr ** nla,u32 flags) nft_setelem_valid_key_end() argument 7259 struct nlattr *nla[NFTA_SET_ELEM_MAX + 1]; nft_add_set_elem() local 7676 nf_tables_newsetelem(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_newsetelem() argument 7838 struct nlattr *nla[NFTA_SET_ELEM_MAX + 1]; nft_del_setelem() local 8017 nf_tables_delsetelem(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_delsetelem() argument 8107 nft_obj_lookup(const struct net * net,struct nft_table * table,const struct nlattr * nla,u32 objtype,u8 genmask) nft_obj_lookup() argument 8139 nft_obj_lookup_byhandle(const struct nft_table * table,const struct nlattr * nla,u32 objtype,u8 genmask) nft_obj_lookup_byhandle() argument 8309 nf_tables_newobj(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_newobj() argument 8551 const struct nlattr * const *nla = cb->data; nf_tables_dump_obj_start() local 8582 nf_tables_getobj_single(u32 portid,const struct nfnl_info * info,const struct nlattr * const nla[],bool reset) nf_tables_getobj_single() argument 8627 nf_tables_getobj(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_getobj() argument 8680 nf_tables_delobj(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_delobj() argument 8831 nft_flowtable_lookup(const struct net * net,const struct nft_table * table,const struct nlattr * nla,u8 genmask) nft_flowtable_lookup() argument 8864 nft_flowtable_lookup_byhandle(const struct nft_table * table,const struct nlattr * nla,u8 genmask) nft_flowtable_lookup_byhandle() argument 8889 nft_flowtable_parse_hook(const struct nft_ctx * ctx,const struct nlattr * const nla[],struct nft_flowtable_hook * flowtable_hook,struct nft_flowtable * flowtable,struct netlink_ext_ack * extack,bool add) nft_flowtable_parse_hook() argument 9127 const struct nlattr * const *nla = ctx->nla; nft_flowtable_update() local 9217 nf_tables_newflowtable(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_newflowtable() argument 9363 const struct nlattr * const *nla = ctx->nla; nft_delflowtable_hook() local 9413 nf_tables_delflowtable(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_delflowtable() argument 9596 const struct nlattr * const *nla = cb->data; nf_tables_dump_flowtable_start() local 9632 nf_tables_getflowtable(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_getflowtable() argument 9924 nf_tables_getgen(struct sk_buff * skb,const struct nfnl_info * info,const struct nlattr * const nla[]) nf_tables_getgen() argument 11777 nft_verdict_init(const struct nft_ctx * ctx,struct nft_data * data,struct nft_data_desc * desc,const struct nlattr * nla) nft_verdict_init() argument 11887 nft_value_init(const struct nft_ctx * ctx,struct nft_data * data,struct nft_data_desc * desc,const struct nlattr * nla) nft_value_init() argument 11934 nft_data_init(const struct nft_ctx * ctx,struct nft_data * data,struct nft_data_desc * desc,const struct nlattr * nla) nft_data_init() argument [all...] |