Merge from amd64-branch:
[reactos.git] / reactos / drivers / network / tcpip / include / dispatch.h
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS TCP/IP protocol driver
4 * FILE: include/dispatch.h
5 * PURPOSE: Dispatch routine prototypes
6 */
7 #ifndef __DISPATCH_H
8 #define __DISPATCH_H
9
10 typedef struct _DISCONNECT_TYPE {
11 UINT Type;
12 PVOID Context;
13 PIRP Irp;
14 } DISCONNECT_TYPE, *PDISCONNECT_TYPE;
15
16 NTSTATUS DispTdiAccept(
17 PIRP Irp);
18
19 NTSTATUS DispTdiAssociateAddress(
20 PIRP Irp);
21
22 NTSTATUS DispTdiConnect(
23 PIRP Irp);
24
25 NTSTATUS DispTdiDisassociateAddress(
26 PIRP Irp);
27
28 NTSTATUS DispTdiDisconnect(
29 PIRP Irp);
30
31 NTSTATUS DispTdiListen(
32 PIRP Irp);
33
34 NTSTATUS DispTdiQueryInformation(
35 PDEVICE_OBJECT DeviceObject,
36 PIRP Irp);
37
38 NTSTATUS DispTdiReceive(
39 PIRP Irp);
40
41 NTSTATUS DispTdiReceiveDatagram(
42 PIRP Irp);
43
44 NTSTATUS DispTdiSend(
45 PIRP Irp);
46
47 NTSTATUS DispTdiSendDatagram(
48 PIRP Irp);
49
50 NTSTATUS DispTdiSetEventHandler(
51 PIRP Irp);
52
53 NTSTATUS DispTdiSetInformation(
54 PIRP Irp);
55
56 NTSTATUS DispTdiQueryInformationEx(
57 PIRP Irp,
58 PIO_STACK_LOCATION IrpSp);
59
60 NTSTATUS DispTdiSetInformationEx(
61 PIRP Irp,
62 PIO_STACK_LOCATION IrpSp);
63
64 NTSTATUS DispTdiSetIPAddress(
65 PIRP Irp,
66 PIO_STACK_LOCATION IrpSp);
67
68 NTSTATUS DispTdiDeleteIPAddress(
69 PIRP Irp,
70 PIO_STACK_LOCATION IrpSp);
71
72 VOID DispDoDisconnect(
73 PVOID Data);
74
75 NTSTATUS IRPFinish( PIRP Irp, NTSTATUS Status );
76
77 #endif /* __DISPATCH_H */
78
79 /* EOF */