diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-01-13 13:57:57 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-01-13 14:05:50 +0100 |
commit | 56c1f7d852de98aa5d752f9c7777ece660c26fdb (patch) | |
tree | 7cac20e7ea1d0ec6dd46a5398cd9b43643071b52 /lib/sockopt.h | |
parent | Merge pull request #55 from donaldsharp/monotonic (diff) | |
download | frr-56c1f7d852de98aa5d752f9c7777ece660c26fdb.tar.xz frr-56c1f7d852de98aa5d752f9c7777ece660c26fdb.zip |
frr: Remove HAVE_IPV6 from code base
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/sockopt.h')
-rw-r--r-- | lib/sockopt.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/sockopt.h b/lib/sockopt.h index b3ab57ab7..1b7be1e49 100644 --- a/lib/sockopt.h +++ b/lib/sockopt.h @@ -28,7 +28,6 @@ extern void setsockopt_so_recvbuf (int sock, int size); extern void setsockopt_so_sendbuf (const int sock, int size); extern int getsockopt_so_sendbuf (const int sock); -#ifdef HAVE_IPV6 extern int setsockopt_ipv6_pktinfo (int, int); extern int setsockopt_ipv6_checksum (int, int); extern int setsockopt_ipv6_multicast_hops (int, int); @@ -36,13 +35,7 @@ extern int setsockopt_ipv6_unicast_hops (int, int); extern int setsockopt_ipv6_hoplimit (int, int); extern int setsockopt_ipv6_multicast_loop (int, int); extern int setsockopt_ipv6_tclass (int, int); -#endif /* HAVE_IPV6 */ -/* - * It is OK to reference in6_pktinfo here without a protecting #if - * because this macro will only be used #if HAVE_IPV6, and in6_pktinfo - * is not optional for HAVE_IPV6. - */ #define SOPT_SIZE_CMSG_PKTINFO_IPV6() (sizeof (struct in6_pktinfo)); /* |