ReactOS 0.4.16-dev-297-gc569aee
handler.c File Reference
#include "precomp.h"
#include <debug.h>
Include dependency graph for handler.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

NTSTATUS NTAPI TdiDefaultChainedRcvDatagramHandler (IN PVOID TdiEventContext, IN LONG SourceAddressLength, IN PVOID SourceAddress, IN LONG OptionsLength, IN PVOID Options, IN ULONG ReceiveDatagramFlags, IN ULONG ReceiveDatagramLength, IN ULONG StartingOffset, IN PMDL Tsdu, IN PVOID TsduDescriptor)
 
NTSTATUS NTAPI TdiDefaultChainedRcvExpeditedHandler (IN PVOID TdiEventContext, IN CONNECTION_CONTEXT ConnectionContext, IN ULONG ReceiveFlags, IN ULONG ReceiveLength, IN ULONG StartingOffset, IN PMDL Tsdu, IN PVOID TsduDescriptor)
 
NTSTATUS NTAPI TdiDefaultChainedReceiveHandler (IN PVOID TdiEventContext, IN CONNECTION_CONTEXT ConnectionContext, IN ULONG ReceiveFlags, IN ULONG ReceiveLength, IN ULONG StartingOffset, IN PMDL Tsdu, IN PVOID TsduDescriptor)
 
NTSTATUS NTAPI TdiDefaultConnectHandler (IN PVOID TdiEventContext, IN LONG RemoteAddressLength, IN PVOID RemoteAddress, IN LONG UserDataLength, IN PVOID UserData, IN LONG OptionsLength, IN PVOID Options, OUT CONNECTION_CONTEXT *ConnectionContext, OUT PIRP *AcceptIrp)
 
NTSTATUS NTAPI TdiDefaultDisconnectHandler (IN PVOID TdiEventContext, IN CONNECTION_CONTEXT ConnectionContext, IN LONG DisconnectDataLength, IN PVOID DisconnectData, IN LONG DisconnectInformationLength, IN PVOID DisconnectInformation, IN ULONG DisconnectFlags)
 
NTSTATUS NTAPI TdiDefaultErrorHandler (IN PVOID TdiEventContext, IN NTSTATUS Status)
 
NTSTATUS NTAPI TdiDefaultRcvDatagramHandler (IN PVOID TdiEventContext, IN LONG SourceAddressLength, IN PVOID SourceAddress, IN LONG OptionsLength, IN PVOID Options, IN ULONG ReceiveDatagramFlags, IN ULONG BytesIndicated, IN ULONG BytesAvailable, OUT ULONG *BytesTaken, IN PVOID Tsdu, OUT PIRP *IoRequestPacket)
 
TDI_STATUS NTAPI TdiDefaultRcvExpeditedHandler (IN PVOID TdiEventContext, IN CONNECTION_CONTEXT ConnectionContext, IN ULONG ReceiveFlags, IN ULONG BytesIndicated, IN ULONG BytesAvailable, OUT ULONG *BytesTaken, IN PVOID Tsdu, OUT PIRP *IoRequestPacket)
 
NTSTATUS NTAPI TdiDefaultReceiveHandler (IN PVOID TdiEventContext, IN CONNECTION_CONTEXT ConnectionContext, IN ULONG ReceiveFlags, IN ULONG BytesIndicated, IN ULONG BytesAvailable, OUT ULONG *BytesTaken, IN PVOID Tsdu, OUT PIRP *IoRequestPacket)
 
TDI_STATUS NTAPI TdiDefaultSendPossibleHandler (IN PVOID TdiEventContext, IN PVOID ConnectionContext, IN ULONG BytesAvailable)
 
NTSTATUS NTAPI TdiRegisterPnPHandlers (_In_ PTDI_CLIENT_INTERFACE_INFO ClientInterfaceInfo, _In_ ULONG InterfaceInfoSize, _Out_ HANDLE *BindingHandle)
 
NTSTATUS NTAPI TdiDeregisterPnPHandlers (_In_ HANDLE BindingHandle)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 7 of file handler.c.

Function Documentation

◆ TdiDefaultChainedRcvDatagramHandler()

NTSTATUS NTAPI TdiDefaultChainedRcvDatagramHandler ( IN PVOID  TdiEventContext,
IN LONG  SourceAddressLength,
IN PVOID  SourceAddress,
IN LONG  OptionsLength,
IN PVOID  Options,
IN ULONG  ReceiveDatagramFlags,
IN ULONG  ReceiveDatagramLength,
IN ULONG  StartingOffset,
IN PMDL  Tsdu,
IN PVOID  TsduDescriptor 
)

Definition at line 17 of file handler.c.

29{
32}
#define UNIMPLEMENTED
Definition: ntoskrnl.c:15
#define STATUS_NOT_IMPLEMENTED
Definition: d3dkmdt.h:42

