From cccfff9309743f173c504dd265fae173caa5b47f Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sat, 16 Mar 2013 12:11:07 +0100 Subject: 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 --- include/libiptc/libip6tc.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/libiptc/libip6tc.h') 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; -- cgit v1.2.3