Searched refs:nft_set (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/include/net/netfilter/ |
D | nf_tables.h | 169 struct nft_set; 175 const struct nft_set *set, 239 bool (*lookup)(const struct nft_set *set, 242 bool (*update)(struct nft_set *set, 244 void *(*new)(struct nft_set *, 251 int (*insert)(const struct nft_set *set, 253 void (*activate)(const struct nft_set *set, 255 void * (*deactivate)(const struct nft_set *set, 257 void (*remove)(const struct nft_set *set, 260 const struct nft_set *set, [all …]
|
/linux-4.1.27/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() 64 struct nft_set *set = priv->set; in nft_dynset_eval() 105 struct nft_set *set; in nft_dynset_init()
|
D | nf_tables_api.c | 290 struct nft_set *set) in nft_trans_set_add() 309 static int nft_delset(struct nft_ctx *ctx, struct nft_set *set) in nft_delset() 713 struct nft_set *set, *ns; in nft_flush_table() 2304 struct nft_set *nf_tables_set_lookup(const struct nft_table *table, in nf_tables_set_lookup() 2307 struct nft_set *set; in nf_tables_set_lookup() 2319 struct nft_set *nf_tables_set_lookup_byid(const struct net *net, in nf_tables_set_lookup_byid() 2333 static int nf_tables_set_alloc_name(struct nft_ctx *ctx, struct nft_set *set, in nf_tables_set_alloc_name() 2336 const struct nft_set *i; in nf_tables_set_alloc_name() 2379 const struct nft_set *set, u16 event, u16 flags) in nf_tables_fill_set() 2446 const struct nft_set *set, in nf_tables_set_notify() [all …]
|