/linux-6.1.9/net/netfilter/ |
D | nft_set_bitmap.c | 71 nft_bitmap_active(const u8 *bitmap, u32 idx, u32 off, u8 genmask) in nft_bitmap_active() argument 73 return (bitmap[idx] & (0x3 << off)) & (genmask << off); in nft_bitmap_active() 81 u8 genmask = nft_genmask_cur(net); in nft_bitmap_lookup() local 86 return nft_bitmap_active(priv->bitmap, idx, off, genmask); in nft_bitmap_lookup() 91 u8 genmask) in nft_bitmap_elem_find() argument 99 !nft_set_elem_active(&be->ext, genmask)) in nft_bitmap_elem_find() 111 u8 genmask = nft_genmask_cur(net); in nft_bitmap_get() local 116 !nft_set_elem_active(&be->ext, genmask)) in nft_bitmap_get() 130 u8 genmask = nft_genmask_next(net); in nft_bitmap_insert() local 133 be = nft_bitmap_elem_find(set, new, genmask); in nft_bitmap_insert() [all …]
|
D | nft_set_hash.c | 37 u8 genmask; member 64 if (!nft_set_elem_active(&he->ext, x->genmask)) in nft_rhash_cmp() 84 .genmask = nft_genmask_cur(net), in nft_rhash_lookup() 102 .genmask = nft_genmask_cur(net), in nft_rhash_get() 125 .genmask = NFT_GENMASK_ANY, in nft_rhash_update() 168 .genmask = nft_genmask_next(net), in nft_rhash_insert() 214 .genmask = nft_genmask_next(net), in nft_rhash_deactivate() 245 .genmask = NFT_GENMASK_ANY, in nft_rhash_delete() 283 if (!nft_set_elem_active(&he->ext, iter->genmask)) in nft_rhash_walk() 457 u8 genmask = nft_genmask_cur(net); in nft_hash_lookup() local [all …]
|
D | nft_set_rbtree.c | 55 u8 genmask = nft_genmask_cur(net); in __nft_rbtree_lookup() local 78 if (!nft_set_elem_active(&rbe->ext, genmask)) { in __nft_rbtree_lookup() 100 nft_set_elem_active(&interval->ext, genmask) && in __nft_rbtree_lookup() 132 unsigned int seq, unsigned int flags, u8 genmask) in __nft_rbtree_get() argument 158 if (!nft_set_elem_active(&rbe->ext, genmask)) { in __nft_rbtree_get() 181 nft_set_elem_active(&interval->ext, genmask) && in __nft_rbtree_get() 201 u8 genmask = nft_genmask_cur(net); in nft_rbtree_get() local 204 ret = __nft_rbtree_get(net, set, key, &rbe, seq, flags, genmask); in nft_rbtree_get() 210 ret = __nft_rbtree_get(net, set, key, &rbe, seq, flags, genmask); in nft_rbtree_get() 273 u8 genmask = nft_genmask_next(net); in __nft_rbtree_insert() local [all …]
|
D | nf_tables_api.c | 639 u8 family, u8 genmask, u32 nlpid) in nft_table_lookup() argument 652 nft_active_genmask(table, genmask)) { in nft_table_lookup() 666 u8 genmask, u32 nlpid) in nft_table_lookup_byhandle() argument 674 nft_active_genmask(table, genmask)) { in nft_table_lookup_byhandle() 955 u8 genmask = nft_genmask_cur(info->net); in nf_tables_gettable() local 971 table = nft_table_lookup(net, nla[NFTA_TABLE_NAME], family, genmask, 0); in nf_tables_gettable() 1184 u8 genmask = nft_genmask_next(info->net); in nf_tables_newtable() local 1198 table = nft_table_lookup(net, attr, family, genmask, in nf_tables_newtable() 1381 u8 genmask = nft_genmask_next(info->net); in nf_tables_deltable() local 1395 table = nft_table_lookup_byhandle(net, attr, genmask, in nf_tables_deltable() [all …]
|
D | nft_objref.c | 30 u8 genmask = nft_genmask_next(ctx->net); in nft_objref_init() local 40 genmask); in nft_objref_init() 131 u8 genmask = nft_genmask_next(ctx->net); in nft_objref_map_init() local 137 tb[NFTA_OBJREF_SET_ID], genmask); in nft_objref_map_init()
|
D | nft_lookup.c | 100 u8 genmask = nft_genmask_next(ctx->net); in nft_lookup_init() local 110 tb[NFTA_LOOKUP_SET_ID], genmask); in nft_lookup_init() 243 iter.genmask = nft_genmask_next(ctx->net); in nft_lookup_validate()
|
D | nft_set_pipapo.c | 416 u8 genmask = nft_genmask_cur(net); in nft_pipapo_lookup() local 472 !nft_set_elem_active(*ext, genmask))) in nft_pipapo_lookup() 516 const u8 *data, u8 genmask) in pipapo_get() argument 570 (genmask && in pipapo_get() 571 !nft_set_elem_active(&f->mt[b].e->ext, genmask))) in pipapo_get() 1163 u8 genmask = nft_genmask_next(net); local 1173 dup = pipapo_get(net, set, start, genmask);
|
D | nft_dynset.c | 166 u8 genmask = nft_genmask_next(ctx->net); in nft_dynset_init() local 190 tb[NFTA_DYNSET_SET_ID], genmask); in nft_dynset_init()
|
D | nft_flow_offload.c | 396 u8 genmask = nft_genmask_next(ctx->net); in nft_flow_offload_init() local 403 genmask); in nft_flow_offload_init()
|
D | nft_set_pipapo_avx2.c | 1124 u8 genmask = nft_genmask_cur(net); in nft_pipapo_avx2_lookup() local 1210 !nft_set_elem_active(*ext, genmask))) { in nft_pipapo_avx2_lookup()
|
/linux-6.1.9/include/net/netfilter/ |
D | nf_tables.h | 301 u8 genmask; member 558 genmask:2; member 587 u8 genmask); 684 u8 genmask; member 969 genmask:2, member 1071 genmask:2; member 1202 genmask:2; member 1256 u32 genmask:2, member 1277 u8 genmask); 1359 u32 genmask:2, member [all …]
|