2000-08-02 00:24:26 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS TCP/IP protocol driver
|
|
|
|
* FILE: include/rawip.h
|
|
|
|
* PURPOSE: Raw IP types and constants
|
|
|
|
*/
|
2010-02-26 11:43:19 +00:00
|
|
|
|
|
|
|
#pragma once
|
2000-08-02 00:24:26 +00:00
|
|
|
|
|
|
|
NTSTATUS RawIPSendDatagram(
|
2004-10-03 20:38:48 +00:00
|
|
|
PADDRESS_FILE AddrFile,
|
2000-08-02 00:24:26 +00:00
|
|
|
PTDI_CONNECTION_INFORMATION ConnInfo,
|
2004-10-03 20:38:48 +00:00
|
|
|
PCHAR Buffer,
|
2004-07-08 06:36:04 +00:00
|
|
|
ULONG DataSize,
|
|
|
|
PULONG DataUsed);
|
2000-08-02 00:24:26 +00:00
|
|
|
|
2009-07-19 14:48:48 +00:00
|
|
|
VOID RawIpReceive(
|
2004-11-25 23:56:59 +00:00
|
|
|
PIP_INTERFACE Interface,
|
2001-06-04 11:26:13 +00:00
|
|
|
PIP_PACKET IPPacket);
|
|
|
|
|
2000-08-02 00:24:26 +00:00
|
|
|
NTSTATUS RawIPStartup(
|
|
|
|
VOID);
|
|
|
|
|
|
|
|
NTSTATUS RawIPShutdown(
|
|
|
|
VOID);
|
|
|
|
|
2005-01-22 06:47:33 +00:00
|
|
|
NTSTATUS AddGenericHeaderIPv4(
|
2009-10-26 03:11:44 +00:00
|
|
|
PADDRESS_FILE AddrFile,
|
2005-01-22 06:47:33 +00:00
|
|
|
PIP_ADDRESS RemoteAddress,
|
|
|
|
USHORT RemotePort,
|
|
|
|
PIP_ADDRESS LocalAddress,
|
|
|
|
USHORT LocalPort,
|
|
|
|
PIP_PACKET IPPacket,
|
|
|
|
UINT DataLength,
|
|
|
|
UINT Protocol,
|
|
|
|
UINT ExtraLength,
|
|
|
|
PVOID *NextHeader );
|
|
|
|
|
2019-11-18 17:55:10 +00:00
|
|
|
NTSTATUS BuildRawIpPacket(
|
|
|
|
PADDRESS_FILE AddrFile,
|
|
|
|
PIP_PACKET Packet,
|
|
|
|
PIP_ADDRESS RemoteAddress,
|
|
|
|
USHORT RemotePort,
|
|
|
|
PIP_ADDRESS LocalAddress,
|
|
|
|
USHORT LocalPort,
|
|
|
|
PCHAR DataBuffer,
|
|
|
|
UINT DataLen);
|
|
|
|
|
2000-08-02 00:24:26 +00:00
|
|
|
/* EOF */
|