Home
last modified time | relevance | path

Searched defs:set (Results 1 – 25 of 35) sorted by relevance

12

/net/netfilter/ipset/
Dip_set_list_set.c33 struct ip_set *set; /* Sigh, in order to cleanup reference */ member
52 list_set_ktest(struct ip_set *set, const struct sk_buff *skb, in list_set_ktest()
86 list_set_kadd(struct ip_set *set, const struct sk_buff *skb, in list_set_kadd()
106 list_set_kdel(struct ip_set *set, const struct sk_buff *skb, in list_set_kdel()
126 list_set_kadt(struct ip_set *set, const struct sk_buff *skb, in list_set_kadt()
158 struct ip_set *set = e->set; in __list_set_del_rcu() local
165 list_set_del(struct ip_set *set, struct set_elem *e) in list_set_del()
176 list_set_replace(struct ip_set *set, struct set_elem *e, struct set_elem *old) in list_set_replace()
186 set_cleanup_entries(struct ip_set *set) in set_cleanup_entries()
197 list_set_utest(struct ip_set *set, void *value, const struct ip_set_ext *ext, in list_set_utest()
[all …]
Dip_set_bitmap_gen.h37 #define get_ext(set, map, id) ((map)->extensions + ((set)->dsize * (id))) argument
40 mtype_gc_init(struct ip_set *set, void (*gc)(unsigned long ul_set)) in mtype_gc_init()
49 mtype_ext_cleanup(struct ip_set *set) in mtype_ext_cleanup()
60 mtype_destroy(struct ip_set *set) in mtype_destroy()
76 mtype_flush(struct ip_set *set) in mtype_flush()
96 mtype_head(struct ip_set *set, struct sk_buff *skb) in mtype_head()
120 mtype_test(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_test()
141 mtype_add(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_add()
186 mtype_del(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_del()
214 mtype_list(const struct ip_set *set, in mtype_list()
[all …]
Dip_set_core.c369 ip_set_elem_len(struct ip_set *set, struct nlattr *tb[], size_t len, in ip_set_elem_len()
394 ip_set_get_extensions(struct ip_set *set, struct nlattr *tb[], in ip_set_get_extensions()
451 ip_set_put_extensions(struct sk_buff *skb, const struct ip_set *set, in ip_set_put_extensions()
486 __ip_set_get(struct ip_set *set) in __ip_set_get()
494 __ip_set_put(struct ip_set *set) in __ip_set_put()
506 __ip_set_put_netlink(struct ip_set *set) in __ip_set_put_netlink()
523 struct ip_set *set; in ip_set_rcu_get() local
538 struct ip_set *set = ip_set_rcu_get(xt_net(par), index); in ip_set_test() local
576 struct ip_set *set = ip_set_rcu_get(xt_net(par), index); in ip_set_add() local
598 struct ip_set *set = ip_set_rcu_get(xt_net(par), index); in ip_set_del() local
[all …]
Dip_set_hash_gen.h17 #define ipset_dereference_protected(p, set) \ argument
359 mtype_ext_cleanup(struct ip_set *set, struct hbucket *n) in mtype_ext_cleanup()
370 mtype_flush(struct ip_set *set) in mtype_flush()
397 mtype_ahash_destroy(struct ip_set *set, struct htable *t, bool ext_destroy) in mtype_ahash_destroy()
417 mtype_destroy(struct ip_set *set) in mtype_destroy()
432 mtype_gc_init(struct ip_set *set, void (*gc)(unsigned long ul_set)) in mtype_gc_init()
462 mtype_expire(struct ip_set *set, struct htype *h) in mtype_expire()
531 struct ip_set *set = (struct ip_set *)ul_set; in mtype_gc() local
548 mtype_resize(struct ip_set *set, bool retried) in mtype_resize()
696 mtype_add(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_add()
[all …]
Dip_set_hash_ip.c81 hash_ip4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ip4_kadt()
101 hash_ip4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ip4_uadt()
218 hash_ip6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ip6_kadt()
236 hash_ip6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ip6_uadt()
Dip_set_hash_ipmark.c84 hash_ipmark4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipmark4_kadt()
101 hash_ipmark4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipmark4_uadt()
210 hash_ipmark6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipmark6_kadt()
227 hash_ipmark6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipmark6_uadt()
Dip_set_hash_ipmac.c90 hash_ipmac4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipmac4_kadt()
116 hash_ipmac4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipmac4_uadt()
203 hash_ipmac6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipmac6_kadt()
232 hash_ipmac6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipmac6_uadt()
Dip_set_bitmap_ipmac.c121 const struct ip_set_ext *ext, struct ip_set *set, in bitmap_ipmac_add_timeout()
211 bitmap_ipmac_kadt(struct ip_set *set, const struct sk_buff *skb, in bitmap_ipmac_kadt()
241 bitmap_ipmac_uadt(struct ip_set *set, struct nlattr *tb[], in bitmap_ipmac_uadt()
299 init_map_ipmac(struct ip_set *set, struct bitmap_ipmac *map, in init_map_ipmac()
317 bitmap_ipmac_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in bitmap_ipmac_create()
Dip_set_bitmap_port.c103 bitmap_port_kadt(struct ip_set *set, const struct sk_buff *skb, in bitmap_port_kadt()
129 bitmap_port_uadt(struct ip_set *set, struct nlattr *tb[], in bitmap_port_uadt()
207 init_map_port(struct ip_set *set, struct bitmap_port *map, in init_map_port()
224 bitmap_port_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in bitmap_port_create()
Dip_set_hash_ipport.c91 hash_ipport4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipport4_kadt()
108 hash_ipport4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipport4_uadt()
249 hash_ipport6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipport6_kadt()
266 hash_ipport6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipport6_uadt()
Dip_set_hash_ipportip.c93 hash_ipportip4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipportip4_kadt()
111 hash_ipportip4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportip4_uadt()
259 hash_ipportip6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipportip6_kadt()
277 hash_ipportip6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportip6_uadt()
Dip_set_bitmap_ip.c112 bitmap_ip_kadt(struct ip_set *set, const struct sk_buff *skb, in bitmap_ip_kadt()
132 bitmap_ip_uadt(struct ip_set *set, struct nlattr *tb[], in bitmap_ip_uadt()
221 init_map_ip(struct ip_set *set, struct bitmap_ip *map, in init_map_ip()
242 bitmap_ip_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in bitmap_ip_create()
Dip_set_hash_net.c116 hash_net4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_net4_kadt()
139 hash_net4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_net4_uadt()
284 hash_net6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_net6_kadt()
307 hash_net6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_net6_uadt()
Dip_set_hash_mac.c79 hash_mac4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_mac4_kadt()
102 hash_mac4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_mac4_uadt()
Dip_set_hash_netport.c132 hash_netport4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netport4_kadt()
157 hash_netport4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netport4_uadt()
348 hash_netport6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netport6_kadt()
373 hash_netport6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netport6_uadt()
Dip_set_hash_netnet.c142 hash_netnet4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netnet4_kadt()
165 hash_netnet4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netnet4_uadt()
376 hash_netnet6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netnet6_kadt()
399 hash_netnet6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netnet6_uadt()
/net/netfilter/
Dnft_set_hash.c38 const struct nft_set *set; member
80 static bool nft_rhash_lookup(const struct net *net, const struct nft_set *set, in nft_rhash_lookup()
98 static bool nft_rhash_update(struct nft_set *set, const u32 *key, in nft_rhash_update()
143 static int nft_rhash_insert(const struct net *net, const struct nft_set *set, in nft_rhash_insert()
167 static void nft_rhash_activate(const struct net *net, const struct nft_set *set, in nft_rhash_activate()
177 const struct nft_set *set, void *priv) in nft_rhash_flush()
190 const struct nft_set *set, in nft_rhash_deactivate()
213 const struct nft_set *set, in nft_rhash_remove()
222 static void nft_rhash_walk(const struct nft_ctx *ctx, struct nft_set *set, in nft_rhash_walk()
277 struct nft_set *set; in nft_rhash_gc() local
[all …]
Dnft_set_rbtree.c38 static bool nft_rbtree_equal(const struct nft_set *set, const void *this, in nft_rbtree_equal()
44 static bool __nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in __nft_rbtree_lookup()
97 static bool nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in nft_rbtree_lookup()
116 static int __nft_rbtree_insert(const struct net *net, const struct nft_set *set, in __nft_rbtree_insert()
158 static int nft_rbtree_insert(const struct net *net, const struct nft_set *set, in nft_rbtree_insert()
176 const struct nft_set *set, in nft_rbtree_remove()
190 const struct nft_set *set, in nft_rbtree_activate()
199 const struct nft_set *set, void *priv) in nft_rbtree_flush()
208 const struct nft_set *set, in nft_rbtree_deactivate()
247 struct nft_set *set, in nft_rbtree_walk()
[all …]
Dnft_set_bitmap.c54 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 int nft_bitmap_insert(const struct net *net, const struct nft_set *set, in nft_bitmap_insert()
133 const struct nft_set *set, in nft_bitmap_remove()
148 const struct nft_set *set, in nft_bitmap_activate()
163 const struct nft_set *set, void *_be) in nft_bitmap_flush()
179 const struct nft_set *set, in nft_bitmap_deactivate()
201 struct nft_set *set, in nft_bitmap_walk()
247 static int nft_bitmap_init(const struct nft_set *set, in nft_bitmap_init()
[all …]
Dnft_dynset.c20 struct nft_set *set; member
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() local
117 struct nft_set *set; in nft_dynset_init() local
Dnft_lookup.c22 struct nft_set *set; member
34 const struct nft_set *set = priv->set; in nft_lookup_eval() local
66 struct nft_set *set; in nft_lookup_init() local
Dnf_tables_api.c330 struct nft_set *set) in nft_trans_set_add()
349 static int nft_delset(struct nft_ctx *ctx, struct nft_set *set) in nft_delset()
804 struct nft_set *set, *ns; in nft_flush_table() local
2724 struct nft_set *set; in nf_tables_set_lookup() local
2746 struct nft_set *set = nft_trans_set(trans); in nf_tables_set_lookup_byid() local
2762 struct nft_set *set; in nft_set_lookup() local
2775 static int nf_tables_set_alloc_name(struct nft_ctx *ctx, struct nft_set *set, in nf_tables_set_alloc_name()
2830 const struct nft_set *set, u16 event, u16 flags) in nf_tables_fill_set()
2905 const struct nft_set *set, int event, in nf_tables_set_notify()
2935 const struct nft_set *set; in nf_tables_dump_sets() local
[all …]
Dnft_objref.c86 struct nft_set *set; member
96 const struct nft_set *set = priv->set; in nft_objref_map_eval() local
117 struct nft_set *set; in nft_objref_map_init() local
/net/sched/
Dem_ipset.c25 struct xt_set_info *set = data; in em_ipset_change() local
46 const struct xt_set_info *set = (const void *) em->data; in em_ipset_destroy() local
58 const struct xt_set_info *set = (const void *) em->data; in em_ipset_match() local
/net/netfilter/ipvs/
Dip_vs_lblcr.c103 static void ip_vs_dest_set_insert(struct ip_vs_dest_set *set, in ip_vs_dest_set_insert()
138 ip_vs_dest_set_erase(struct ip_vs_dest_set *set, struct ip_vs_dest *dest) in ip_vs_dest_set_erase()
154 static void ip_vs_dest_set_eraseall(struct ip_vs_dest_set *set) in ip_vs_dest_set_eraseall()
165 static inline struct ip_vs_dest *ip_vs_dest_set_min(struct ip_vs_dest_set *set) in ip_vs_dest_set_min()
214 static inline struct ip_vs_dest *ip_vs_dest_set_max(struct ip_vs_dest_set *set) in ip_vs_dest_set_max()
266 struct ip_vs_dest_set set; /* destination server set */ member

12