Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
958ed34f
Commit
958ed34f
authored
Nov 23, 2015
by
Bruno Jesus
Committed by
Alexandre Julliard
Nov 23, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
>
parent
cff5c73e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
10 deletions
+14
-10
socket.c
dlls/ws2_32/socket.c
+3
-1
winsock.h
include/winsock.h
+11
-9
No files found.
dlls/ws2_32/socket.c
View file @
958ed34f
...
...
@@ -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
;
...
...
include/winsock.h
View file @
958ed34f
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment