Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/netfilter/
H A 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
160 static int nft_rhash_insert(const struct net *net, const struct nft_set *set, in nft_rhash_insert()
184 static void nft_rhash_activate(const struct net *net, const struct nft_set *set, in nft_rhash_activate()
194 const struct nft_set *set, void *priv) in nft_rhash_flush()
207 const struct nft_set *set, in nft_rhash_deactivate()
230 const struct nft_set *set, in nft_rhash_remove()
[all …]
H A 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 …]
H A 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()
110 static bool nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in nft_rbtree_lookup()
129 static bool __nft_rbtree_get(const struct net *net, const struct nft_set *set, in __nft_rbtree_get()
193 static void *nft_rbtree_get(const struct net *net, const struct nft_set *set, in nft_rbtree_get()
217 static int __nft_rbtree_insert(const struct net *net, const struct nft_set *set, in __nft_rbtree_insert()
370 static int nft_rbtree_insert(const struct net *net, const struct nft_set *set, in nft_rbtree_insert()
388 const struct nft_set *set, in nft_rbtree_remove()
402 const struct nft_set *set, in nft_rbtree_activate()
412 const struct nft_set *set, void *priv) in nft_rbtree_flush()
[all …]
H A Dnft_lookup.c19 struct nft_set *set;
31 const struct nft_set *set = priv->set; in nft_lookup_eval()
66 struct nft_set *set; in nft_lookup_init()
167 struct nft_set *set, in nft_lookup_validate_setelem()
H A 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)
1634 static void pipapo_commit(const struct nft_set *set)
1672 const struct nft_set *set,
1700 static void *pipapo_deactivate(const struct net *net, const struct nft_set *set,
1723 const struct nft_set *set,
1749 static bool nft_pipapo_flush(const struct net *net, const struct nft_set *set,
[all …]
H A Dnft_dynset.c16 struct nft_set *set;
27 static void *nft_dynset_new(struct nft_set *set, const struct nft_expr *expr, in nft_dynset_new()
65 struct nft_set *set = priv->set; in nft_dynset_eval()
111 struct nft_set *set; in nft_dynset_init()
H A 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()
H A Dnf_tables_api.c171 static void nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set) in nft_set_trans_bind()
442 struct nft_set *set) in nft_trans_set_add()
461 static int nft_delset(const struct nft_ctx *ctx, struct nft_set *set) in nft_delset()
1106 struct nft_set *set, *ns; in nft_flush_table()
3610 static struct nft_set *nft_set_lookup(const struct nft_table *table, in nft_set_lookup()
3613 struct nft_set *set; in nft_set_lookup()
3626 static struct nft_set *nft_set_lookup_byhandle(const struct nft_table *table, in nft_set_lookup_byhandle()
3630 struct nft_set *set; in nft_set_lookup_byhandle()
3640 static struct nft_set *nft_set_lookup_byid(const struct net *net, in nft_set_lookup_byid()
3649 struct nft_set *set = nft_trans_set(trans); in nft_set_lookup_byid()
[all …]
H A Dnft_set_pipapo_avx2.h8 bool nft_pipapo_avx2_lookup(const struct net *net, const struct nft_set *set,
H A Dnft_set_pipapo.h181 bool nft_pipapo_lookup(const struct net *net, const struct nft_set *set,
H A Dnft_set_pipapo_avx2.c1122 bool nft_pipapo_avx2_lookup(const struct net *net, const struct nft_set *set, in nft_pipapo_avx2_lookup()
/OK3568_Linux_fs/kernel/include/net/netfilter/
H A Dnf_tables.h255 struct nft_set;
262 struct nft_set *set,
340 const struct nft_set *set,
343 bool (*update)(struct nft_set *set,
345 void *(*new)(struct nft_set *,
351 bool (*delete)(const struct nft_set *set,
355 const struct nft_set *set,
359 const struct nft_set *set,
362 const struct nft_set *set,
365 const struct nft_set *set,
[all …]