◆ TdiDefaultChainedRcvExpeditedHandler()

NTSTATUS NTAPI TdiDefaultChainedRcvExpeditedHandler ( IN PVOID  TdiEventContext,
IN CONNECTION_CONTEXT  ConnectionContext,
IN ULONG  ReceiveFlags,
IN ULONG  ReceiveLength,
IN ULONG  StartingOffset,
IN PMDL  Tsdu,
IN PVOID  TsduDescriptor 
)

Definition at line 42 of file handler.c.

51{
54}

◆ TdiDefaultChainedReceiveHandler()

NTSTATUS NTAPI TdiDefaultChainedReceiveHandler ( IN PVOID  TdiEventContext,
IN CONNECTION_CONTEXT  ConnectionContext,
IN ULONG  ReceiveFlags,
IN ULONG  ReceiveLength,
IN ULONG  StartingOffset,
IN PMDL  Tsdu,
IN PVOID  TsduDescriptor 
)

Definition at line 64 of file handler.c.

73{
76}

◆ TdiDefaultConnectHandler()

NTSTATUS NTAPI TdiDefaultConnectHandler ( IN PVOID  TdiEventContext,
IN LONG  RemoteAddressLength,
IN PVOID  RemoteAddress,
IN LONG  UserDataLength,
IN PVOID  UserData,
IN LONG  OptionsLength,
IN PVOID  Options,
OUT CONNECTION_CONTEXT ConnectionContext,
OUT PIRP AcceptIrp 
)

Definition at line 86 of file handler.c.

97{
100}

◆ TdiDefaultDisconnectHandler()

NTSTATUS NTAPI TdiDefaultDisconnectHandler ( IN PVOID  TdiEventContext,
IN CONNECTION_CONTEXT  ConnectionContext,
IN LONG  DisconnectDataLength,
IN PVOID  DisconnectData,
IN LONG  DisconnectInformationLength,
IN PVOID  DisconnectInformation,
IN ULONG  DisconnectFlags 
)

Definition at line 110 of file handler.c.

119{
122}

◆ TdiDefaultErrorHandler()

NTSTATUS NTAPI TdiDefaultErrorHandler ( IN PVOID  TdiEventContext,
IN NTSTATUS  Status 
)

Definition at line 132 of file handler.c.

136{
139}

◆ TdiDefaultRcvDatagramHandler()

NTSTATUS NTAPI TdiDefaultRcvDatagramHandler ( IN PVOID  TdiEventContext,
IN LONG  SourceAddressLength,
IN PVOID  SourceAddress,
IN LONG  OptionsLength,
IN PVOID  Options,
IN ULONG  ReceiveDatagramFlags,
IN ULONG  BytesIndicated,
IN ULONG  BytesAvailable,
OUT ULONG BytesTaken,
IN PVOID  Tsdu,
OUT PIRP IoRequestPacket 
)

Definition at line 149 of file handler.c.

162{
165}

◆ TdiDefaultRcvExpeditedHandler()

TDI_STATUS NTAPI TdiDefaultRcvExpeditedHandler ( IN PVOID  TdiEventContext,
IN CONNECTION_CONTEXT  ConnectionContext,
IN ULONG  ReceiveFlags,
IN ULONG  BytesIndicated,
IN ULONG  BytesAvailable,
OUT ULONG BytesTaken,
IN PVOID  Tsdu,
OUT PIRP IoRequestPacket 
)

Definition at line 175 of file handler.c.

185{
188}

◆ TdiDefaultReceiveHandler()

NTSTATUS NTAPI TdiDefaultReceiveHandler ( IN PVOID  TdiEventContext,
IN CONNECTION_CONTEXT  ConnectionContext,
IN ULONG  ReceiveFlags,
IN ULONG  BytesIndicated,
IN ULONG  BytesAvailable,
OUT ULONG BytesTaken,
IN PVOID  Tsdu,
OUT PIRP IoRequestPacket 
)

Definition at line 198 of file handler.c.

208{
211}

◆ TdiDefaultSendPossibleHandler()

TDI_STATUS NTAPI TdiDefaultSendPossibleHandler ( IN PVOID  TdiEventContext,
IN PVOID  ConnectionContext,
IN ULONG  BytesAvailable 
)

Definition at line 221 of file handler.c.

226{
229}

◆ TdiDeregisterPnPHandlers()

NTSTATUS NTAPI TdiDeregisterPnPHandlers ( _In_ HANDLE  BindingHandle)

Definition at line 244 of file handler.c.

246{
249}

◆ TdiRegisterPnPHandlers()

NTSTATUS NTAPI TdiRegisterPnPHandlers ( _In_ PTDI_CLIENT_INTERFACE_INFO  ClientInterfaceInfo,
_In_ ULONG  InterfaceInfoSize,
_Out_ HANDLE BindingHandle 
)

Definition at line 233 of file handler.c.

237{
240}