Home
last modified time | relevance | path

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

/linux/include/net/netfilter/
H A Dnf_tables.h328 struct nft_set;
336 struct nft_set *set,
465 const struct nft_set *set,
467 const struct nft_set_ext * (*update)(struct nft_set *set,
471 bool (*delete)(const struct nft_set *set,
475 const struct nft_set *set,
479 const struct nft_set *set,
482 const struct nft_set *set,
485 const struct nft_set *set,
488 const struct nft_set *set,
[all …]
H A Dnf_tables_core.h98 nft_rhash_lookup(const struct net *net, const struct nft_set *set,
101 nft_rbtree_lookup(const struct net *net, const struct nft_set *set,
104 nft_bitmap_lookup(const struct net *net, const struct nft_set *set,
107 nft_hash_lookup_fast(const struct net *net, const struct nft_set *set,
110 nft_hash_lookup(const struct net *net, const struct nft_set *set,
115 nft_set_do_lookup(const struct net *net, const struct nft_set *set,
120 nft_pipapo_lookup(const struct net *net, const struct nft_set *set,
124 nft_pipapo_avx2_lookup(const struct net *net, const struct nft_set *set,
185 struct nft_elem_priv *nft_dynset_new(struct nft_set *set,
/linux/net/netfilter/
H A Dnft_set_hash.c39 const struct nft_set *set;
86 nft_rhash_lookup(const struct net *net, const struct nft_set *set, in nft_rhash_lookup()
106 nft_rhash_get(const struct net *net, const struct nft_set *set, in nft_rhash_get()
126 nft_rhash_update(struct nft_set *set, const u32 *key, in nft_rhash_update()
171 static int nft_rhash_insert(const struct net *net, const struct nft_set *set, in nft_rhash_insert()
197 static void nft_rhash_activate(const struct net *net, const struct nft_set *set, in nft_rhash_activate()
206 const struct nft_set *set, in nft_rhash_flush()
215 nft_rhash_deactivate(const struct net *net, const struct nft_set *set, in nft_rhash_deactivate()
238 const struct nft_set *set, in nft_rhash_remove()
247 static bool nft_rhash_delete(const struct nft_set *set, in nft_rhash_delete()
[all …]
H A Dnft_set_bitmap.c52 static inline void nft_bitmap_location(const struct nft_set *set, in nft_bitmap_location()
79 nft_bitmap_lookup(const struct net *net, const struct nft_set *set, in nft_bitmap_lookup()
97 const struct nft_set *set, struct nft_bitmap_elem *this, in nft_bitmap_elem_find()
116 nft_bitmap_get(const struct net *net, const struct nft_set *set, in nft_bitmap_get()
133 static int nft_bitmap_insert(const struct net *net, const struct nft_set *set, in nft_bitmap_insert()
156 static void nft_bitmap_remove(const struct net *net, const struct nft_set *set, in nft_bitmap_remove()
171 const struct nft_set *set, in nft_bitmap_activate()
186 const struct nft_set *set, in nft_bitmap_flush()
201 nft_bitmap_deactivate(const struct net *net, const struct nft_set *set, in nft_bitmap_deactivate()
223 struct nft_set *set, in nft_bitmap_walk()
[all …]
H A Dnft_set_rbtree.c62 static bool nft_rbtree_interval_null(const struct nft_set *set, in nft_rbtree_interval_null()
69 static int nft_rbtree_cmp(const struct nft_set *set, in nft_rbtree_cmp()
108 nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in nft_rbtree_lookup()
166 nft_rbtree_get(const struct net *net, const struct nft_set *set, in nft_rbtree_get()
195 static void nft_rbtree_gc_elem_move(struct net *net, struct nft_set *set, in nft_rbtree_gc_elem_move()
208 nft_rbtree_gc_elem(const struct nft_set *__set, struct nft_rbtree *priv, in nft_rbtree_gc_elem()
211 struct nft_set *set = (struct nft_set *)__set; in nft_rbtree_gc_elem()
240 static bool nft_rbtree_update_first(const struct nft_set *set, in nft_rbtree_update_first()
338 static int __nft_rbtree_insert(const struct net *net, const struct nft_set *set, in __nft_rbtree_insert()
580 static u32 nft_array_elems(const struct nft_set *set) in nft_array_elems()
[all …]
H A Dnft_set_pipapo.c572 nft_pipapo_lookup(const struct net *net, const struct nft_set *set, in nft_pipapo_lookup()
598 nft_pipapo_get(const struct net *net, const struct nft_set *set, in nft_pipapo_get()
1243 static bool nft_pipapo_transaction_mutex_held(const struct nft_set *set)
1262 static struct nft_pipapo_match *pipapo_maybe_clone(const struct nft_set *set)
1286 static int nft_pipapo_insert(const struct net *net, const struct nft_set *set,
1676 static void nft_pipapo_gc_deactivate(struct net *net, struct nft_set *set,
1688 static void pipapo_gc_scan(struct nft_set *set, struct nft_pipapo_match *m)
1757 static void pipapo_gc_queue(struct nft_set *set)
1832 static void nft_pipapo_commit(struct nft_set *set)
1853 static void nft_pipapo_abort(const struct nft_set *set)
[all …]
H A Dnft_lookup.c19 struct nft_set *set;
28 __nft_set_do_lookup(const struct net *net, const struct nft_set *set, in __nft_set_do_lookup()
70 nft_set_do_lookup(const struct net *net, const struct nft_set *set, in nft_set_do_lookup()
100 const struct nft_set *set = priv->set; in nft_lookup_eval()
140 struct nft_set *set; in nft_lookup_init()
H A Dnf_tables_api.c227 static void __nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set, in __nft_set_trans_bind()
252 static void nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set) in nft_set_trans_bind()
257 static void nft_set_trans_unbind(const struct nft_ctx *ctx, struct nft_set *set) in nft_set_trans_unbind()
759 struct nft_set *set, in __nft_trans_set_add()
791 struct nft_set *set) in nft_trans_set_add()
797 struct nft_set *set, in nft_mapelem_deactivate()
819 struct nft_set *set) in nft_map_catchall_deactivate()
840 static void nft_map_deactivate(const struct nft_ctx *ctx, struct nft_set *set) in nft_map_deactivate()
854 static int nft_delset(const struct nft_ctx *ctx, struct nft_set *set) in nft_delset()
1686 struct nft_set *set, *ns; in nft_flush_table()
[all …]
H A Dnft_dynset.c16 struct nft_set *set;
55 struct nft_elem_priv *nft_dynset_new(struct nft_set *set, in nft_dynset_new()
93 struct nft_set *set = priv->set; in nft_dynset_eval()
135 nft_dynset_expr_alloc(const struct nft_ctx *ctx, const struct nft_set *set, in nft_dynset_expr_alloc()
177 struct nft_set *set; in nft_dynset_init()
H A Dnft_objref.c130 struct nft_set *set;
140 const struct nft_set *set = priv->set; in nft_objref_map_eval()
163 struct nft_set *set; in nft_objref_map_init()
H A Dnft_set_pipapo_avx2.c1277 nft_pipapo_avx2_lookup(const struct net *net, const struct nft_set *set, in nft_pipapo_avx2_lookup()