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
77a21c6e
Commit
77a21c6e
authored
May 29, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Nov 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Check for some more IP socket options at compile time.
NetBSD doesn't provide these. Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=51843
parent
ca7684f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
socket.c
dlls/ntdll/unix/socket.c
+8
-0
No files found.
dlls/ntdll/unix/socket.c
View file @
77a21c6e
...
...
@@ -1998,11 +1998,15 @@ NTSTATUS sock_ioctl( HANDLE handle, HANDLE event, PIO_APC_ROUTINE apc, void *apc
case
IOCTL_AFD_WINE_SET_IP_ADD_MEMBERSHIP
:
return
do_setsockopt
(
handle
,
io
,
IPPROTO_IP
,
IP_ADD_MEMBERSHIP
,
in_buffer
,
in_size
);
#ifdef IP_ADD_SOURCE_MEMBERSHIP
case
IOCTL_AFD_WINE_SET_IP_ADD_SOURCE_MEMBERSHIP
:
return
do_setsockopt
(
handle
,
io
,
IPPROTO_IP
,
IP_ADD_SOURCE_MEMBERSHIP
,
in_buffer
,
in_size
);
#endif
#ifdef IP_BLOCK_SOURCE
case
IOCTL_AFD_WINE_SET_IP_BLOCK_SOURCE
:
return
do_setsockopt
(
handle
,
io
,
IPPROTO_IP
,
IP_BLOCK_SOURCE
,
in_buffer
,
in_size
);
#endif
case
IOCTL_AFD_WINE_GET_IP_DONTFRAGMENT
:
{
...
...
@@ -2066,8 +2070,10 @@ NTSTATUS sock_ioctl( HANDLE handle, HANDLE event, PIO_APC_ROUTINE apc, void *apc
case
IOCTL_AFD_WINE_SET_IP_DROP_MEMBERSHIP
:
return
do_setsockopt
(
handle
,
io
,
IPPROTO_IP
,
IP_DROP_MEMBERSHIP
,
in_buffer
,
in_size
);
#ifdef IP_ADD_SOURCE_MEMBERSHIP
case
IOCTL_AFD_WINE_SET_IP_DROP_SOURCE_MEMBERSHIP
:
return
do_setsockopt
(
handle
,
io
,
IPPROTO_IP
,
IP_DROP_SOURCE_MEMBERSHIP
,
in_buffer
,
in_size
);
#endif
#ifdef IP_HDRINCL
case
IOCTL_AFD_WINE_GET_IP_HDRINCL
:
...
...
@@ -2201,8 +2207,10 @@ NTSTATUS sock_ioctl( HANDLE handle, HANDLE event, PIO_APC_ROUTINE apc, void *apc
case
IOCTL_AFD_WINE_SET_IP_TTL
:
return
do_setsockopt
(
handle
,
io
,
IPPROTO_IP
,
IP_TTL
,
in_buffer
,
in_size
);
#ifdef IP_UNBLOCK_SOURCE
case
IOCTL_AFD_WINE_SET_IP_UNBLOCK_SOURCE
:
return
do_setsockopt
(
handle
,
io
,
IPPROTO_IP
,
IP_UNBLOCK_SOURCE
,
in_buffer
,
in_size
);
#endif
#ifdef IP_UNICAST_IF
case
IOCTL_AFD_WINE_GET_IP_UNICAST_IF
:
...
...
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