/linux/include/net/netfilter/ |
H A D | nf_tables.h | 327 struct nft_set; 335 struct nft_set *set, 463 const struct nft_set *set, 465 const struct nft_set_ext * (*update)(struct nft_set *set, 469 bool (*delete)(const struct nft_set *set, 473 const struct nft_set *set, 477 const struct nft_set *set, 480 const struct nft_set *set, 483 const struct nft_set *set, 486 const struct nft_set *set, [all …]
|
H A D | nf_tables_core.h | 98 nft_rhash_lookup(const struct net *net, const struct nft_set *set, 101 nft_rbtree_lookup(const struct net *net, const struct nft_set *set, 104 nft_bitmap_lookup(const struct net *net, const struct nft_set *set, 107 nft_hash_lookup_fast(const struct net *net, const struct nft_set *set, 110 nft_hash_lookup(const struct net *net, const struct nft_set *set, 115 nft_set_do_lookup(const struct net *net, const struct nft_set *set, 120 nft_pipapo_lookup(const struct net *net, const struct nft_set *set, 124 nft_pipapo_avx2_lookup(const struct net *net, const struct nft_set *set, 185 struct nft_elem_priv *nft_dynset_new(struct nft_set *set,
|
/linux/net/netfilter/ |
H A D | nft_set_hash.c | 38 const struct nft_set *set; 85 nft_rhash_lookup(const struct net *net, const struct nft_set *set, in nft_rhash_lookup() 105 nft_rhash_get(const struct net *net, const struct nft_set *set, in nft_rhash_get() 125 nft_rhash_update(struct nft_set *set, const u32 *key, in nft_rhash_update() 169 static int nft_rhash_insert(const struct net *net, const struct nft_set *set, in nft_rhash_insert() 194 static void nft_rhash_activate(const struct net *net, const struct nft_set *set, in nft_rhash_activate() 203 const struct nft_set *set, in nft_rhash_flush() 212 nft_rhash_deactivate(const struct net *net, const struct nft_set *set, in nft_rhash_deactivate() 235 const struct nft_set *set, in nft_rhash_remove() 244 static bool nft_rhash_delete(const struct nft_set *set, in nft_rhash_delete() [all …]
|
H A D | nft_set_rbtree.c | 42 static int nft_rbtree_cmp(const struct nft_set *set, in nft_rbtree_cmp() 56 __nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in __nft_rbtree_lookup() 115 nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in nft_rbtree_lookup() 134 static bool __nft_rbtree_get(const struct net *net, const struct nft_set *set, in __nft_rbtree_get() 199 nft_rbtree_get(const struct net *net, const struct nft_set *set, in nft_rbtree_get() 224 static void nft_rbtree_gc_elem_remove(struct net *net, struct nft_set *set, in nft_rbtree_gc_elem_remove() 234 nft_rbtree_gc_elem(const struct nft_set *__set, struct nft_rbtree *priv, in nft_rbtree_gc_elem() 237 struct nft_set *set = (struct nft_set *)__set; in nft_rbtree_gc_elem() 289 static bool nft_rbtree_update_first(const struct nft_set *set, in nft_rbtree_update_first() 305 static int __nft_rbtree_insert(const struct net *net, const struct nft_set *set, in __nft_rbtree_insert() [all …]
|
H A D | nft_set_bitmap.c | 52 static inline void nft_bitmap_location(const struct nft_set *set, in nft_bitmap_location() 79 nft_bitmap_lookup(const struct net *net, const struct nft_set *set, in nft_bitmap_lookup() 97 const struct nft_set *set, struct nft_bitmap_elem *this, in nft_bitmap_elem_find() 116 nft_bitmap_get(const struct net *net, const struct nft_set *set, in nft_bitmap_get() 133 static int nft_bitmap_insert(const struct net *net, const struct nft_set *set, in nft_bitmap_insert() 156 static void nft_bitmap_remove(const struct net *net, const struct nft_set *set, in nft_bitmap_remove() 171 const struct nft_set *set, in nft_bitmap_activate() 186 const struct nft_set *set, in nft_bitmap_flush() 201 nft_bitmap_deactivate(const struct net *net, const struct nft_set *set, in nft_bitmap_deactivate() 223 struct nft_set *set, in nft_bitmap_walk() [all …]
|
H A D | nft_set_pipapo.c | 534 nft_pipapo_lookup(const struct net *net, const struct nft_set *set, in nft_pipapo_lookup() 560 nft_pipapo_get(const struct net *net, const struct nft_set *set, in nft_pipapo_get() 1229 static bool nft_pipapo_transaction_mutex_held(const struct nft_set *set) 1248 static struct nft_pipapo_match *pipapo_maybe_clone(const struct nft_set *set) 1272 static int nft_pipapo_insert(const struct net *net, const struct nft_set *set, 1662 static void nft_pipapo_gc_deactivate(struct net *net, struct nft_set *set, 1674 static void pipapo_gc(struct nft_set *set, struct nft_pipapo_match *m) 1788 static void nft_pipapo_commit(struct nft_set *set) 1807 static void nft_pipapo_abort(const struct nft_set *set) 1829 const struct nft_set *set, [all …]
|
H A D | nft_lookup.c | 19 struct nft_set *set; 28 __nft_set_do_lookup(const struct net *net, const struct nft_set *set, in __nft_set_do_lookup() 70 nft_set_do_lookup(const struct net *net, const struct nft_set *set, in nft_set_do_lookup() 100 const struct nft_set *set = priv->set; in nft_lookup_eval() 140 struct nft_set *set; in nft_lookup_init()
|
H A D | nf_tables_api.c | 209 static void __nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set, in __nft_set_trans_bind() 234 static void nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set) in nft_set_trans_bind() 239 static void nft_set_trans_unbind(const struct nft_ctx *ctx, struct nft_set *set) in nft_set_trans_unbind() 743 struct nft_set *set, in __nft_trans_set_add() 775 struct nft_set *set) in nft_trans_set_add() 781 struct nft_set *set, in nft_mapelem_deactivate() 803 struct nft_set *set) in nft_map_catchall_deactivate() 820 static void nft_map_deactivate(const struct nft_ctx *ctx, struct nft_set *set) in nft_map_deactivate() 834 static int nft_delset(const struct nft_ctx *ctx, struct nft_set *set) in nft_delset() 1666 struct nft_set *set, *ns; in nft_flush_table() [all …]
|
H A D | nft_dynset.c | 16 struct nft_set *set; 47 struct nft_elem_priv *nft_dynset_new(struct nft_set *set, in nft_dynset_new() 85 struct nft_set *set = priv->set; in nft_dynset_eval() 127 nft_dynset_expr_alloc(const struct nft_ctx *ctx, const struct nft_set *set, in nft_dynset_expr_alloc() 169 struct nft_set *set; in nft_dynset_init()
|
H A D | nft_objref.c | 100 struct nft_set *set; 110 const struct nft_set *set = priv->set; in nft_objref_map_eval() 133 struct nft_set *set; in nft_objref_map_init()
|
H A D | nft_set_pipapo_avx2.c | 1149 nft_pipapo_avx2_lookup(const struct net *net, const struct nft_set *set, in nft_pipapo_avx2_lookup()
|