Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1d49c669
Commit
1d49c669
authored
Apr 09, 2012
by
Erich Hoover
Committed by
Alexandre Julliard
Apr 10, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Implement IPV6_UNICAST_IF socket option.
parent
313d36d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
socket.c
dlls/ws2_32/socket.c
+9
-0
No files found.
dlls/ws2_32/socket.c
View file @
1d49c669
...
...
@@ -401,6 +401,9 @@ static const int ws_ipv6_map[][2] =
MAP_OPTION
(
IPV6_MULTICAST_LOOP
),
MAP_OPTION
(
IPV6_UNICAST_HOPS
),
MAP_OPTION
(
IPV6_V6ONLY
),
#ifdef IPV6_UNICAST_IF
MAP_OPTION
(
IPV6_UNICAST_IF
),
#endif
};
static
const
int
ws_af_map
[][
2
]
=
...
...
@@ -2884,6 +2887,9 @@ INT WINAPI WS_getsockopt(SOCKET s, INT level,
case
WS_IPV6_MULTICAST_LOOP
:
case
WS_IPV6_UNICAST_HOPS
:
case
WS_IPV6_V6ONLY
:
#ifdef IPV6_UNICAST_IF
case
WS_IPV6_UNICAST_IF
:
#endif
if
(
(
fd
=
get_sock_fd
(
s
,
0
,
NULL
))
==
-
1
)
return
SOCKET_ERROR
;
convert_sockopt
(
&
level
,
&
optname
);
...
...
@@ -4302,6 +4308,9 @@ int WINAPI WS_setsockopt(SOCKET s, int level, int optname,
case
WS_IPV6_MULTICAST_LOOP
:
case
WS_IPV6_UNICAST_HOPS
:
case
WS_IPV6_V6ONLY
:
#ifdef IPV6_UNICAST_IF
case
WS_IPV6_UNICAST_IF
:
#endif
convert_sockopt
(
&
level
,
&
optname
);
break
;
case
WS_IPV6_DONTFRAG
:
...
...
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