]> git.ipfire.org Git - thirdparty/ipset.git/commit
Prepare ipset to support multiple networks for hash types
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Wed, 4 Sep 2013 14:56:12 +0000 (16:56 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Wed, 4 Sep 2013 14:56:12 +0000 (16:56 +0200)
commit558350b7ad14b174898dc7665669965d1031d2e4
treecc780a0c32339e324776f14d3c2c033679908895
parente883bb17de2b69e7f3ae9b414915aebef477f383
Prepare ipset to support multiple networks for hash types

In order to support hash:net,net, hash:net,port,net etc. types,
arrays are introduced for the book-keeping of existing cidr sizes
and network numbers in a set.
kernel/include/linux/netfilter/ipset/ip_set.h
kernel/net/netfilter/ipset/ip_set_hash_gen.h
kernel/net/netfilter/ipset/ip_set_hash_ipportnet.c
kernel/net/netfilter/ipset/ip_set_hash_net.c
kernel/net/netfilter/ipset/ip_set_hash_netiface.c
kernel/net/netfilter/ipset/ip_set_hash_netport.c