]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/netfilter/ipset/pfxlen.h
netfilter: ipset: support range for IPv4 at adding/deleting elements for hash:*net...
[karo-tx-linux.git] / include / linux / netfilter / ipset / pfxlen.h
index 0e1fb50da562914a794d4cb9f02f32132b4f0e41..84efa3351e0e62896e05b3937c442fcf0ad2b2db 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <asm/byteorder.h>
 #include <linux/netfilter.h> 
+#include <net/tcp.h>
 
 /* Prefixlen maps, by Jan Engelhardt  */
 extern const union nf_inet_addr ip_set_netmask_map[];
@@ -32,4 +33,6 @@ ip_set_hostmask6(u8 pfxlen)
        return &ip_set_hostmask_map[pfxlen].ip6[0];
 }
 
+extern u32 ip_set_range_to_cidr(u32 from, u32 to, u8 *cidr);
+
 #endif /*_PFXLEN_H */