Home
last modified time | relevance | path

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

/Linux-v5.15/include/net/netfilter/
Dnf_tables.h260 struct nft_set;
267 struct nft_set *set,
370 const struct nft_set *set,
373 bool (*update)(struct nft_set *set,
375 void *(*new)(struct nft_set *,
381 bool (*delete)(const struct nft_set *set,
385 const struct nft_set *set,
389 const struct nft_set *set,
392 const struct nft_set *set,
395 const struct nft_set *set,
[all …]
Dnf_tables_core.h94 bool nft_rhash_lookup(const struct net *net, const struct nft_set *set,
96 bool nft_rbtree_lookup(const struct net *net, const struct nft_set *set,
98 bool nft_bitmap_lookup(const struct net *net, const struct nft_set *set,
101 const struct nft_set *set,
103 bool nft_hash_lookup(const struct net *net, const struct nft_set *set,
105 bool nft_set_do_lookup(const struct net *net, const struct nft_set *set,
109 nft_set_do_lookup(const struct net *net, const struct nft_set *set, in nft_set_do_lookup()
117 bool nft_pipapo_lookup(const struct net *net, const struct nft_set *set,
120 bool nft_pipapo_avx2_lookup(const struct net *net, const struct nft_set *set,
/Linux-v5.15/net/netfilter/
Dnft_set_hash.c35 const struct nft_set *set;
78 bool nft_rhash_lookup(const struct net *net, const struct nft_set *set, in nft_rhash_lookup()
96 static void *nft_rhash_get(const struct net *net, const struct nft_set *set, in nft_rhash_get()
114 static bool nft_rhash_update(struct nft_set *set, const u32 *key, in nft_rhash_update()
115 void *(*new)(struct nft_set *, in nft_rhash_update() argument
159 static int nft_rhash_insert(const struct net *net, const struct nft_set *set, in nft_rhash_insert()
183 static void nft_rhash_activate(const struct net *net, const struct nft_set *set, in nft_rhash_activate()
193 const struct nft_set *set, void *priv) in nft_rhash_flush()
206 const struct nft_set *set, in nft_rhash_deactivate()
229 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()
77 bool nft_bitmap_lookup(const struct net *net, const struct nft_set *set, in nft_bitmap_lookup()
90 nft_bitmap_elem_find(const struct nft_set *set, struct nft_bitmap_elem *this, in nft_bitmap_elem_find()
107 static void *nft_bitmap_get(const struct net *net, const struct nft_set *set, in nft_bitmap_get()
124 static int nft_bitmap_insert(const struct net *net, const struct nft_set *set, in nft_bitmap_insert()
148 const struct nft_set *set, in nft_bitmap_remove()
163 const struct nft_set *set, in nft_bitmap_activate()
178 const struct nft_set *set, void *_be) in nft_bitmap_flush()
194 const struct nft_set *set, in nft_bitmap_deactivate()
216 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()
111 bool nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in nft_rbtree_lookup()
130 static bool __nft_rbtree_get(const struct net *net, const struct nft_set *set, in __nft_rbtree_get()
194 static void *nft_rbtree_get(const struct net *net, const struct nft_set *set, in nft_rbtree_get()
218 static int __nft_rbtree_insert(const struct net *net, const struct nft_set *set, in __nft_rbtree_insert()
367 static int nft_rbtree_insert(const struct net *net, const struct nft_set *set, in nft_rbtree_insert()
385 const struct nft_set *set, in nft_rbtree_remove()
399 const struct nft_set *set, in nft_rbtree_activate()
409 const struct nft_set *set, void *priv) in nft_rbtree_flush()
[all …]
Dnft_lookup.c19 struct nft_set *set;
27 bool nft_set_do_lookup(const struct net *net, const struct nft_set *set, in nft_set_do_lookup()
62 const struct nft_set *set = priv->set; in nft_lookup_eval()
101 struct nft_set *set; in nft_lookup_init()
202 struct nft_set *set, in nft_lookup_validate_setelem()
Dnft_set_pipapo.c411 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)
1629 static void pipapo_commit(const struct nft_set *set)
1667 const struct nft_set *set,
1695 static void *pipapo_deactivate(const struct net *net, const struct nft_set *set,
1718 const struct nft_set *set,
1744 static bool nft_pipapo_flush(const struct net *net, const struct nft_set *set,
[all …]
Dnft_dynset.c16 struct nft_set *set;
47 static void *nft_dynset_new(struct nft_set *set, const struct nft_expr *expr, in nft_dynset_new()
84 struct nft_set *set = priv->set; in nft_dynset_eval()
125 nft_dynset_expr_alloc(const struct nft_ctx *ctx, const struct nft_set *set, in nft_dynset_expr_alloc()
167 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()
131 struct nft_set *set; in nft_objref_map_init()
Dnf_tables_api.c174 static void nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set) in nft_set_trans_bind()
454 struct nft_set *set) in nft_trans_set_add()
473 static int nft_delset(const struct nft_ctx *ctx, struct nft_set *set) in nft_delset()
1170 struct nft_set *set, *ns; in nft_flush_table()
3698 static struct nft_set *nft_set_lookup(const struct nft_table *table, in nft_set_lookup()
3701 struct nft_set *set; in nft_set_lookup()
3714 static struct nft_set *nft_set_lookup_byhandle(const struct nft_table *table, in nft_set_lookup_byhandle()
3718 struct nft_set *set; in nft_set_lookup_byhandle()
3728 static struct nft_set *nft_set_lookup_byid(const struct net *net, in nft_set_lookup_byid()
3737 struct nft_set *set = nft_trans_set(trans); in nft_set_lookup_byid()
[all …]
Dnft_set_pipapo_avx2.c1121 bool nft_pipapo_avx2_lookup(const struct net *net, const struct nft_set *set, in nft_pipapo_avx2_lookup()