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
c342ef3c
Commit
c342ef3c
authored
Jun 17, 2020
by
Paul Gofman
Committed by
Alexandre Julliard
Jun 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netio.sys: Add stub interface for connection sockets.
Signed-off-by:
Paul Gofman
<
pgofman@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
60c8c780
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
88 additions
and
0 deletions
+88
-0
netio.c
dlls/netio.sys/netio.c
+88
-0
No files found.
dlls/netio.sys/netio.c
View file @
c342ef3c
...
...
@@ -181,6 +181,90 @@ static const WSK_PROVIDER_LISTEN_DISPATCH wsk_provider_listen_dispatch =
wsk_get_local_address
,
};
static
NTSTATUS
WINAPI
wsk_connect
(
WSK_SOCKET
*
socket
,
SOCKADDR
*
remote_address
,
ULONG
flags
,
IRP
*
irp
)
{
FIXME
(
"socket %p, remote_address %p, flags %#x, irp %p stub.
\n
"
,
socket
,
remote_address
,
flags
,
irp
);
return
STATUS_NOT_IMPLEMENTED
;
}
static
NTSTATUS
WINAPI
wsk_get_remote_address
(
WSK_SOCKET
*
socket
,
SOCKADDR
*
remote_address
,
IRP
*
irp
)
{
FIXME
(
"socket %p, remote_address %p, irp %p stub.
\n
"
,
socket
,
remote_address
,
irp
);
return
STATUS_NOT_IMPLEMENTED
;
}
static
NTSTATUS
WINAPI
wsk_send
(
WSK_SOCKET
*
socket
,
WSK_BUF
*
buffer
,
ULONG
flags
,
IRP
*
irp
)
{
FIXME
(
"socket %p, buffer %p, flags %#x, irp %p stub.
\n
"
,
socket
,
buffer
,
flags
,
irp
);
return
STATUS_NOT_IMPLEMENTED
;
}
static
NTSTATUS
WINAPI
wsk_receive
(
WSK_SOCKET
*
socket
,
WSK_BUF
*
buffer
,
ULONG
flags
,
IRP
*
irp
)
{
FIXME
(
"socket %p, buffer %p, flags %#x, irp %p stub.
\n
"
,
socket
,
buffer
,
flags
,
irp
);
return
STATUS_NOT_IMPLEMENTED
;
}
static
NTSTATUS
WINAPI
wsk_disconnect
(
WSK_SOCKET
*
socket
,
WSK_BUF
*
buffer
,
ULONG
flags
,
IRP
*
irp
)
{
FIXME
(
"socket %p, buffer %p, flags %#x, irp %p stub.
\n
"
,
socket
,
buffer
,
flags
,
irp
);
return
STATUS_NOT_IMPLEMENTED
;
}
static
NTSTATUS
WINAPI
wsk_release
(
WSK_SOCKET
*
socket
,
WSK_DATA_INDICATION
*
data_indication
)
{
FIXME
(
"socket %p, data_indication %p stub.
\n
"
,
socket
,
data_indication
);
return
STATUS_NOT_IMPLEMENTED
;
}
static
NTSTATUS
WINAPI
wsk_connext_ex
(
WSK_SOCKET
*
socket
,
SOCKADDR
*
remote_address
,
WSK_BUF
*
buffer
,
ULONG
flags
,
IRP
*
irp
)
{
FIXME
(
"socket %p, remote_address %p, buffer %p, flags %#x, irp %p stub.
\n
"
,
socket
,
remote_address
,
buffer
,
flags
,
irp
);
return
STATUS_NOT_IMPLEMENTED
;
}
static
NTSTATUS
WINAPI
wsk_send_ex
(
void
)
{
FIXME
(
"stub (no prototype, will crash).
\n
"
);
return
STATUS_NOT_IMPLEMENTED
;
}
static
NTSTATUS
WINAPI
wsk_receive_ex
(
void
)
{
FIXME
(
"stub (no prototype, will crash).
\n
"
);
return
STATUS_NOT_IMPLEMENTED
;
}
static
const
WSK_PROVIDER_CONNECTION_DISPATCH
wsk_provider_connection_dispatch
=
{
{
wsk_control_socket
,
wsk_close_socket
,
},
wsk_bind
,
wsk_connect
,
wsk_get_local_address
,
wsk_get_remote_address
,
wsk_send
,
wsk_receive
,
wsk_disconnect
,
wsk_release
,
wsk_connext_ex
,
wsk_send_ex
,
wsk_receive_ex
,
};
static
NTSTATUS
WINAPI
wsk_socket
(
WSK_CLIENT
*
client
,
ADDRESS_FAMILY
address_family
,
USHORT
socket_type
,
ULONG
protocol
,
ULONG
flags
,
void
*
socket_context
,
const
void
*
dispatch
,
PEPROCESS
owning_process
,
PETHREAD
owning_thread
,
SECURITY_DESCRIPTOR
*
security_descriptor
,
IRP
*
irp
)
...
...
@@ -225,6 +309,10 @@ static NTSTATUS WINAPI wsk_socket(WSK_CLIENT *client, ADDRESS_FAMILY address_fam
socket
->
wsk_socket
.
Dispatch
=
&
wsk_provider_listen_dispatch
;
break
;
case
WSK_FLAG_CONNECTION_SOCKET
:
socket
->
wsk_socket
.
Dispatch
=
&
wsk_provider_connection_dispatch
;
break
;
default:
FIXME
(
"Flags %#x not implemented.
\n
"
,
flags
);
closesocket
(
s
);
...
...
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