ReactOS  0.4.14-dev-115-g4576127
transmit.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/transmit.h
5  * PURPOSE: Internet Protocol transmit prototypes
6  */
7 
8 #pragma once
9 
13 
14 /* IP fragment context information */
15 typedef struct IPFRAGMENT_CONTEXT {
16  struct IPFRAGMENT_CONTEXT *Next; /* Pointer to next in list */
17  PNDIS_PACKET Datagram; /* Pointer to original NDIS packet */
18  PVOID DatagramData; /* Pointer to datagram data */
19  UINT HeaderSize; /* IP datagram header size */
20  PNDIS_PACKET NdisPacket; /* Pointer to NDIS packet */
21  PNDIS_BUFFER NdisBuffer; /* Pointer to NDIS buffer */
22  PVOID Header; /* Pointer to IP header in fragment buffer */
23  PVOID Data; /* Pointer to fragment data */
24  UINT Position; /* Current fragment offset */
25  UINT BytesLeft; /* Number of bytes left to send */
26  UINT PathMTU; /* Path Maximum Transmission Unit */
27  PNEIGHBOR_CACHE_ENTRY NCE; /* Pointer to NCE to use */
28  KEVENT Event; /* Signalled when the transmission is complete */
29  NDIS_STATUS Status; /* Status of the transmission */
31 
32 
34 
35 /* EOF */
VOID(* PIP_TRANSMIT_COMPLETE)(PVOID Context, PNDIS_PACKET Packet, NDIS_STATUS Status)
Definition: transmit.h:10
_In_ NDIS_HANDLE _In_ PNDIS_PACKET Packet
Definition: ndis.h:1548
Definition: neighbor.h:28
MDL * PNDIS_BUFFER
Definition: ndis.h:343
LONG NTSTATUS
Definition: precomp.h:26
int NDIS_STATUS
Definition: ntddndis.h:471
NTSTATUS IPSendDatagram(PIP_PACKET IPPacket, PNEIGHBOR_CACHE_ENTRY NCE)
Definition: transmit.c:223
PNDIS_PACKET Datagram
Definition: transmit.h:17
struct IPFRAGMENT_CONTEXT * PIPFRAGMENT_CONTEXT
PNDIS_PACKET NdisPacket
Definition: transmit.h:20
#define VOID
Definition: acefi.h:82
struct IPFRAGMENT_CONTEXT IPFRAGMENT_CONTEXT
struct IPFRAGMENT_CONTEXT * Next
Definition: transmit.h:16
Status
Definition: gdiplustypes.h:24
PNEIGHBOR_CACHE_ENTRY NCE
Definition: transmit.h:27
PNDIS_BUFFER NdisBuffer
Definition: transmit.h:21
unsigned int UINT
Definition: ndis.h:50
NDIS_STATUS Status
Definition: transmit.h:29
struct tagContext Context
Definition: acpixf.h:1024
Definition: ip.h:77
PVOID DatagramData
Definition: transmit.h:18