* include/cygwin/socket.h: Add IPv6 socket options.

This commit is contained in:
Corinna Vinschen 2007-02-01 10:04:45 +00:00
parent 07846b16c6
commit 3281664245
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-02-01 Corinna Vinschen <corinna@vinschen.de>
* include/cygwin/socket.h: Add IPv6 socket options.
2007-01-31 Corinna Vinschen <corinna@vinschen.de>
* net.cc (cygwin_getaddrinfo): Fix thinko in AI_ADDRCONFIG handling.

View File

@ -233,6 +233,7 @@ struct OLD_msghdr
#define IP_PKTINFO 19
/* IPv6 options for use with getsockopt/setsockopt */
#define IPV6_HOPOPTS 1
#define IPV6_UNICAST_HOPS 4
#define IPV6_MULTICAST_IF 9
#define IPV6_MULTICAST_HOPS 10
@ -241,7 +242,13 @@ struct OLD_msghdr
#define IPV6_DROP_MEMBERSHIP 13
#define IPV6_JOIN_GROUP IPV6_ADD_MEMBERSHIP
#define IPV6_LEAVE_GROUP IPV6_DROP_MEMBERSHIP
#define IPV6_DONTFRAG 14
#define IPV6_PKTINFO 19
#define IPV6_HOPLIMIT 21
#define IPV6_CHECKSUM 26
#define IPV6_V6ONLY 27
#define IPV6_RTHDR 32
#define IPV6_RECVRTHDR 38
/* IP agnostic options for use with getsockopt/setsockopt */
#define MCAST_JOIN_GROUP 41