Searched refs:num_exprs (Results 1 – 3 of 3) sorted by relevance
| /linux/net/netfilter/ |
| H A D | nft_dynset.c | 23 u8 num_exprs; member 40 for (i = 0; i < priv->num_exprs; i++) { in nft_dynset_expr_setup() 76 if (priv->num_exprs && nft_dynset_expr_setup(priv, ext) < 0) in nft_dynset_new() 127 for (i = 0; i < priv->num_exprs; i++) in nft_dynset_ext_add_expr() 258 priv->num_exprs++; in nft_dynset_init() 261 if (set->num_exprs > 1 || in nft_dynset_init() 262 (set->num_exprs == 1 && in nft_dynset_init() 291 priv->num_exprs++; in nft_dynset_init() 293 if (set->num_exprs) { in nft_dynset_init() 294 if (i >= set->num_exprs) { in nft_dynset_init() [all …]
|
| H A D | nf_tables_api.c | 5058 if (set->num_exprs == 1) { in nf_tables_fill_set() 5064 } else if (set->num_exprs > 1) { in nf_tables_fill_set() 5069 for (i = 0; i < set->num_exprs; i++) { in nf_tables_fill_set() 5338 struct nft_expr **exprs, int *num_exprs, in nft_set_expr_alloc() 5351 (*num_exprs)++; in nft_set_expr_alloc() 5376 (*num_exprs)++; in nft_set_expr_alloc() 5383 for (i = 0; i < *num_exprs; i++) in nft_set_expr_alloc() 5391 struct nft_expr *exprs[], u32 num_exprs, u32 flags) in nft_set_is_same() 5401 set->num_exprs != num_exprs) in nft_set_is_same() 5334 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 5387 nft_set_is_same(const struct nft_set * set,const struct nft_set_desc * desc,struct nft_expr * exprs[],u32 num_exprs,u32 flags) nft_set_is_same() argument 5436 int num_exprs = 0; nf_tables_newset() local 6097 u32 size, num_exprs = 0; nft_set_elem_expr_dump() local 6939 nft_set_elem_expr_setup(struct nft_ctx * ctx,const struct nft_set_ext_tmpl * tmpl,const struct nft_set_ext * ext,struct nft_expr * expr_array[],u32 num_exprs) nft_set_elem_expr_setup() argument 7242 u32 flags = 0, size = 0, num_exprs = 0; nft_add_set_elem() local [all...] |
| /linux/include/net/netfilter/ |
| H A D | nf_tables.h | 612 u8 num_exprs; member
|