ReactOS  0.4.15-dev-499-g1f31905
rawip.h
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: See COPYING in the top level directory
3  * PROJECT: ReactOS TCP/IP protocol driver
4  * FILE: include/rawip.h
5  * PURPOSE: Raw IP types and constants
6  */
7 
8 #pragma once
9 
11  PADDRESS_FILE AddrFile,
13  PCHAR Buffer,
15  PULONG DataUsed);
16 
19  PIP_PACKET IPPacket);
20 
22  VOID);
23 
25  VOID);
26 
28  PADDRESS_FILE AddrFile,
30  USHORT RemotePort,
32  USHORT LocalPort,
33  PIP_PACKET IPPacket,
35  UINT Protocol,
36  UINT ExtraLength,
37  PVOID *NextHeader );
38 
40  PADDRESS_FILE AddrFile,
43  USHORT RemotePort,
45  USHORT LocalPort,
46  PCHAR DataBuffer,
47  UINT DataLen);
48 
49 /* EOF */
signed char * PCHAR
Definition: retypes.h:7
NTSTATUS RawIPShutdown(VOID)
Definition: rawip.c:356
_In_ NDIS_HANDLE _In_ PNDIS_PACKET Packet
Definition: ndis.h:1548
LONG NTSTATUS
Definition: precomp.h:26
NTSTATUS RawIPStartup(VOID)
Definition: rawip.c:338
Definition: ip.h:23
NTSTATUS AddGenericHeaderIPv4(PADDRESS_FILE AddrFile, PIP_ADDRESS RemoteAddress, USHORT RemotePort, PIP_ADDRESS LocalAddress, USHORT LocalPort, PIP_PACKET IPPacket, UINT DataLength, UINT Protocol, UINT ExtraLength, PVOID *NextHeader)
Definition: rawip.c:13
Definition: bufpool.h:45
IN PVOID IN PVOID IN USHORT IN USHORT IN PINTERFACE Interface
Definition: pci.h:361
NTSTATUS RawIPSendDatagram(PADDRESS_FILE AddrFile, PTDI_CONNECTION_INFORMATION ConnInfo, PCHAR Buffer, ULONG DataSize, PULONG DataUsed)
Definition: rawip.c:171
NTSTATUS BuildRawIpPacket(PADDRESS_FILE AddrFile, PIP_PACKET Packet, PIP_ADDRESS RemoteAddress, USHORT RemotePort, PIP_ADDRESS LocalAddress, USHORT LocalPort, PCHAR DataBuffer, UINT DataLen)
Definition: rawip.c:86
VOID RawIpReceive(PIP_INTERFACE Interface, PIP_PACKET IPPacket)
Definition: rawip.c:267
unsigned short USHORT
Definition: pedump.c:61
unsigned int * PULONG
Definition: retypes.h:1
unsigned int UINT
Definition: ndis.h:50
unsigned int ULONG
Definition: retypes.h:1
Definition: ip.h:77
_Must_inspect_result_ _Out_writes_to_ DataLength PHIDP_DATA _Inout_ PULONG DataLength
Definition: hidpi.h:333
_In_ NDIS_STATUS _In_ ULONG _In_ USHORT _In_opt_ PVOID _In_ ULONG DataSize
Definition: ndis.h:4751
_Must_inspect_result_ _In_ ULONG _In_ PSOCKADDR _In_ PSOCKADDR RemoteAddress
Definition: wsk.h:170
_Must_inspect_result_ _In_ ULONG _In_ PSOCKADDR LocalAddress
Definition: wsk.h:170