Searched refs:nft_set (Results 1 – 6 of 6) sorted by relevance
/linux-4.4.14/include/net/netfilter/ |
D | nf_tables.h | 170 struct nft_set; 176 const struct nft_set *set, 240 bool (*lookup)(const struct nft_set *set, 243 bool (*update)(struct nft_set *set, 245 void *(*new)(struct nft_set *, 252 int (*insert)(const struct nft_set *set, 254 void (*activate)(const struct nft_set *set, 256 void * (*deactivate)(const struct nft_set *set, 258 void (*remove)(const struct nft_set *set, 261 const struct nft_set *set, [all …]
|
/linux-4.4.14/net/netfilter/ |
D | nft_hash.c | 38 const struct nft_set *set; 74 static bool nft_hash_lookup(const struct nft_set *set, const u32 *key, in nft_hash_lookup() 92 static bool nft_hash_update(struct nft_set *set, const u32 *key, in nft_hash_update() 93 void *(*new)(struct nft_set *, in nft_hash_update() argument 128 static int nft_hash_insert(const struct nft_set *set, in nft_hash_insert() 143 static void nft_hash_activate(const struct nft_set *set, in nft_hash_activate() 152 static void *nft_hash_deactivate(const struct nft_set *set, in nft_hash_deactivate() 176 static void nft_hash_remove(const struct nft_set *set, in nft_hash_remove() 185 static void nft_hash_walk(const struct nft_ctx *ctx, const struct nft_set *set, in nft_hash_walk() 241 struct nft_set *set; in nft_hash_gc() [all …]
|
D | nft_rbtree.c | 33 static bool nft_rbtree_lookup(const struct nft_set *set, const u32 *key, in nft_rbtree_lookup() 79 static int __nft_rbtree_insert(const struct nft_set *set, in __nft_rbtree_insert() 111 static int nft_rbtree_insert(const struct nft_set *set, in nft_rbtree_insert() 124 static void nft_rbtree_remove(const struct nft_set *set, in nft_rbtree_remove() 135 static void nft_rbtree_activate(const struct nft_set *set, in nft_rbtree_activate() 143 static void *nft_rbtree_deactivate(const struct nft_set *set, in nft_rbtree_deactivate() 174 const struct nft_set *set, in nft_rbtree_walk() 210 static int nft_rbtree_init(const struct nft_set *set, in nft_rbtree_init() 220 static void nft_rbtree_destroy(const struct nft_set *set) in nft_rbtree_destroy()
|
D | nft_lookup.c | 22 struct nft_set *set; 33 const struct nft_set *set = priv->set; in nft_lookup_eval() 57 struct nft_set *set; in nft_lookup_init()
|
D | nft_dynset.c | 20 struct nft_set *set; 30 static void *nft_dynset_new(struct nft_set *set, const struct nft_expr *expr, in nft_dynset_new() 65 struct nft_set *set = priv->set; in nft_dynset_eval() 106 struct nft_set *set; in nft_dynset_init()
|
D | nf_tables_api.c | 328 struct nft_set *set) in nft_trans_set_add() 347 static int nft_delset(struct nft_ctx *ctx, struct nft_set *set) in nft_delset() 752 struct nft_set *set, *ns; in nft_flush_table() 2372 struct nft_set *nf_tables_set_lookup(const struct nft_table *table, in nf_tables_set_lookup() 2375 struct nft_set *set; in nf_tables_set_lookup() 2387 struct nft_set *nf_tables_set_lookup_byid(const struct net *net, in nf_tables_set_lookup_byid() 2401 static int nf_tables_set_alloc_name(struct nft_ctx *ctx, struct nft_set *set, in nf_tables_set_alloc_name() 2404 const struct nft_set *i; in nf_tables_set_alloc_name() 2447 const struct nft_set *set, u16 event, u16 flags) in nf_tables_fill_set() 2514 const struct nft_set *set, in nf_tables_set_notify() [all …]
|