Home
last modified time | relevance | path

Searched refs:nft_set_ext_key (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/net/netfilter/
Dnft_set_bitmap.c97 if (memcmp(nft_set_ext_key(&be->ext), in nft_bitmap_elem_find()
98 nft_set_ext_key(&this->ext), set->klen) || in nft_bitmap_elem_find()
115 if (memcmp(nft_set_ext_key(&be->ext), elem->key.val.data, set->klen) || in nft_bitmap_get()
139 nft_bitmap_location(set, nft_set_ext_key(&new->ext), &idx, &off); in nft_bitmap_insert()
156 nft_bitmap_location(set, nft_set_ext_key(&be->ext), &idx, &off); in nft_bitmap_remove()
171 nft_bitmap_location(set, nft_set_ext_key(&be->ext), &idx, &off); in nft_bitmap_activate()
185 nft_bitmap_location(set, nft_set_ext_key(&be->ext), &idx, &off); in nft_bitmap_flush()
Dnft_set_hash.c51 return jhash(nft_set_ext_key(&he->ext), len, seed); in nft_rhash_obj()
60 if (memcmp(nft_set_ext_key(&he->ext), x->key, x->set->klen)) in nft_rhash_cmp()
464 if (!memcmp(nft_set_ext_key(&he->ext), key, set->klen) && in nft_hash_lookup()
484 if (!memcmp(nft_set_ext_key(&he->ext), elem->key.val.data, set->klen) && in nft_hash_get()
505 k2 = *(u32 *)nft_set_ext_key(&he->ext)->data; in nft_hash_lookup_fast()
518 const struct nft_data *key = nft_set_ext_key(ext); in nft_jhash()
543 if (!memcmp(nft_set_ext_key(&this->ext), in nft_hash_insert()
544 nft_set_ext_key(&he->ext), set->klen) && in nft_hash_insert()
582 if (!memcmp(nft_set_ext_key(&he->ext), &elem->key.val, in nft_hash_deactivate()
Dnft_set_rbtree.c45 return memcmp(nft_set_ext_key(&e1->ext), nft_set_ext_key(&e2->ext), in nft_rbtree_cmp()
66 d = memcmp(nft_set_ext_key(&rbe->ext), key, set->klen); in __nft_rbtree_lookup()
147 this = nft_set_ext_key(&rbe->ext); in __nft_rbtree_get()
500 d = memcmp(nft_set_ext_key(&rbe->ext), &elem->key.val, in nft_rbtree_deactivate()
Dnft_set_pipapo.c1178 dup_key = nft_set_ext_key(&dup->ext);
1758 return pipapo_deactivate(net, set, (const u8 *)nft_set_ext_key(&e->ext),
1898 data = (const u8 *)nft_set_ext_key(&e->ext);
Dnf_tables_api.c5026 nft_data_dump(skb, NFTA_SET_ELEM_KEY, nft_set_ext_key(ext), in nf_tables_fill_setelem()
5599 nft_set_ext_key(ext), key, set->klen) < 0) in nft_set_elem_init()
5658 nft_data_release(nft_set_ext_key(ext), NFT_DATA_VALUE); in nft_set_elem_destroy()
/linux-6.1.9/include/net/netfilter/
Dnf_tables.h735 static inline struct nft_data *nft_set_ext_key(const struct nft_set_ext *ext) in nft_set_ext_key() function