Searched refs:nft_set (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/include/net/netfilter/ |
D | nf_tables.h | 230 struct nft_set; 237 struct nft_set *set, 303 const struct nft_set *set, 306 bool (*update)(struct nft_set *set, 308 void *(*new)(struct nft_set *, 316 const struct nft_set *set, 320 const struct nft_set *set, 323 const struct nft_set *set, 326 const struct nft_set *set, 329 const struct nft_set *set, [all …]
|
/Linux-v4.19/net/netfilter/ |
D | nft_set_hash.c | 38 const struct nft_set *set; 80 static 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 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 | 54 static inline void nft_bitmap_location(const struct nft_set *set, in nft_bitmap_location() 79 static bool nft_bitmap_lookup(const struct net *net, const struct nft_set *set, in nft_bitmap_lookup() 92 nft_bitmap_elem_find(const struct nft_set *set, struct nft_bitmap_elem *this, in nft_bitmap_elem_find() 109 static void *nft_bitmap_get(const struct net *net, const struct nft_set *set, in nft_bitmap_get() 126 static int nft_bitmap_insert(const struct net *net, const struct nft_set *set, in nft_bitmap_insert() 150 const struct nft_set *set, in nft_bitmap_remove() 165 const struct nft_set *set, in nft_bitmap_activate() 180 const struct nft_set *set, void *_be) in nft_bitmap_flush() 196 const struct nft_set *set, in nft_bitmap_deactivate() 218 struct nft_set *set, in nft_bitmap_walk() [all …]
|
D | nft_set_rbtree.c | 39 static bool nft_rbtree_equal(const struct nft_set *set, const void *this, in nft_rbtree_equal() 45 static bool __nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in __nft_rbtree_lookup() 98 static bool nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in nft_rbtree_lookup() 117 static bool __nft_rbtree_get(const struct net *net, const struct nft_set *set, in __nft_rbtree_get() 165 static void *nft_rbtree_get(const struct net *net, const struct nft_set *set, in nft_rbtree_get() 189 static int __nft_rbtree_insert(const struct net *net, const struct nft_set *set, in __nft_rbtree_insert() 231 static int nft_rbtree_insert(const struct net *net, const struct nft_set *set, in nft_rbtree_insert() 249 const struct nft_set *set, in nft_rbtree_remove() 263 const struct nft_set *set, in nft_rbtree_activate() 273 const struct nft_set *set, void *priv) in nft_rbtree_flush() [all …]
|
D | nft_lookup.c | 22 struct nft_set *set; 34 const struct nft_set *set = priv->set; in nft_lookup_eval() 66 struct nft_set *set; in nft_lookup_init() 153 struct nft_set *set, in nft_lookup_validate_setelem()
|
D | nft_objref.c | 86 struct nft_set *set; 96 const struct nft_set *set = priv->set; in nft_objref_map_eval() 117 struct nft_set *set; in nft_objref_map_init()
|
D | nft_dynset.c | 20 struct nft_set *set; 31 static void *nft_dynset_new(struct nft_set *set, const struct nft_expr *expr, in nft_dynset_new() 70 struct nft_set *set = priv->set; in nft_dynset_eval() 117 struct nft_set *set; in nft_dynset_init()
|
D | nft_numgen.c | 27 struct nft_set *map; 56 const struct nft_set *map = priv->map; in nft_ng_inc_map_eval() 166 struct nft_set *map; 191 const struct nft_set *map = priv->map; in nft_ng_random_map_eval()
|
D | nft_hash.c | 28 struct nft_set *map; 51 const struct nft_set *map = priv->map; in nft_jhash_map_eval() 71 struct nft_set *map; 93 const struct nft_set *map = priv->map; in nft_symhash_map_eval()
|
D | nf_tables_api.c | 302 struct nft_set *set) in nft_trans_set_add() 321 static int nft_delset(struct nft_ctx *ctx, struct nft_set *set) in nft_delset() 882 struct nft_set *set, *ns; in nft_flush_table() 2944 static struct nft_set *nft_set_lookup(const struct nft_table *table, in nft_set_lookup() 2947 struct nft_set *set; in nft_set_lookup() 2960 static struct nft_set *nft_set_lookup_byhandle(const struct nft_table *table, in nft_set_lookup_byhandle() 2964 struct nft_set *set; in nft_set_lookup_byhandle() 2974 static struct nft_set *nft_set_lookup_byid(const struct net *net, in nft_set_lookup_byid() 2982 struct nft_set *set = nft_trans_set(trans); in nft_set_lookup_byid() 2992 struct nft_set *nft_set_lookup_global(const struct net *net, in nft_set_lookup_global() [all …]
|