mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 21:04:26 +00:00
38 lines
790 B
C
38 lines
790 B
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS TCP/IP protocol driver
|
|
* FILE: include/datagram.h
|
|
* PURPOSE: Datagram types and constants
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <titypes.h>
|
|
|
|
NTSTATUS DGReceiveDatagram(
|
|
PADDRESS_FILE AddrFile,
|
|
PTDI_CONNECTION_INFORMATION ConnInfo,
|
|
PCHAR Buffer,
|
|
ULONG ReceiveLength,
|
|
ULONG ReceiveFlags,
|
|
PTDI_CONNECTION_INFORMATION ReturnInfo,
|
|
PULONG BytesReceived,
|
|
PDATAGRAM_COMPLETION_ROUTINE Complete,
|
|
PVOID Context,
|
|
PIRP Irp);
|
|
|
|
BOOLEAN DGRemoveIRP(
|
|
PADDRESS_FILE AddrFile,
|
|
PIRP Irp);
|
|
|
|
VOID DGDeliverData(
|
|
PADDRESS_FILE AddrFile,
|
|
PIP_ADDRESS SrcAddress,
|
|
PIP_ADDRESS DstAddress,
|
|
USHORT SrcPort,
|
|
USHORT DstPort,
|
|
PIP_PACKET IPPacket,
|
|
UINT DataSize);
|
|
|
|
/* EOF */
|