Home
last modified time | relevance | path

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

/linux-6.1.9/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
161 static int nft_rhash_insert(const struct net *net, const struct nft_set *set, in nft_rhash_insert()
185 static void nft_rhash_activate(const struct net *net, const struct nft_set *set, in nft_rhash_activate()
195 const struct nft_set *set, void *priv) in nft_rhash_flush()
208 const struct nft_set *set, in nft_rhash_deactivate()
231 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 int nft_rbtree_cmp(const struct nft_set *set, in nft_rbtree_cmp()
49 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_gc_elem(const struct nft_set *__set, in nft_rbtree_gc_elem()
222 struct nft_set *set = (struct nft_set *)__set; in nft_rbtree_gc_elem()
250 static bool nft_rbtree_update_first(const struct nft_set *set, in nft_rbtree_update_first()
266 static int __nft_rbtree_insert(const struct net *net, const struct nft_set *set, in __nft_rbtree_insert()
433 static int nft_rbtree_insert(const struct net *net, const struct nft_set *set, in nft_rbtree_insert()
[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,
1537 static void pipapo_gc(const struct nft_set *set, struct nft_pipapo_match *m)
1638 static void pipapo_commit(const struct nft_set *set)
1676 const struct nft_set *set,
1704 static void *pipapo_deactivate(const struct net *net, const struct nft_set *set,
1727 const struct nft_set *set,
1753 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.c98 struct nft_set *set;
108 const struct nft_set *set = priv->set; in nft_objref_map_eval()
132 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()
469 struct nft_set *set, in __nft_trans_set_add()
495 struct nft_set *set) in nft_trans_set_add()
500 static int nft_delset(const struct nft_ctx *ctx, struct nft_set *set) in nft_delset()
1277 struct nft_set *set, *ns; in nft_flush_table()
3837 static struct nft_set *nft_set_lookup(const struct nft_table *table, in nft_set_lookup()
3840 struct nft_set *set; in nft_set_lookup()
3853 static struct nft_set *nft_set_lookup_byhandle(const struct nft_table *table, in nft_set_lookup_byhandle()
3857 struct nft_set *set; in nft_set_lookup_byhandle()
3867 static struct nft_set *nft_set_lookup_byid(const struct net *net, in nft_set_lookup_byid()
[all …]
Dnft_set_pipapo_avx2.c1119 bool nft_pipapo_avx2_lookup(const struct net *net, const struct nft_set *set, in nft_pipapo_avx2_lookup()
/linux-6.1.9/include/net/netfilter/
Dnf_tables_core.h95 bool nft_rhash_lookup(const struct net *net, const struct nft_set *set,
97 bool nft_rbtree_lookup(const struct net *net, const struct nft_set *set,
99 bool nft_bitmap_lookup(const struct net *net, const struct nft_set *set,
102 const struct nft_set *set,
104 bool nft_hash_lookup(const struct net *net, const struct nft_set *set,
106 bool nft_set_do_lookup(const struct net *net, const struct nft_set *set,
110 nft_set_do_lookup(const struct net *net, const struct nft_set *set, in nft_set_do_lookup()
118 bool nft_pipapo_lookup(const struct net *net, const struct nft_set *set,
121 bool nft_pipapo_avx2_lookup(const struct net *net, const struct nft_set *set,
Dnf_tables.h299 struct nft_set;
306 struct nft_set *set,
423 const struct nft_set *set,
426 bool (*update)(struct nft_set *set,
428 void *(*new)(struct nft_set *,
434 bool (*delete)(const struct nft_set *set,
438 const struct nft_set *set,
442 const struct nft_set *set,
445 const struct nft_set *set,
448 const struct nft_set *set,
[all …]