include: Add remaining IPv4 socket options.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2021-08-08 21:44:03 -06:00 committed by Alexandre Julliard
parent 9ce8aafdae
commit efb050284a

View file

@ -83,6 +83,7 @@ typedef struct _INTERFACE_INFO
#define IP_UNBLOCK_SOURCE 18
#define IP_PKTINFO 19
#define IP_HOPLIMIT 21
#define IP_RECVTTL 21
#define IP_RECEIVE_BROADCAST 22
#define IP_RECVIF 24
#define IP_RECVDSTADDR 25
@ -91,7 +92,21 @@ typedef struct _INTERFACE_INFO
#define IP_DEL_IFLIST 30
#define IP_UNICAST_IF 31
#define IP_RTHDR 32
#define IP_GET_IFLIST 33
#define IP_RECVRTHDR 38
#define IP_TCLASS 39
#define IP_RECVTCLASS 40
#define IP_RECVTOS 40
#define IP_ORIGINAL_ARRIVAL_IF 47
#define IP_ECN 50
#define IP_PKTINFO_EX 51
#define IP_WFP_REDIRECT_RECORDS 60
#define IP_WFP_REDIRECT_CONTEXT 70
#define IP_MTU_DISCOVER 71
#define IP_MTU 73
#define IP_NRT_INTERFACE 74
#define IP_RECVERR 75
#define IP_USER_MTU 76
#else
#define WS_IP_OPTIONS 1
#define WS_IP_HDRINCL 2
@ -109,6 +124,7 @@ typedef struct _INTERFACE_INFO
#define WS_IP_UNBLOCK_SOURCE 18
#define WS_IP_PKTINFO 19
#define WS_IP_HOPLIMIT 21
#define WS_IP_RECVTTL 21
#define WS_IP_RECEIVE_BROADCAST 22
#define WS_IP_RECVIF 24
#define WS_IP_RECVDSTADDR 25
@ -117,7 +133,21 @@ typedef struct _INTERFACE_INFO
#define WS_IP_DEL_IFLIST 30
#define WS_IP_UNICAST_IF 31
#define WS_IP_RTHDR 32
#define WS_IP_GET_IFLIST 33
#define WS_IP_RECVRTHDR 38
#define WS_IP_TCLASS 39
#define WS_IP_RECVTCLASS 40
#define WS_IP_RECVTOS 40
#define WS_IP_ORIGINAL_ARRIVAL_IF 47
#define WS_IP_ECN 50
#define WS_IP_PKTINFO_EX 51
#define WS_IP_WFP_REDIRECT_RECORDS 60
#define WS_IP_WFP_REDIRECT_CONTEXT 70
#define WS_IP_MTU_DISCOVER 71
#define WS_IP_MTU 73
#define WS_IP_NRT_INTERFACE 74
#define WS_IP_RECVERR 75
#define WS_IP_USER_MTU 76
#endif /* USE_WS_PREFIX */
typedef struct WS(sockaddr_in6)