/linux-4.1.27/include/linux/netfilter/ipset/ |
D | ip_set.h | 122 struct ip_set; 133 typedef int (*ipset_adtfn)(struct ip_set *set, void *value, 152 int (*kadt)(struct ip_set *set, const struct sk_buff *skb, 160 int (*uadt)(struct ip_set *set, struct nlattr *tb[], 167 int (*resize)(struct ip_set *set, bool retried); 169 void (*destroy)(struct ip_set *set); 171 void (*flush)(struct ip_set *set); 173 void (*expire)(struct ip_set *set); 175 int (*head)(struct ip_set *set, struct sk_buff *skb); 177 int (*list)(const struct ip_set *set, struct sk_buff *skb, [all …]
|
/linux-4.1.27/net/netfilter/ipset/ |
D | ip_set_core.c | 33 struct ip_set * __rcu *ip_set_list; /* all individual sets */ 59 #define ip_set(inst, id) \ macro 365 ip_set_elem_len(struct ip_set *set, struct nlattr *tb[], size_t len) in ip_set_elem_len() 388 ip_set_get_extensions(struct ip_set *set, struct nlattr *tb[], in ip_set_get_extensions() 447 __ip_set_get(struct ip_set *set) in __ip_set_get() 455 __ip_set_put(struct ip_set *set) in __ip_set_put() 470 static inline struct ip_set * 473 struct ip_set *set; in ip_set_rcu_get() 488 struct ip_set *set = ip_set_rcu_get( in ip_set_test() 527 struct ip_set *set = ip_set_rcu_get( in ip_set_add() [all …]
|
D | ip_set_list_set.c | 51 list_set_ktest(struct ip_set *set, const struct sk_buff *skb, in list_set_ktest() 88 list_set_kadd(struct ip_set *set, const struct sk_buff *skb, in list_set_kadd() 112 list_set_kdel(struct ip_set *set, const struct sk_buff *skb, in list_set_kdel() 136 list_set_kadt(struct ip_set *set, const struct sk_buff *skb, in list_set_kadt() 156 id_eq(const struct ip_set *set, u32 i, ip_set_id_t id) in id_eq() 171 list_set_add(struct ip_set *set, u32 i, struct set_adt_elem *d, in list_set_add() 211 list_set_del(struct ip_set *set, u32 i) in list_set_del() 230 set_cleanup_entries(struct ip_set *set) in set_cleanup_entries() 248 list_set_utest(struct ip_set *set, void *value, const struct ip_set_ext *ext, in list_set_utest() 280 list_set_uadd(struct ip_set *set, void *value, const struct ip_set_ext *ext, in list_set_uadd() [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() 81 mtype_flush(struct ip_set *set) in mtype_flush() 91 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() 137 mtype_add(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_add() 172 mtype_del(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_del() 199 mtype_list(const struct ip_set *set, in mtype_list() 256 struct ip_set *set = (struct ip_set *) ul_set; in mtype_gc()
|
D | ip_set_hash_gen.h | 362 mtype_ext_cleanup(struct ip_set *set, struct hbucket *n) in mtype_ext_cleanup() 372 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() 435 mtype_gc_init(struct ip_set *set, void (*gc)(unsigned long ul_set)) in mtype_gc_init() 449 mtype_same_set(const struct ip_set *a, const struct ip_set *b) in mtype_same_set() 468 mtype_expire(struct ip_set *set, struct htype *h, u8 nets_length, size_t dsize) in mtype_expire() 521 struct ip_set *set = (struct ip_set *) ul_set; in mtype_gc() 537 mtype_resize(struct ip_set *set, bool retried) in mtype_resize() 623 mtype_add(struct ip_set *set, void *value, const struct ip_set_ext *ext, in mtype_add() [all …]
|
D | ip_set_bitmap_port.c | 102 bitmap_port_kadt(struct ip_set *set, const struct sk_buff *skb, in bitmap_port_kadt() 128 bitmap_port_uadt(struct ip_set *set, struct nlattr *tb[], in bitmap_port_uadt() 190 bitmap_port_same_set(const struct ip_set *a, const struct ip_set *b) in bitmap_port_same_set() 211 init_map_port(struct ip_set *set, struct bitmap_port *map, in init_map_port() 235 bitmap_port_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in bitmap_port_create()
|
D | ip_set_bitmap_ipmac.c | 119 const struct ip_set_ext *ext, struct ip_set *set, in bitmap_ipmac_add_timeout() 201 bitmap_ipmac_kadt(struct ip_set *set, const struct sk_buff *skb, in bitmap_ipmac_kadt() 231 bitmap_ipmac_uadt(struct ip_set *set, struct nlattr *tb[], in bitmap_ipmac_uadt() 273 bitmap_ipmac_same_set(const struct ip_set *a, const struct ip_set *b) in bitmap_ipmac_same_set() 291 init_map_ipmac(struct ip_set *set, struct bitmap_ipmac *map, in init_map_ipmac() 316 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 | 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() 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() 249 bitmap_ip_create(struct net *net, struct ip_set *set, struct nlattr *tb[], in bitmap_ip_create()
|
D | ip_set_hash_ip.c | 82 hash_ip4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ip4_kadt() 102 hash_ip4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ip4_uadt() 223 hash_ip6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ip6_kadt() 241 hash_ip6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ip6_uadt()
|
D | ip_set_hash_ipmark.c | 86 hash_ipmark4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipmark4_kadt() 103 hash_ipmark4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipmark4_uadt() 220 hash_ipmark6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipmark6_kadt() 237 hash_ipmark6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipmark6_uadt()
|
D | ip_set_hash_mac.c | 75 hash_mac4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_mac4_kadt() 98 hash_mac4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_mac4_uadt()
|
D | ip_set_hash_ipport.c | 93 hash_ipport4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipport4_kadt() 110 hash_ipport4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipport4_uadt() 260 hash_ipport6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipport6_kadt() 277 hash_ipport6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipport6_uadt()
|
D | ip_set_hash_net.c | 117 hash_net4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_net4_kadt() 140 hash_net4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_net4_uadt() 290 hash_net6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_net6_kadt() 313 hash_net6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_net6_uadt()
|
D | ip_set_hash_ipportip.c | 94 hash_ipportip4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipportip4_kadt() 112 hash_ipportip4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportip4_uadt() 267 hash_ipportip6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipportip6_kadt() 285 hash_ipportip6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportip6_uadt()
|
D | ip_set_hash_netnet.c | 136 hash_netnet4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netnet4_kadt() 159 hash_netnet4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netnet4_uadt() 367 hash_netnet6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netnet6_kadt() 390 hash_netnet6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netnet6_uadt()
|
D | ip_set_hash_netport.c | 133 hash_netport4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netport4_kadt() 158 hash_netport4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netport4_uadt() 353 hash_netport6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netport6_kadt() 378 hash_netport6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netport6_uadt()
|
D | ip_set_hash_netiface.c | 232 hash_netiface4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netiface4_kadt() 286 hash_netiface4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netiface4_uadt() 472 hash_netiface6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netiface6_kadt() 523 hash_netiface6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netiface6_uadt()
|
D | ip_set_hash_ipportnet.c | 138 hash_ipportnet4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipportnet4_kadt() 164 hash_ipportnet4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportnet4_uadt() 394 hash_ipportnet6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_ipportnet6_kadt() 420 hash_ipportnet6_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportnet6_uadt()
|
D | ip_set_hash_netportnet.c | 147 hash_netportnet4_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netportnet4_kadt() 174 hash_netportnet4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_netportnet4_uadt() 424 hash_netportnet6_kadt(struct ip_set *set, const struct sk_buff *skb, in hash_netportnet6_kadt() 451 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.1.27/include/uapi/linux/netfilter/ipset/ |
D | Kbuild | 2 header-y += ip_set.h
|