ws2_32: Add a couple of options to sockopt debug.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
cff5c73e68
commit
958ed34f16
|
@ -373,6 +373,7 @@ static inline const char *debugstr_sockopt(int level, int optname)
|
|||
DEBUG_SOCKOPT(WS_SO_SNDBUF);
|
||||
DEBUG_SOCKOPT(WS_SO_SNDTIMEO);
|
||||
DEBUG_SOCKOPT(WS_SO_TYPE);
|
||||
DEBUG_SOCKOPT(WS_SO_UPDATE_CONNECT_CONTEXT);
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -409,6 +410,7 @@ static inline const char *debugstr_sockopt(int level, int optname)
|
|||
switch(optname)
|
||||
{
|
||||
DEBUG_SOCKOPT(WS_IP_ADD_MEMBERSHIP);
|
||||
DEBUG_SOCKOPT(WS_IP_DONTFRAGMENT);
|
||||
DEBUG_SOCKOPT(WS_IP_DROP_MEMBERSHIP);
|
||||
DEBUG_SOCKOPT(WS_IP_HDRINCL);
|
||||
DEBUG_SOCKOPT(WS_IP_MULTICAST_IF);
|
||||
|
@ -416,10 +418,10 @@ static inline const char *debugstr_sockopt(int level, int optname)
|
|||
DEBUG_SOCKOPT(WS_IP_MULTICAST_TTL);
|
||||
DEBUG_SOCKOPT(WS_IP_OPTIONS);
|
||||
DEBUG_SOCKOPT(WS_IP_PKTINFO);
|
||||
DEBUG_SOCKOPT(WS_IP_RECEIVE_BROADCAST);
|
||||
DEBUG_SOCKOPT(WS_IP_TOS);
|
||||
DEBUG_SOCKOPT(WS_IP_TTL);
|
||||
DEBUG_SOCKOPT(WS_IP_UNICAST_IF);
|
||||
DEBUG_SOCKOPT(WS_IP_DONTFRAGMENT);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
@ -730,16 +730,18 @@ typedef struct WS(WSAData)
|
|||
# define IP_TTL 7
|
||||
# define IP_TOS 8
|
||||
# define IP_DONTFRAGMENT 9
|
||||
# define IP_RECEIVE_BROADCAST 22
|
||||
# else
|
||||
# define WS_IP_OPTIONS 1
|
||||
# define WS_IP_MULTICAST_IF 2
|
||||
# define WS_IP_MULTICAST_TTL 3
|
||||
# define WS_IP_MULTICAST_LOOP 4
|
||||
# define WS_IP_ADD_MEMBERSHIP 5
|
||||
# define WS_IP_DROP_MEMBERSHIP 6
|
||||
# define WS_IP_TTL 7
|
||||
# define WS_IP_TOS 8
|
||||
# define WS_IP_DONTFRAGMENT 9
|
||||
# define WS_IP_OPTIONS 1
|
||||
# define WS_IP_MULTICAST_IF 2
|
||||
# define WS_IP_MULTICAST_TTL 3
|
||||
# define WS_IP_MULTICAST_LOOP 4
|
||||
# define WS_IP_ADD_MEMBERSHIP 5
|
||||
# define WS_IP_DROP_MEMBERSHIP 6
|
||||
# define WS_IP_TTL 7
|
||||
# define WS_IP_TOS 8
|
||||
# define WS_IP_DONTFRAGMENT 9
|
||||
# define WS_IP_RECEIVE_BROADCAST 22
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue