Home
last modified time | relevance | path

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

/openbmc/linux/net/netfilter/
H A 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()
H A 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()
493 if (!memcmp(nft_set_ext_key(&he->ext), key, set->klen) && in nft_hash_lookup()
513 if (!memcmp(nft_set_ext_key(&he->ext), elem->key.val.data, set->klen) && in nft_hash_get()
534 k2 = *(u32 *)nft_set_ext_key(&he->ext)->data; in nft_hash_lookup_fast()
547 const struct nft_data *key = nft_set_ext_key(ext); in nft_jhash()
572 if (!memcmp(nft_set_ext_key(&this->ext), in nft_hash_insert()
573 nft_set_ext_key(&he->ext), set->klen) && in nft_hash_insert()
611 if (!memcmp(nft_set_ext_key(&he->ext), &elem->key.val, in nft_hash_deactivate()
H A Dnft_set_rbtree.c45 return memcmp(nft_set_ext_key(&e1->ext), nft_set_ext_key(&e2->ext), in nft_rbtree_cmp()
72 d = memcmp(nft_set_ext_key(&rbe->ext), key, set->klen); in __nft_rbtree_lookup()
153 this = nft_set_ext_key(&rbe->ext); in __nft_rbtree_get()
556 d = memcmp(nft_set_ext_key(&rbe->ext), &elem->key.val, in nft_rbtree_deactivate()
H A Dnft_set_pipapo.c1216 dup_key = nft_set_ext_key(&dup->ext);
1839 return pipapo_deactivate(net, set, (const u8 *)nft_set_ext_key(&e->ext),
1979 data = (const u8 *)nft_set_ext_key(&e->ext);
H A Dnf_tables_api.c5682 nft_data_dump(skb, NFTA_SET_ELEM_KEY, nft_set_ext_key(ext), in nf_tables_fill_setelem()
6298 nft_set_ext_key(ext), key, set->klen) < 0) in nft_set_elem_init()
6358 nft_data_release(nft_set_ext_key(ext), NFT_DATA_VALUE); in nft_set_elem_destroy()
/openbmc/linux/include/net/netfilter/
H A Dnf_tables.h780 static inline struct nft_data *nft_set_ext_key(const struct nft_set_ext *ext) in nft_set_ext_key() function