* lib/ws2_32.def (getaddrinfo, freeaddrinfo and getnameinfo):

Add stubs.
	* include/ws2tcpip.h (IPV6_*) Add IPPROTO_IPV6 level socket
	options.
This commit is contained in:
Danny Smith 2003-01-23 20:43:47 +00:00
parent e6bd792c07
commit 2d771b3dd9
3 changed files with 24 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2003-01-23 Danny Smith <dannysmith@users.sourceforge.net>
* lib/ws2_32.def (getaddrinfo, freeaddrinfo and getnameinfo):
Add stubs.
* include/ws2tcpip.h (IPV6_*) Add IPPROTO_IPV6 level socket
options.
2003-01-11 Danny Smith <dannysmith@users.sourceforge.net> 2003-01-11 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (IMAGE_FILE_AGGRESIVE_WS_TRIM * include/winnt.h (IMAGE_FILE_AGGRESIVE_WS_TRIM

View File

@ -56,6 +56,20 @@ extern "C" {
#define IP_UNBLOCK_SOURCE 18 #define IP_UNBLOCK_SOURCE 18
#define IP_PKTINFO 19 #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_TTL 1
#define IP_DEFAULT_MULTICAST_LOOP 1 #define IP_DEFAULT_MULTICAST_LOOP 1
#define IP_MAX_MEMBERSHIPS 20 #define IP_MAX_MEMBERSHIPS 20

View File

@ -80,9 +80,12 @@ accept@12
bind@12 bind@12
closesocket@4 closesocket@4
connect@12 connect@12
freeaddrinfo@4
getaddrinfo@16
gethostbyaddr@12 gethostbyaddr@12
gethostbyname@4 gethostbyname@4
gethostname@8 gethostname@8
getnameinfo@28
getpeername@12 getpeername@12
getprotobyname@4 getprotobyname@4
getprotobynumber@4 getprotobynumber@4