From 2d771b3dd90f1568d29044e7ce4055eb848c6ecf Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Thu, 23 Jan 2003 20:43:47 +0000 Subject: * lib/ws2_32.def (getaddrinfo, freeaddrinfo and getnameinfo): Add stubs. * include/ws2tcpip.h (IPV6_*) Add IPPROTO_IPV6 level socket options. --- winsup/w32api/include/ws2tcpip.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'winsup/w32api/include/ws2tcpip.h') diff --git a/winsup/w32api/include/ws2tcpip.h b/winsup/w32api/include/ws2tcpip.h index 97680f02c..ac66fb0be 100644 --- a/winsup/w32api/include/ws2tcpip.h +++ b/winsup/w32api/include/ws2tcpip.h @@ -56,6 +56,20 @@ extern "C" { #define IP_UNBLOCK_SOURCE 18 #define IP_PKTINFO 19 +/* + * As with BSD implementation, IPPROTO_IPV6 level socket options have + * same values as IPv4 counterparts. + */ +#define IPV6_UNICAST_HOPS 4 +#define IPV6_MULTICAST_IF 9 +#define IPV6_MULTICAST_HOPS 10 +#define IPV6_MULTICAST_LOOP 11 +#define IPV6_ADD_MEMBERSHIP 12 +#define IPV6_DROP_MEMBERSHIP 13 +#define IPV6_JOIN_GROUP IPV6_ADD_MEMBERSHIP +#define IPV6_LEAVE_GROUP IPV6_DROP_MEMBERSHIP +#define IPV6_PKTINFO 19 + #define IP_DEFAULT_MULTICAST_TTL 1 #define IP_DEFAULT_MULTICAST_LOOP 1 #define IP_MAX_MEMBERSHIPS 20 -- cgit v1.2.3