/Linux-v6.1/net/netfilter/ |
D | nft_set_hash.c | 35 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 …]
|
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 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() 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_insert(const struct net *net, const struct nft_set *set, in __nft_rbtree_insert() 371 static int nft_rbtree_insert(const struct net *net, const struct nft_set *set, in nft_rbtree_insert() 389 const struct nft_set *set, in nft_rbtree_remove() 403 const struct nft_set *set, in nft_rbtree_activate() 413 const struct nft_set *set, void *priv) in nft_rbtree_flush() [all …]
|
D | nft_lookup.c | 19 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()
|
D | nft_set_pipapo.c | 411 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 …]
|
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 | nft_objref.c | 98 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()
|
D | nf_tables_api.c | 174 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() 488 static int nft_delset(const struct nft_ctx *ctx, struct nft_set *set) in nft_delset() 1265 struct nft_set *set, *ns; in nft_flush_table() 3826 static struct nft_set *nft_set_lookup(const struct nft_table *table, in nft_set_lookup() 3829 struct nft_set *set; in nft_set_lookup() 3842 static struct nft_set *nft_set_lookup_byhandle(const struct nft_table *table, in nft_set_lookup_byhandle() 3846 struct nft_set *set; in nft_set_lookup_byhandle() 3856 static struct nft_set *nft_set_lookup_byid(const struct net *net, in nft_set_lookup_byid() 3866 struct nft_set *set = nft_trans_set(trans); in nft_set_lookup_byid() [all …]
|
D | nft_set_pipapo_avx2.c | 1119 bool nft_pipapo_avx2_lookup(const struct net *net, const struct nft_set *set, in nft_pipapo_avx2_lookup()
|
/Linux-v6.1/include/net/netfilter/ |
D | nf_tables_core.h | 95 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,
|
D | nf_tables.h | 299 struct nft_set; 306 struct nft_set *set, 411 const struct nft_set *set, 414 bool (*update)(struct nft_set *set, 416 void *(*new)(struct nft_set *, 422 bool (*delete)(const struct nft_set *set, 426 const struct nft_set *set, 430 const struct nft_set *set, 433 const struct nft_set *set, 436 const struct nft_set *set, [all …]
|