Home
last modified time | relevance | path

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

/openbmc/linux/include/net/netfilter/
H A Dnf_tables.h314 struct nft_set;
322 struct nft_set *set,
447 const struct nft_set *set,
472 const struct nft_set *set,
478 struct nft_set *set,
565 struct nft_set { struct
838 const struct nft_set *set,
1627 struct nft_set *set;
1690 struct nft_set *set;
1736 struct nft_set *set;
[all …]
H A Dnf_tables_core.h97 bool nft_rhash_lookup(const struct net *net, const struct nft_set *set,
99 bool nft_rbtree_lookup(const struct net *net, const struct nft_set *set,
101 bool nft_bitmap_lookup(const struct net *net, const struct nft_set *set,
104 const struct nft_set *set,
106 bool nft_hash_lookup(const struct net *net, const struct nft_set *set,
108 bool nft_set_do_lookup(const struct net *net, const struct nft_set *set,
112 nft_set_do_lookup(const struct net *net, const struct nft_set *set, in nft_set_do_lookup()
120 bool nft_pipapo_lookup(const struct net *net, const struct nft_set *set,
123 bool nft_pipapo_avx2_lookup(const struct net *net, const struct nft_set *set,
/openbmc/linux/net/netfilter/
H A Dnft_set_hash.c35 const struct nft_set *set;
117 void *(*new)(struct nft_set *, in nft_rhash_update() argument
206 const struct nft_set *set, in nft_rhash_deactivate()
228 const struct nft_set *set, in nft_rhash_remove()
313 struct nft_set *set; in nft_rhash_gc()
423 const struct nft_set *set;
434 const struct nft_set *set) in nft_rhash_destroy()
522 const struct nft_set *set, in nft_hash_lookup_fast()
601 const struct nft_set *set, in nft_hash_deactivate()
622 const struct nft_set *set, in nft_hash_remove()
[all …]
H A 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()
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()
260 static int nft_bitmap_init(const struct nft_set *set, in nft_bitmap_init()
[all …]
H A Dnft_set_rbtree.c41 static int nft_rbtree_cmp(const struct nft_set *set, in nft_rbtree_cmp()
240 struct nft_set *set = (struct nft_set *)__set; in nft_rbtree_gc_elem()
292 static bool nft_rbtree_update_first(const struct nft_set *set, in nft_rbtree_update_first()
511 const struct nft_set *set, in nft_rbtree_remove()
525 const struct nft_set *set, in nft_rbtree_activate()
534 const struct nft_set *set, void *priv) in nft_rbtree_flush()
544 const struct nft_set *set, in nft_rbtree_deactivate()
585 struct nft_set *set, in nft_rbtree_walk()
620 struct nft_set *set; in nft_rbtree_gc()
702 static int nft_rbtree_init(const struct nft_set *set, in nft_rbtree_init()
[all …]
H A Dnft_set_pipapo.c408 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()
1582 struct nft_set *set = (struct nft_set *) _set;
1696 static void nft_pipapo_commit(const struct nft_set *set)
1732 static void nft_pipapo_abort(const struct nft_set *set)
1764 const struct nft_set *set,
1808 const struct nft_set *set,
2136 static int nft_pipapo_init(const struct nft_set *set,
2209 const struct nft_set *set,
2236 const struct nft_set *set)
[all …]
H A Dnft_lookup.c19 struct nft_set *set;
28 bool nft_set_do_lookup(const struct net *net, const struct nft_set *set, in nft_set_do_lookup()
63 const struct nft_set *set = priv->set; in nft_lookup_eval()
103 struct nft_set *set; in nft_lookup_init()
H A 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()
H A Dnft_objref.c100 struct nft_set *set;
110 const struct nft_set *set = priv->set; in nft_objref_map_eval()
134 struct nft_set *set; in nft_objref_map_init()
H A Dnf_tables_api.c4344 struct nft_set *set; in nft_set_lookup()
4361 struct nft_set *set; in nft_set_lookup_byhandle()
4398 struct nft_set *set; in nft_set_lookup_global()
4966 struct nft_set *set; in nf_tables_newset()
5298 struct nft_set *set; in nf_tables_delset()
5821 struct nft_set *set; in nf_tables_dump_set()
6127 struct nft_set *set; in nf_tables_getsetelem()
7029 struct nft_set *set; in nf_tables_newsetelem()
7324 struct nft_set *set; in nf_tables_delsetelem()
9795 struct nft_set *set; in nft_trans_gc_queue_async()
[all …]
H A Dnft_set_pipapo_avx2.c1129 bool nft_pipapo_avx2_lookup(const struct net *net, const struct nft_set *set, in nft_pipapo_avx2_lookup()