Sync with trunk (r48545)
[reactos.git] / include / psdk / wsipv6ok.h
1 #pragma once
2
3 #ifdef IPV6STRICT
4
5 #include <ws2tcpip.h>
6 #include <wspiapi.h>
7
8 #undef AF_INET
9 #define AF_INET AF_INET_IPV6INCOMPATIBLE
10 #undef PF_INET
11 #define PF_INET PF_INET_IPV6INCOMPATIBLE
12 #undef in_addr
13 #define in_addr in_addr_IPV6INCOMPATIBLE
14 #undef IN_ADDR
15 #define IN_ADDR IN_ADDR_IPV6INCOMPATIBLE
16 #undef PIN_ADDR
17 #define PIN_ADDR PIN_ADDR_IPV6INCOMPATIBLE
18 #undef LPIN_ADDR
19 #define LPIN_ADDR LPIN_ADDR_IPV6INCOMPATIBLE
20 #undef IPAddr
21 #define IPAddr IPAddr_IPV6INCOMPATIBLE
22 #undef sockaddr_in
23 #define sockaddr_in sockaddr_in_IPV6INCOMPATIBLE
24 #undef SOCKADDR_IN
25 #define SOCKADDR_IN SOCKADDR_IN_IPV6INCOMPATIBLE
26 #undef PSOCKADDR_IN
27 #define PSOCKADDR_IN PSOCKADDR_IN_IPV6INCOMPATIBLE
28 #undef LPSOCKADDR_IN
29 #define LPSOCKADDR_IN LPSOCKADDR_IN_IPV6INCOMPATIBLE
30 #undef INADDR_ANY
31 #define INADDR_ANY INADDR_ANY_IPV6INCOMPATIBLE
32 #undef INADDR_LOOPBACK
33 #define INADDR_LOOPBACK INADDR_LOOPBACK_IPV6INCOMPATIBLE
34 #undef IPPROTO_IP
35 #define IPPROTO_IP IPPROTO_IP_IPV6INCOMPATIBLE
36 #undef IP_MULTICAST_IF
37 #define IP_MULTICAST_IF IP_MULTICAST_IF_IPV6INCOMPATIBLE
38 #undef IP_MULTICAST_TTL
39 #define IP_MULTICAST_TTL IP_MULTICAST_TTL_IPV6INCOMPATIBLE
40 #undef IP_MULTICAST_LOOP
41 #define IP_MULTICAST_LOOP IP_MULTICAST_LOOP_IPV6INCOMPATIBLE
42 #undef IP_ADD_MEMBERSHIP
43 #define IP_ADD_MEMBERSHIP IP_ADD_MEMBERSHIP_IPV6INCOMPATIBLE
44 #undef IP_DROP_MEMBERSHIP
45 #define IP_DROP_MEMBERSHIP IP_DROP_MEMBERSHIP_IPV6INCOMPATIBLE
46 #undef ip_mreq
47 #define ip_mreq ip_mreq_IPV6INCOMPATIBLE
48 #undef gethostbyname
49 #define gethostbyname(a) gethostbyname_IPV6INCOMPATIBLE
50 #undef hostent
51 #define hostent hostent_IPV6INCOMPATIBLE
52 #undef HOSTENT
53 #define HOSTENT HOSTENT_IPV6INCOMPATIBLE
54 #undef PHOSTENT
55 #define PHOSTENT PHOSTENT_IPV6INCOMPATIBLE
56 #undef LPHOSTENT
57 #define LPHOSTENT LPHOSTENT_IPV6INCOMPATIBLE
58 #undef inet_addr
59 #define inet_addr(a) inet_addr_IPV6INCOMPATIBLE
60 #undef gethostbyaddr
61 #define gethostbyaddr(a,b,c) gethostbyaddr_IPV6INCOMPATIBLE
62 #undef inet_ntoa
63 #define inet_ntoa(a) inet_ntoa_IPV6INCOMPATIBLE
64 #undef IN_MULTICAST
65 #define IN_MULTICAST(a) IN_MULTICAST_IPV6INCOMPATIBLE
66 #undef IN_CLASSD
67 #define IN_CLASSD(a) IN_CLASSD_IPV6INCOMPATIBLE
68 #undef IP_TTL
69 #define IP_TTL IP_TTL_IPV6INCOMPATIBLE
70 #undef IN_CLASSA
71 #define IN_CLASSA(a) IN_CLASSA_IPV6INCOMPATIBLE
72 #undef IN_CLASSB
73 #define IN_CLASSB(a) IN_CLASSB_IPV6INCOMPATIBLE
74 #undef IN_CLASSC
75 #define IN_CLASSC(a) IN_CLASSC_IPV6INCOMPATIBLE
76 #undef INADDR_BROADCAST
77 #define INADDR_BROADCAST(a) INADDR_BROADCAST_IPV6INCOMPATIBLE
78 #undef WSAAsyncGetHostByAddr
79 #define WSAAsyncGetHostByAddr(a,b,c,d,e,f,g) WSAAsyncGetHostByAddr_IPV6INCOMPATIBLE
80 #undef WSAAsyncGetHostByName
81 #define WSAAsyncGetHostByName(a,b,c,d,e) WSAAsyncGetHostByName_IPV6INCOMPATIBLE
82
83 #endif