/Linux-v4.19/include/linux/netfilter/ipset/ |
D | ip_set.h | 82 struct ip_set; 87 void (*destroy)(struct ip_set *set, void *ext); 129 struct ip_set; 140 typedef int (*ipset_adtfn)(struct ip_set *set, void *value, 159 int (*kadt)(struct ip_set *set, const struct sk_buff *skb, 167 int (*uadt)(struct ip_set *set, struct nlattr *tb[], 174 int (*resize)(struct ip_set *set, bool retried); 176 void (*destroy)(struct ip_set *set); 178 void (*flush)(struct ip_set *set); 180 void (*expire)(struct ip_set *set); [all …]
|
D | ip_set_comment.h | 23 ip_set_init_comment(struct ip_set *set, struct ip_set_comment *comment, in ip_set_init_comment() 63 ip_set_comment_free(struct ip_set *set, struct ip_set_comment *comment) in ip_set_comment_free()
|
/Linux-v4.19/net/netfilter/ipset/ |
D | ip_set_list_set.c | 33 struct ip_set *set; /* Sigh, in order to cleanup reference */ 47 struct ip_set *set; /* attached to this ip_set */ 53 list_set_ktest(struct ip_set *set, const struct sk_buff *skb, in list_set_ktest() 78 list_set_kadd(struct ip_set *set, const struct sk_buff *skb, in list_set_kadd() 98 list_set_kdel(struct ip_set *set, const struct sk_buff *skb, in list_set_kdel() 118 list_set_kadt(struct ip_set *set, const struct sk_buff *skb, in list_set_kadt() 150 struct ip_set *set = e->set; in __list_set_del_rcu() 159 list_set_del(struct ip_set *set, struct set_elem *e) in list_set_del() 174 set_cleanup_entries(struct ip_set *set) in set_cleanup_entries() 185 list_set_utest(struct ip_set *set, void *value, const struct ip_set_ext *ext, in list_set_utest() [all …]
|
D | ip_set_core.c | 33 struct ip_set * __rcu *ip_set_list; /* all individual sets */ 61 #define ip_set(inst, id) \ macro 329 typedef void (*destroyer)(struct ip_set *, void *); 369 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() 476 ip_set_match_extensions(struct ip_set *set, const struct ip_set_ext *ext, in ip_set_match_extensions() 511 __ip_set_get(struct ip_set *set) in __ip_set_get() 519 __ip_set_put(struct ip_set *set) in __ip_set_put() 531 __ip_set_put_netlink(struct ip_set *set) in __ip_set_put_netlink() [all …]
|
D | ip_set_bitmap_gen.h | 40 mtype_gc_init(struct ip_set *set, void (*gc)(struct timer_list *t)) 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() 134 mtype_add(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_add() 179 mtype_del(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_del() 207 mtype_list(const struct ip_set *set, in mtype_list() 272 struct ip_set *set = map->set; in mtype_gc()
|
D | ip_set_bitmap_port.c | 43 struct ip_set *set; /* attached to this ip_set */ 104 bitmap_port_kadt(struct ip_set *set, const struct sk_buff *skb, in bitmap_port_kadt() 130 bitmap_port_uadt(struct ip_set *set, struct nlattr *tb[], in bitmap_port_uadt() 187 bitmap_port_same_set(const struct ip_set *a, const struct ip_set *b) in bitmap_port_same_set() 208 init_map_port(struct ip_set *set, struct bitmap_port *map, in init_map_port() 226 bitmap_port_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in bitmap_port_create()
|
D | ip_set_bitmap_ipmac.c | 55 struct ip_set *set; /* attached to this ip_set */ 122 const struct ip_set_ext *ext, struct ip_set *set, in bitmap_ipmac_add_timeout() 212 bitmap_ipmac_kadt(struct ip_set *set, const struct sk_buff *skb, in bitmap_ipmac_kadt() 242 bitmap_ipmac_uadt(struct ip_set *set, struct nlattr *tb[], in bitmap_ipmac_uadt() 282 bitmap_ipmac_same_set(const struct ip_set *a, const struct ip_set *b) in bitmap_ipmac_same_set() 300 init_map_ipmac(struct ip_set *set, struct bitmap_ipmac *map, in init_map_ipmac() 319 bitmap_ipmac_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in bitmap_ipmac_create()
|
D | ip_set_bitmap_ip.c | 51 struct ip_set *set; /* attached to this ip_set */ 113 bitmap_ip_kadt(struct ip_set *set, const struct sk_buff *skb, in bitmap_ip_kadt() 133 bitmap_ip_uadt(struct ip_set *set, struct nlattr *tb[], in bitmap_ip_uadt() 200 bitmap_ip_same_set(const struct ip_set *a, const struct ip_set *b) in bitmap_ip_same_set() 222 init_map_ip(struct ip_set *set, struct bitmap_ip *map, in init_map_ip() 244 bitmap_ip_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in bitmap_ip_create()
|
D | ip_set_hash_gen.h | 283 struct ip_set *set; /* attached to this ip_set */ 360 mtype_ext_cleanup(struct ip_set *set, struct hbucket *n) in mtype_ext_cleanup() 371 mtype_flush(struct ip_set *set) in mtype_flush() 398 mtype_ahash_destroy(struct ip_set *set, struct htable *t, bool ext_destroy) in mtype_ahash_destroy() 418 mtype_destroy(struct ip_set *set) in mtype_destroy() 433 mtype_gc_init(struct ip_set *set, void (*gc)(struct timer_list *t)) in mtype_gc_init() 444 mtype_same_set(const struct ip_set *a, const struct ip_set *b) in mtype_same_set() 463 mtype_expire(struct ip_set *set, struct htype *h) in mtype_expire() 533 struct ip_set *set = h->set; in mtype_gc() 549 mtype_resize(struct ip_set *set, bool retried) in mtype_resize() [all …]
|
D | Makefile | 6 ip_set-y := ip_set_core.o ip_set_getport.o pfxlen.o 9 obj-$(CONFIG_IP_SET) += ip_set.o
|
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() 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()
|
D | ip_set_hash_ipmac.c | 90 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()
|
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() 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()
|
D | ip_set_hash_mac.c | 76 hash_mac4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_mac4_kadt() 99 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_netiface.c | 155 hash_netiface4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netiface4_kadt() 196 hash_netiface4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netiface4_uadt() 365 hash_netiface6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netiface6_kadt() 404 hash_netiface6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netiface6_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() 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()
|
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() 432 hash_netportnet6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netportnet6_kadt() 459 hash_netportnet6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netportnet6_uadt()
|
D | Kconfig | 25 parameter of the 'ip_set' module.
|