linux/net/netfilter/ipset
Jozsef Kadlecsik 21956ab290 netfilter: ipset: Make struct htype per ipset family
Before this patch struct htype created at the first source
of ip_set_hash_gen.h and it is common for both IPv4 and IPv6
set variants.

Make struct htype per ipset family and use NLEN to make
nets array fixed size to simplify struct htype allocation.

Ported from a patch proposed by Sergey Popovich <popovich_sergei@mail.ua>.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
2016-11-10 13:28:48 +01:00
..
ip_set_bitmap_gen.h netfilter: ipset: Count non-static extension memory for userspace 2016-11-10 13:28:45 +01:00
ip_set_bitmap_ip.c netfilter: ipset: Fix extension alignment 2015-11-07 11:21:47 +01:00
ip_set_bitmap_ipmac.c netfilter: ipset: Check IPSET_ATTR_ETHER netlink attribute length 2016-03-08 20:36:17 +01:00
ip_set_bitmap_port.c netfilter: ipset: Fix extension alignment 2015-11-07 11:21:47 +01:00
ip_set_core.c netfilter: ipset: Count non-static extension memory for userspace 2016-11-10 13:28:45 +01:00
ip_set_getport.c netfilter: ipset: Fix coding styles reported by checkpatch.pl 2015-06-14 10:40:18 +02:00
ip_set_hash_gen.h netfilter: ipset: Make struct htype per ipset family 2016-11-10 13:28:48 +01:00
ip_set_hash_ip.c netfilter: ipset: Make struct htype per ipset family 2016-11-10 13:28:48 +01:00
ip_set_hash_ipmark.c netfilter: ipset: Make struct htype per ipset family 2016-11-10 13:28:48 +01:00
ip_set_hash_ipport.c netfilter: ipset: Make struct htype per ipset family 2016-11-10 13:28:48 +01:00
ip_set_hash_ipportip.c netfilter: ipset: Make struct htype per ipset family 2016-11-10 13:28:48 +01:00
ip_set_hash_ipportnet.c netfilter: ipset: Make struct htype per ipset family 2016-11-10 13:28:48 +01:00
ip_set_hash_mac.c netfilter: ipset: Check IPSET_ATTR_ETHER netlink attribute length 2016-03-08 20:36:17 +01:00
ip_set_hash_net.c netfilter: ipset: Make struct htype per ipset family 2016-11-10 13:28:48 +01:00
ip_set_hash_netiface.c netfilter: ipset: Make struct htype per ipset family 2016-11-10 13:28:48 +01:00
ip_set_hash_netnet.c netfilter: ipset: Make struct htype per ipset family 2016-11-10 13:28:48 +01:00
ip_set_hash_netport.c netfilter: ipset: Make struct htype per ipset family 2016-11-10 13:28:48 +01:00
ip_set_hash_netportnet.c netfilter: ipset: Make struct htype per ipset family 2016-11-10 13:28:48 +01:00
ip_set_list_set.c netfilter: ipset: Count non-static extension memory for userspace 2016-11-10 13:28:45 +01:00
Kconfig netfilter: ipset: hash:mac type added to ipset 2014-09-15 22:20:21 +02:00
Makefile netfilter: ipset: hash:mac type added to ipset 2014-09-15 22:20:21 +02:00
pfxlen.c netfilter: ipset: Fix coding styles reported by checkpatch.pl 2015-06-14 10:40:18 +02:00