path: root/include/libiptc/libip6tc.h
diff options
authorPablo Neira Ayuso <>2013-03-16 12:11:07 +0100
committerPablo Neira Ayuso <>2013-03-29 16:41:32 +0100
commitcccfff9309743f173c504dd265fae173caa5b47f (patch)
tree520905377bd24962de63a6d581e3fa5037b96430 /include/libiptc/libip6tc.h
parentd797d0ff0338d2938d18b03038d6f4455b000579 (diff)
libip6t_NETMAP: Use xtables_ip6mask_to_cidr and get rid of libip6tc dependency
This patch changes the NETMAP target extension (IPv6 side) to use the xtables_ip6mask_to_cidr available in libxtables. As a side effect, we get rid of the libip6tc dependency. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'include/libiptc/libip6tc.h')
1 files changed, 0 insertions, 3 deletions
diff --git a/include/libiptc/libip6tc.h b/include/libiptc/libip6tc.h
index c656bc43..9aed80a0 100644
--- a/include/libiptc/libip6tc.h
+++ b/include/libiptc/libip6tc.h
@@ -154,9 +154,6 @@ int ip6tc_get_raw_socket(void);
/* Translates errno numbers into more human-readable form than strerror. */
const char *ip6tc_strerror(int err);
-/* Return prefix length, or -1 if not contiguous */
-int ipv6_prefix_length(const struct in6_addr *a);
extern void dump_entries6(struct xtc_handle *const);
extern const struct xtc_ops ip6tc_ops;