/linux-4.4.14/include/linux/netfilter/ipset/ |
D | ip_set.h | 127 struct ip_set; 138 typedef int (*ipset_adtfn)(struct ip_set *set, void *value, 157 int (*kadt)(struct ip_set *set, const struct sk_buff *skb, 165 int (*uadt)(struct ip_set *set, struct nlattr *tb[], 172 int (*resize)(struct ip_set *set, bool retried); 174 void (*destroy)(struct ip_set *set); 176 void (*flush)(struct ip_set *set); 178 void (*expire)(struct ip_set *set); 180 int (*head)(struct ip_set *set, struct sk_buff *skb); 182 int (*list)(const struct ip_set *set, struct sk_buff *skb, [all …]
|
/linux-4.4.14/net/netfilter/ipset/ |
D | ip_set_core.c | 33 struct ip_set * __rcu *ip_set_list; /* all individual sets */ 61 #define ip_set(inst, id) \ macro 367 ip_set_elem_len(struct ip_set *set, struct nlattr *tb[], size_t len, in ip_set_elem_len() 392 ip_set_get_extensions(struct ip_set *set, struct nlattr *tb[], in ip_set_get_extensions() 449 ip_set_put_extensions(struct sk_buff *skb, const struct ip_set *set, in ip_set_put_extensions() 484 __ip_set_get(struct ip_set *set) in __ip_set_get() 492 __ip_set_put(struct ip_set *set) in __ip_set_put() 506 static inline struct ip_set * 509 struct ip_set *set; in ip_set_rcu_get() 524 struct ip_set *set = ip_set_rcu_get(par->net, index); in ip_set_test() [all …]
|
D | ip_set_list_set.c | 51 list_set_ktest(struct ip_set *set, const struct sk_buff *skb, in list_set_ktest() 85 list_set_kadd(struct ip_set *set, const struct sk_buff *skb, in list_set_kadd() 105 list_set_kdel(struct ip_set *set, const struct sk_buff *skb, in list_set_kdel() 125 list_set_kadt(struct ip_set *set, const struct sk_buff *skb, in list_set_kadt() 154 __list_set_del(struct ip_set *set, struct set_elem *e) in __list_set_del() 167 list_set_del(struct ip_set *set, struct set_elem *e) in list_set_del() 174 list_set_replace(struct ip_set *set, struct set_elem *e, struct set_elem *old) in list_set_replace() 181 set_cleanup_entries(struct ip_set *set) in set_cleanup_entries() 192 list_set_utest(struct ip_set *set, void *value, const struct ip_set_ext *ext, in list_set_utest() 224 list_set_init_extensions(struct ip_set *set, const struct ip_set_ext *ext, in list_set_init_extensions() [all …]
|
D | ip_set_bitmap_gen.h | 39 mtype_gc_init(struct ip_set *set, void (*gc)(unsigned long ul_set)) in mtype_gc_init() 51 mtype_ext_cleanup(struct ip_set *set) in mtype_ext_cleanup() 62 mtype_destroy(struct ip_set *set) in mtype_destroy() 78 mtype_flush(struct ip_set *set) in mtype_flush() 88 mtype_head(struct ip_set *set, struct sk_buff *skb) in mtype_head() 111 mtype_test(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_test() 132 mtype_add(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_add() 173 mtype_del(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_del() 200 mtype_list(const struct ip_set *set, in mtype_list() 264 struct ip_set *set = (struct ip_set *)ul_set; in mtype_gc()
|
D | ip_set_bitmap_port.c | 103 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() 186 bitmap_port_same_set(const struct ip_set *a, const struct ip_set *b) in bitmap_port_same_set() 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()
|
D | ip_set_hash_gen.h | 371 mtype_ext_cleanup(struct ip_set *set, struct hbucket *n) in mtype_ext_cleanup() 382 mtype_flush(struct ip_set *set) in mtype_flush() 408 mtype_ahash_destroy(struct ip_set *set, struct htable *t, bool ext_destroy) in mtype_ahash_destroy() 428 mtype_destroy(struct ip_set *set) in mtype_destroy() 443 mtype_gc_init(struct ip_set *set, void (*gc)(unsigned long ul_set)) in mtype_gc_init() 457 mtype_same_set(const struct ip_set *a, const struct ip_set *b) in mtype_same_set() 476 mtype_expire(struct ip_set *set, struct htype *h, u8 nets_length, size_t dsize) in mtype_expire() 544 struct ip_set *set = (struct ip_set *)ul_set; in mtype_gc() 561 mtype_resize(struct ip_set *set, bool retried) in mtype_resize() 705 mtype_add(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_add() [all …]
|
D | ip_set_bitmap_ipmac.c | 121 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() 279 bitmap_ipmac_same_set(const struct ip_set *a, const struct ip_set *b) in bitmap_ipmac_same_set() 297 init_map_ipmac(struct ip_set *set, struct bitmap_ipmac *map, in init_map_ipmac() 315 bitmap_ipmac_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in bitmap_ipmac_create()
|
D | Makefile | 5 ip_set-y := ip_set_core.o ip_set_getport.o pfxlen.o 8 obj-$(CONFIG_IP_SET) += ip_set.o
|
D | ip_set_bitmap_ip.c | 112 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() 199 bitmap_ip_same_set(const struct ip_set *a, const struct ip_set *b) in bitmap_ip_same_set() 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()
|
D | ip_set_hash_ipmark.c | 84 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()
|
D | ip_set_hash_ip.c | 81 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() 216 hash_ip6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ip6_kadt() 234 hash_ip6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ip6_uadt()
|
D | ip_set_hash_ipport.c | 91 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()
|
D | ip_set_hash_net.c | 116 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() 285 hash_net6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_net6_kadt() 308 hash_net6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_net6_uadt()
|
D | ip_set_hash_mac.c | 79 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()
|
D | ip_set_hash_ipportip.c | 93 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()
|
D | ip_set_hash_netnet.c | 142 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()
|
D | ip_set_hash_netport.c | 132 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() 347 hash_netport6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netport6_kadt() 372 hash_netport6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netport6_uadt()
|
D | ip_set_hash_netiface.c | 155 hash_netiface4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netiface4_kadt() 198 hash_netiface4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netiface4_uadt() 368 hash_netiface6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netiface6_kadt() 409 hash_netiface6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netiface6_uadt()
|
D | ip_set_hash_ipportnet.c | 137 hash_ipportnet4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipportnet4_kadt() 163 hash_ipportnet4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportnet4_uadt() 388 hash_ipportnet6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipportnet6_kadt() 414 hash_ipportnet6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportnet6_uadt()
|
D | ip_set_hash_netportnet.c | 153 hash_netportnet4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netportnet4_kadt() 180 hash_netportnet4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netportnet4_uadt() 431 hash_netportnet6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netportnet6_kadt() 458 hash_netportnet6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netportnet6_uadt()
|
D | Kconfig | 25 parameter of the 'ip_set' module.
|
/linux-4.4.14/include/uapi/linux/netfilter/ipset/ |
D | Kbuild | 2 header-y += ip_set.h
|