Home
last modified time | relevance | path

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

/Linux-v5.4/include/net/netfilter/
Dnf_tables.h244 struct nft_set;
251 struct nft_set *set,
323 const struct nft_set *set,
326 bool (*update)(struct nft_set *set,
328 void *(*new)(struct nft_set *,
334 bool (*delete)(const struct nft_set *set,
338 const struct nft_set *set,
342 const struct nft_set *set,
345 const struct nft_set *set,
348 const struct nft_set *set,
[all …]
/Linux-v5.4/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.c36 static bool nft_rbtree_equal(const struct nft_set *set, const void *this, in nft_rbtree_equal()
42 static bool __nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in __nft_rbtree_lookup()
95 static bool nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in nft_rbtree_lookup()
114 static bool __nft_rbtree_get(const struct net *net, const struct nft_set *set, in __nft_rbtree_get()
168 static void *nft_rbtree_get(const struct net *net, const struct nft_set *set, in nft_rbtree_get()
192 static int __nft_rbtree_insert(const struct net *net, const struct nft_set *set, in __nft_rbtree_insert()
234 static int nft_rbtree_insert(const struct net *net, const struct nft_set *set, in nft_rbtree_insert()
252 const struct nft_set *set, in nft_rbtree_remove()
266 const struct nft_set *set, in nft_rbtree_activate()
276 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()
63 struct nft_set *set; in nft_lookup_init()
164 struct nft_set *set, in nft_lookup_validate_setelem()
Dnft_dynset.c16 struct nft_set *set;
44 static void *nft_dynset_new(struct nft_set *set, const struct nft_expr *expr, in nft_dynset_new()
82 struct nft_set *set = priv->set; in nft_dynset_eval()
134 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()
Dnf_tables_api.c132 static void nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set) in nft_set_trans_bind()
345 struct nft_set *set) in nft_trans_set_add()
364 static int nft_delset(const struct nft_ctx *ctx, struct nft_set *set) in nft_delset()
953 struct nft_set *set, *ns; in nft_flush_table()
3120 static struct nft_set *nft_set_lookup(const struct nft_table *table, in nft_set_lookup()
3123 struct nft_set *set; in nft_set_lookup()
3136 static struct nft_set *nft_set_lookup_byhandle(const struct nft_table *table, in nft_set_lookup_byhandle()
3140 struct nft_set *set; in nft_set_lookup_byhandle()
3150 static struct nft_set *nft_set_lookup_byid(const struct net *net, in nft_set_lookup_byid()
3158 struct nft_set *set = nft_trans_set(trans); in nft_set_lookup_byid()
[all …]