- Forgot to commit these for MSVC build...
[reactos.git] / reactos / drivers / net / tcpip / include / rawip.h
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 #ifndef __RAWIP_H
8 #define __RAWIP_H
9
10
11
12 NTSTATUS RawIPSendDatagram(
13 PADDRESS_FILE AddrFile,
14 PTDI_CONNECTION_INFORMATION ConnInfo,
15 PCHAR Buffer,
16 ULONG DataSize,
17 PULONG DataUsed);
18
19 VOID RawIPReceive(
20 PIP_INTERFACE Interface,
21 PIP_PACKET IPPacket);
22
23 NTSTATUS RawIPStartup(
24 VOID);
25
26 NTSTATUS RawIPShutdown(
27 VOID);
28
29 NTSTATUS AddGenericHeaderIPv4(
30 PIP_ADDRESS RemoteAddress,
31 USHORT RemotePort,
32 PIP_ADDRESS LocalAddress,
33 USHORT LocalPort,
34 PIP_PACKET IPPacket,
35 UINT DataLength,
36 UINT Protocol,
37 UINT ExtraLength,
38 PVOID *NextHeader );
39
40 #endif /* __RAWIP_H */
41
42 /* EOF */