/openbmc/linux/net/netfilter/ |
H A D | nft_set_hash.c | 37 const struct nft_set *set; 83 bool nft_rhash_lookup(const struct net *net, const struct nft_set *set, in nft_rhash_lookup() 102 static void *nft_rhash_get(const struct net *net, const struct nft_set *set, in nft_rhash_get() 121 static bool nft_rhash_update(struct nft_set *set, const u32 *key, in nft_rhash_update() 122 void *(*new)(struct nft_set *, 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, void *priv) in nft_rhash_flush() 213 const struct nft_set *set, in nft_rhash_deactivate() 236 const struct nft_set *se in nft_rhash_remove() 119 nft_rhash_update(struct nft_set * set,const u32 * key,void * (* new)(struct nft_set *,const struct nft_expr *,struct nft_regs * regs),const struct nft_expr * expr,struct nft_regs * regs,const struct nft_set_ext ** ext) nft_rhash_update() argument [all...] |
H A 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 …]
|
H A D | nft_set_rbtree.c | 41 static int nft_rbtree_cmp(const struct nft_set *set, in nft_rbtree_cmp() 54 static bool __nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in __nft_rbtree_lookup() 116 bool nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in nft_rbtree_lookup() 135 static bool __nft_rbtree_get(const struct net *net, const struct nft_set *set, in __nft_rbtree_get() 199 static void *nft_rbtree_get(const struct net *net, const struct nft_set *set, in nft_rbtree_get() 223 static void nft_rbtree_gc_elem_remove(struct net *net, struct nft_set *set, in nft_rbtree_gc_elem_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 *se [all...] |
H A D | nft_set_pipapo.c | 408 bool nft_pipapo_lookup(const struct net *net, const struct nft_set *set, in nft_pipapo_lookup() 516 const struct nft_set *set, in pipapo_get() 606 static void *nft_pipapo_get(const struct net *net, const struct nft_set *set, in nft_pipapo_get() 1193 static int nft_pipapo_insert(const struct net *net, const struct nft_set *set, 1567 static void nft_pipapo_gc_deactivate(struct net *net, struct nft_set *set, 1583 static void pipapo_gc(struct nft_set *set, struct nft_pipapo_match *m) 1699 static void nft_pipapo_commit(struct nft_set *set) 1724 static bool nft_pipapo_transaction_mutex_held(const struct nft_set *set) 1735 static void nft_pipapo_abort(const struct nft_set *set) 1767 const struct nft_set *se [all...] |
H A 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()
|
H A 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()
|
H A 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() 615 struct nft_set *set) in nft_map_catchall_deactivate() 634 static void nft_map_deactivate(const struct nft_ctx *ctx, struct nft_set *set) in nft_map_deactivate() 648 static int nft_delset(const struct nft_ctx *ctx, struct nft_set *set) in nft_delset() 1464 struct nft_set *se in nft_flush_table() [all...] |
H A 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()
|
H A D | nft_set_pipapo_avx2.c | 1129 bool nft_pipapo_avx2_lookup(const struct net *net, const struct nft_set *set, in nft_pipapo_avx2_lookup()
|
/openbmc/linux/include/net/netfilter/ |
H A D | nf_tables.h | 314 struct nft_set; 322 struct nft_set *set, 450 const struct nft_set *set, 453 bool (*update)(struct nft_set *set, 455 void *(*new)(struct nft_set *, 461 bool (*delete)(const struct nft_set *set, 465 const struct nft_set *set, 469 const struct nft_set *set, 472 const struct nft_set *set, 475 const struct nft_set *se 571 struct nft_set { global() struct 595 ____cacheline_alignednft_set global() argument 608 datanft_set nft_set_is_anonymous() argument [all...] |
H A 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,
|