summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-01-23 20:43:47 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2003-01-23 20:43:47 +0000
commit2d771b3dd90f1568d29044e7ce4055eb848c6ecf (patch)
tree8b046d90a429760b581ad57168f71ce3d911b3dc /winsup/w32api/include
parente6bd792c074d4e361068af12a4152771b24a0354 (diff)
downloadcygnal-2d771b3dd90f1568d29044e7ce4055eb848c6ecf.tar.gz
cygnal-2d771b3dd90f1568d29044e7ce4055eb848c6ecf.tar.bz2
cygnal-2d771b3dd90f1568d29044e7ce4055eb848c6ecf.zip
* lib/ws2_32.def (getaddrinfo, freeaddrinfo and getnameinfo):
Add stubs. * include/ws2tcpip.h (IPV6_*) Add IPPROTO_IPV6 level socket options.
Diffstat (limited to 'winsup/w32api/include')
-rw-r--r--winsup/w32api/include/ws2tcpip.h14
1 files changed, 14 insertions, 0 deletions
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