/linux-6.6.21/net/netfilter/ |
D | nft_set_hash.c | 35 const struct nft_set *set; 80 bool nft_rhash_lookup(const struct net *net, const struct nft_set *set, in nft_rhash_lookup() 98 static void *nft_rhash_get(const struct net *net, const struct nft_set *set, in nft_rhash_get() 116 static bool nft_rhash_update(struct nft_set *set, const u32 *key, in nft_rhash_update() 117 void *(*new)(struct nft_set *, in nft_rhash_update() argument 163 static int nft_rhash_insert(const struct net *net, const struct nft_set *set, in nft_rhash_insert() 187 static void nft_rhash_activate(const struct net *net, const struct nft_set *set, in nft_rhash_activate() 196 const struct nft_set *set, void *priv) in nft_rhash_flush() 206 const struct nft_set *set, in nft_rhash_deactivate() 228 const struct nft_set *set, in nft_rhash_remove() [all …]
|
D | nft_set_bitmap.c | 51 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 …]
|
D | nft_set_rbtree.c | 41 static int nft_rbtree_cmp(const struct nft_set *set, in nft_rbtree_cmp() 55 static bool __nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in __nft_rbtree_lookup() 117 bool nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in nft_rbtree_lookup() 136 static bool __nft_rbtree_get(const struct net *net, const struct nft_set *set, in __nft_rbtree_get() 200 static void *nft_rbtree_get(const struct net *net, const struct nft_set *set, in nft_rbtree_get() 224 static void nft_rbtree_gc_remove(struct net *net, struct nft_set *set, in nft_rbtree_gc_remove() 237 nft_rbtree_gc_elem(const struct nft_set *__set, struct nft_rbtree *priv, in nft_rbtree_gc_elem() 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() 308 static int __nft_rbtree_insert(const struct net *net, const struct nft_set *set, in __nft_rbtree_insert() [all …]
|
D | nft_set_pipapo.c | 408 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() 602 static void *nft_pipapo_get(const struct net *net, const struct nft_set *set, in nft_pipapo_get() 1189 static int nft_pipapo_insert(const struct net *net, const struct nft_set *set, 1562 static void nft_pipapo_gc_deactivate(struct net *net, struct nft_set *set, 1578 static void pipapo_gc(const struct nft_set *_set, struct nft_pipapo_match *m) 1580 struct nft_set *set = (struct nft_set *) _set; 1694 static void nft_pipapo_commit(const struct nft_set *set) 1719 static bool nft_pipapo_transaction_mutex_held(const struct nft_set *set) 1730 static void nft_pipapo_abort(const struct nft_set *set) [all …]
|
D | nft_lookup.c | 19 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()
|
D | nft_dynset.c | 16 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()
|
D | nf_tables_api.c | 186 static void __nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set, in __nft_set_trans_bind() 211 static void nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set) in nft_set_trans_bind() 216 static void nft_set_trans_unbind(const struct nft_ctx *ctx, struct nft_set *set) in nft_set_trans_unbind() 560 struct nft_set *set, in __nft_trans_set_add() 587 struct nft_set *set) in nft_trans_set_add() 593 struct nft_set *set, in nft_mapelem_deactivate() 609 struct nft_set *set) in nft_map_catchall_deactivate() 627 static void nft_map_deactivate(const struct nft_ctx *ctx, struct nft_set *set) in nft_map_deactivate() 640 static int nft_delset(const struct nft_ctx *ctx, struct nft_set *set) in nft_delset() 1436 struct nft_set *set, *ns; in nft_flush_table() [all …]
|
D | nft_objref.c | 100 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()
|
D | nft_set_pipapo_avx2.c | 1116 bool nft_pipapo_avx2_lookup(const struct net *net, const struct nft_set *set, in nft_pipapo_avx2_lookup()
|
/linux-6.6.21/include/net/netfilter/ |
D | nf_tables.h | 300 struct nft_set; 307 struct nft_set *set, 428 const struct nft_set *set, 431 bool (*update)(struct nft_set *set, 433 void *(*new)(struct nft_set *, 439 bool (*delete)(const struct nft_set *set, 443 const struct nft_set *set, 447 const struct nft_set *set, 450 const struct nft_set *set, 453 const struct nft_set *set, [all …]
|
D | nf_tables_core.h | 97 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,
|