Home
last modified time | relevance | path

Searched refs:ip_set (Results 1 – 21 of 21) sorted by relevance

/net/netfilter/ipset/
Dip_set_core.c30 struct ip_set * __rcu *ip_set_list; /* all individual sets */
60 #define ip_set(inst, id) \ macro
330 typedef void (*destroyer)(struct ip_set *, void *);
370 ip_set_elem_len(struct ip_set *set, struct nlattr *tb[], size_t len, in ip_set_elem_len()
395 ip_set_get_extensions(struct ip_set *set, struct nlattr *tb[], in ip_set_get_extensions()
452 ip_set_put_extensions(struct sk_buff *skb, const struct ip_set *set, in ip_set_put_extensions()
477 ip_set_match_extensions(struct ip_set *set, const struct ip_set_ext *ext, in ip_set_match_extensions()
512 __ip_set_get(struct ip_set *set) in __ip_set_get()
520 __ip_set_put(struct ip_set *set) in __ip_set_put()
532 __ip_set_put_netlink(struct ip_set *set) in __ip_set_put_netlink()
[all …]
Dip_set_list_set.c29 struct ip_set *set; /* Sigh, in order to cleanup reference */
43 struct ip_set *set; /* attached to this ip_set */
49 list_set_ktest(struct ip_set *set, const struct sk_buff *skb, in list_set_ktest()
74 list_set_kadd(struct ip_set *set, const struct sk_buff *skb, in list_set_kadd()
94 list_set_kdel(struct ip_set *set, const struct sk_buff *skb, in list_set_kdel()
114 list_set_kadt(struct ip_set *set, const struct sk_buff *skb, in list_set_kadt()
146 struct ip_set *set = e->set; in __list_set_del_rcu()
153 list_set_del(struct ip_set *set, struct set_elem *e) in list_set_del()
164 list_set_replace(struct ip_set *set, struct set_elem *e, struct set_elem *old) in list_set_replace()
174 set_cleanup_entries(struct ip_set *set) in set_cleanup_entries()
[all …]
Dip_set_bitmap_gen.h36 mtype_gc_init(struct ip_set *set, void (*gc)(struct timer_list *t)) in mtype_gc_init()
45 mtype_ext_cleanup(struct ip_set *set) in mtype_ext_cleanup()
56 mtype_destroy(struct ip_set *set) in mtype_destroy()
72 mtype_flush(struct ip_set *set) in mtype_flush()
92 mtype_head(struct ip_set *set, struct sk_buff *skb) in mtype_head()
116 mtype_test(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_test()
130 mtype_add(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_add()
175 mtype_del(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_del()
203 mtype_list(const struct ip_set *set, in mtype_list()
268 struct ip_set *set = map->set; in mtype_gc()
Dip_set_bitmap_port.c39 struct ip_set *set; /* attached to this ip_set */
100 bitmap_port_kadt(struct ip_set *set, const struct sk_buff *skb, in bitmap_port_kadt()
126 bitmap_port_uadt(struct ip_set *set, struct nlattr *tb[], in bitmap_port_uadt()
183 bitmap_port_same_set(const struct ip_set *a, const struct ip_set *b) in bitmap_port_same_set()
204 init_map_port(struct ip_set *set, struct bitmap_port *map, in init_map_port()
222 bitmap_port_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in bitmap_port_create()
Dip_set_bitmap_ipmac.c51 struct ip_set *set; /* attached to this ip_set */
118 const struct ip_set_ext *ext, struct ip_set *set, in bitmap_ipmac_add_timeout()
208 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()
281 bitmap_ipmac_same_set(const struct ip_set *a, const struct ip_set *b) in bitmap_ipmac_same_set()
299 init_map_ipmac(struct ip_set *set, struct bitmap_ipmac *map, in init_map_ipmac()
318 bitmap_ipmac_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in bitmap_ipmac_create()
Dip_set_hash_gen.h279 struct ip_set *set; /* attached to this ip_set */
356 mtype_ext_cleanup(struct ip_set *set, struct hbucket *n) in mtype_ext_cleanup()
367 mtype_flush(struct ip_set *set) in mtype_flush()
394 mtype_ahash_destroy(struct ip_set *set, struct htable *t, bool ext_destroy) in mtype_ahash_destroy()
414 mtype_destroy(struct ip_set *set) in mtype_destroy()
429 mtype_gc_init(struct ip_set *set, void (*gc)(struct timer_list *t)) in mtype_gc_init()
440 mtype_same_set(const struct ip_set *a, const struct ip_set *b) in mtype_same_set()
459 mtype_expire(struct ip_set *set, struct htype *h) in mtype_expire()
529 struct ip_set *set = h->set; in mtype_gc()
545 mtype_resize(struct ip_set *set, bool retried) in mtype_resize()
[all …]
Dip_set_bitmap_ip.c48 struct ip_set *set; /* attached to this ip_set */
110 bitmap_ip_kadt(struct ip_set *set, const struct sk_buff *skb, in bitmap_ip_kadt()
130 bitmap_ip_uadt(struct ip_set *set, struct nlattr *tb[], in bitmap_ip_uadt()
197 bitmap_ip_same_set(const struct ip_set *a, const struct ip_set *b) in bitmap_ip_same_set()
219 init_map_ip(struct ip_set *set, struct bitmap_ip *map, in init_map_ip()
241 bitmap_ip_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in bitmap_ip_create()
DMakefile6 ip_set-y := ip_set_core.o ip_set_getport.o pfxlen.o
9 obj-$(CONFIG_IP_SET) += ip_set.o
Dip_set_hash_ipmac.c84 hash_ipmac4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipmac4_kadt()
110 hash_ipmac4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipmac4_uadt()
197 hash_ipmac6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipmac6_kadt()
226 hash_ipmac6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipmac6_uadt()
Dip_set_hash_ip.c77 hash_ip4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ip4_kadt()
97 hash_ip4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ip4_uadt()
214 hash_ip6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ip6_kadt()
232 hash_ip6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ip6_uadt()
Dip_set_hash_ipmark.c79 hash_ipmark4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipmark4_kadt()
96 hash_ipmark4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipmark4_uadt()
205 hash_ipmark6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipmark6_kadt()
222 hash_ipmark6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipmark6_uadt()
Dip_set_hash_ipport.c87 hash_ipport4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipport4_kadt()
104 hash_ipport4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipport4_uadt()
245 hash_ipport6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipport6_kadt()
262 hash_ipport6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipport6_uadt()
Dip_set_hash_net.c112 hash_net4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_net4_kadt()
135 hash_net4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_net4_uadt()
280 hash_net6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_net6_kadt()
303 hash_net6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_net6_uadt()
Dip_set_hash_ipportip.c89 hash_ipportip4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipportip4_kadt()
107 hash_ipportip4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportip4_uadt()
255 hash_ipportip6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipportip6_kadt()
273 hash_ipportip6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportip6_uadt()
Dip_set_hash_mac.c72 hash_mac4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_mac4_kadt()
95 hash_mac4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_mac4_uadt()
Dip_set_hash_netiface.c151 hash_netiface4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netiface4_kadt()
192 hash_netiface4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netiface4_uadt()
361 hash_netiface6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netiface6_kadt()
400 hash_netiface6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netiface6_uadt()
Dip_set_hash_netnet.c139 hash_netnet4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netnet4_kadt()
162 hash_netnet4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netnet4_uadt()
373 hash_netnet6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netnet6_kadt()
396 hash_netnet6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netnet6_uadt()
Dip_set_hash_netport.c128 hash_netport4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netport4_kadt()
153 hash_netport4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netport4_uadt()
344 hash_netport6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netport6_kadt()
369 hash_netport6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netport6_uadt()
Dip_set_hash_ipportnet.c133 hash_ipportnet4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipportnet4_kadt()
159 hash_ipportnet4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportnet4_uadt()
384 hash_ipportnet6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipportnet6_kadt()
410 hash_ipportnet6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportnet6_uadt()
Dip_set_hash_netportnet.c149 hash_netportnet4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netportnet4_kadt()
176 hash_netportnet4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netportnet4_uadt()
428 hash_netportnet6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netportnet6_kadt()
455 hash_netportnet6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netportnet6_uadt()
DKconfig26 parameter of the 'ip_set' module.