]> granicus.if.org Git - ipset/commit
NETMASK*, HOSTMASK* macros are too generic
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 20 Jan 2011 10:34:00 +0000 (11:34 +0100)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 20 Jan 2011 10:34:00 +0000 (11:34 +0100)
commite0d7b66f0a3eb9528eebb59b83ce14e8f2025b1d
treeee5823bbd3fcc46526e547ad40927022e6dd228a
parentcbeaceead3416d4522ef1e97977469e0633f1eea
NETMASK*, HOSTMASK* macros are too generic

NETMASK*, HOSTMASK* macros are rewritten to small inline functions
ip_set_netmask* and ip_set_hostmask* (Patrick McHardy's review)
kernel/include/linux/netfilter/ipset/pfxlen.h
kernel/ip_set_bitmap_ip.c
kernel/ip_set_bitmap_ipmac.c
kernel/ip_set_hash_ip.c
kernel/ip_set_hash_ipport.c
kernel/ip_set_hash_ipportip.c
kernel/ip_set_hash_ipportnet.c
kernel/ip_set_hash_net.c
kernel/ip_set_hash_netport.c
kernel/pfxlen.c