ws2_32: Move the setsockopt(IP_ADD_SOURCE_MEMBERSHIP) implementation to ntdll.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1cda1ce157
commit
1749a43cc7
|
@ -1678,6 +1678,9 @@ 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 );
|
||||
|
||||
case IOCTL_AFD_WINE_SET_IP_ADD_SOURCE_MEMBERSHIP:
|
||||
return do_setsockopt( handle, io, IPPROTO_IP, IP_ADD_SOURCE_MEMBERSHIP, in_buffer, in_size );
|
||||
|
||||
default:
|
||||
{
|
||||
if ((code >> 16) == FILE_DEVICE_NETWORK)
|
||||
|
|
|
@ -3628,6 +3628,8 @@ int WINAPI WS_setsockopt(SOCKET s, int level, int optname,
|
|||
return server_setsockopt( s, IOCTL_AFD_WINE_SET_IP_ADD_MEMBERSHIP, optval, optlen );
|
||||
|
||||
case WS_IP_ADD_SOURCE_MEMBERSHIP:
|
||||
return server_setsockopt( s, IOCTL_AFD_WINE_SET_IP_ADD_SOURCE_MEMBERSHIP, optval, optlen );
|
||||
|
||||
case WS_IP_DROP_SOURCE_MEMBERSHIP:
|
||||
case WS_IP_BLOCK_SOURCE:
|
||||
case WS_IP_UNBLOCK_SOURCE:
|
||||
|
|
|
@ -182,6 +182,7 @@ struct afd_get_events_params
|
|||
#define IOCTL_AFD_WINE_GET_SO_SNDTIMEO WINE_AFD_IOC(237)
|
||||
#define IOCTL_AFD_WINE_SET_SO_SNDTIMEO WINE_AFD_IOC(238)
|
||||
#define IOCTL_AFD_WINE_SET_IP_ADD_MEMBERSHIP WINE_AFD_IOC(239)
|
||||
#define IOCTL_AFD_WINE_SET_IP_ADD_SOURCE_MEMBERSHIP WINE_AFD_IOC(240)
|
||||
|
||||
struct afd_create_params
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue