Home
last modified time | relevance | path

Searched refs:nft_set (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/net/netfilter/
Dnft_set_hash.c35 const struct nft_set *set;
77 static bool nft_rhash_lookup(const struct net *net, const struct nft_set *set, in nft_rhash_lookup()
95 static void *nft_rhash_get(const struct net *net, const struct nft_set *set, in nft_rhash_get()
113 static bool nft_rhash_update(struct nft_set *set, const u32 *key, in nft_rhash_update()
114 void *(*new)(struct nft_set *, in nft_rhash_update() argument
158 static int nft_rhash_insert(const struct net *net, const struct nft_set *set, in nft_rhash_insert()
182 static void nft_rhash_activate(const struct net *net, const struct nft_set *set, in nft_rhash_activate()
192 const struct nft_set *set, void *priv) in nft_rhash_flush()
205 const struct nft_set *set, in nft_rhash_deactivate()
228 const struct nft_set *set, in nft_rhash_remove()
[all …]
Dnft_set_bitmap.c51 static inline void nft_bitmap_location(const struct nft_set *set, in nft_bitmap_location()
76 static bool nft_bitmap_lookup(const struct net *net, const struct nft_set *set, in nft_bitmap_lookup()
89 nft_bitmap_elem_find(const struct nft_set *set, struct nft_bitmap_elem *this, in nft_bitmap_elem_find()
106 static void *nft_bitmap_get(const struct net *net, const struct nft_set *set, in nft_bitmap_get()
123 static int nft_bitmap_insert(const struct net *net, const struct nft_set *set, in nft_bitmap_insert()
147 const struct nft_set *set, in nft_bitmap_remove()
162 const struct nft_set *set, in nft_bitmap_activate()
177 const struct nft_set *set, void *_be) in nft_bitmap_flush()
193 const struct nft_set *set, in nft_bitmap_deactivate()
215 struct nft_set *set, in nft_bitmap_walk()
[all …]
Dnft_set_rbtree.c41 static bool nft_rbtree_equal(const struct nft_set *set, const void *this, in nft_rbtree_equal()
47 static bool __nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in __nft_rbtree_lookup()
110 static bool nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in nft_rbtree_lookup()
129 static bool __nft_rbtree_get(const struct net *net, const struct nft_set *set, in __nft_rbtree_get()
193 static void *nft_rbtree_get(const struct net *net, const struct nft_set *set, in nft_rbtree_get()
217 static int __nft_rbtree_insert(const struct net *net, const struct nft_set *set, in __nft_rbtree_insert()
366 static int nft_rbtree_insert(const struct net *net, const struct nft_set *set, in nft_rbtree_insert()
384 const struct nft_set *set, in nft_rbtree_remove()
398 const struct nft_set *set, in nft_rbtree_activate()
408 const struct nft_set *set, void *priv) in nft_rbtree_flush()
[all …]
Dnft_lookup.c19 struct nft_set *set;
31 const struct nft_set *set = priv->set; in nft_lookup_eval()
66 struct nft_set *set; in nft_lookup_init()
167 struct nft_set *set, in nft_lookup_validate_setelem()
Dnft_set_pipapo.c411 static bool nft_pipapo_lookup(const struct net *net, const struct nft_set *set, in nft_pipapo_lookup()
515 const struct nft_set *set, in pipapo_get()
601 static void *nft_pipapo_get(const struct net *net, const struct nft_set *set, in nft_pipapo_get()
1153 static int nft_pipapo_insert(const struct net *net, const struct nft_set *set,
1528 static void pipapo_gc(const struct nft_set *set, struct nft_pipapo_match *m)
1625 static void pipapo_commit(const struct nft_set *set)
1663 const struct nft_set *set,
1691 static void *pipapo_deactivate(const struct net *net, const struct nft_set *set,
1714 const struct nft_set *set,
1740 static bool nft_pipapo_flush(const struct net *net, const struct nft_set *set,
[all …]
Dnft_dynset.c16 struct nft_set *set;
27 static void *nft_dynset_new(struct nft_set *set, const struct nft_expr *expr, in nft_dynset_new()
65 struct nft_set *set = priv->set; in nft_dynset_eval()
111 struct nft_set *set; in nft_dynset_init()
Dnft_objref.c97 struct nft_set *set;
107 const struct nft_set *set = priv->set; in nft_objref_map_eval()
128 struct nft_set *set; in nft_objref_map_init()
Dnft_set_pipapo_avx2.h8 bool nft_pipapo_avx2_lookup(const struct net *net, const struct nft_set *set,
Dnf_tables_api.c135 static void nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set) in nft_set_trans_bind()
406 struct nft_set *set) in nft_trans_set_add()
425 static int nft_delset(const struct nft_ctx *ctx, struct nft_set *set) in nft_delset()
1080 struct nft_set *set, *ns; in nft_flush_table()
3604 static struct nft_set *nft_set_lookup(const struct nft_table *table, in nft_set_lookup()
3607 struct nft_set *set; in nft_set_lookup()
3620 static struct nft_set *nft_set_lookup_byhandle(const struct nft_table *table, in nft_set_lookup_byhandle()
3624 struct nft_set *set; in nft_set_lookup_byhandle()
3634 static struct nft_set *nft_set_lookup_byid(const struct net *net, in nft_set_lookup_byid()
3642 struct nft_set *set = nft_trans_set(trans); in nft_set_lookup_byid()
[all …]
Dnft_set_pipapo_avx2.c1122 bool nft_pipapo_avx2_lookup(const struct net *net, const struct nft_set *set, in nft_pipapo_avx2_lookup()
/Linux-v5.10/include/net/netfilter/
Dnf_tables.h250 struct nft_set;
257 struct nft_set *set,
335 const struct nft_set *set,
338 bool (*update)(struct nft_set *set,
340 void *(*new)(struct nft_set *,
346 bool (*delete)(const struct nft_set *set,
350 const struct nft_set *set,
354 const struct nft_set *set,
357 const struct nft_set *set,
360 const struct nft_set *set,
[all …]