ReactOS 0.4.15-dev-8096-ga0eec98
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 */
15typedef 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 */
#define VOID
Definition: acefi.h:82
LONG NTSTATUS
Definition: precomp.h:26
Status
Definition: gdiplustypes.h:25
_In_ NDIS_HANDLE _In_ PNDIS_PACKET Packet
Definition: ndis.h:1549
unsigned int UINT
Definition: ndis.h:50
MDL * PNDIS_BUFFER
Definition: ndis.h:343
int NDIS_STATUS
Definition: ntddndis.h:475
PNDIS_PACKET NdisPacket
Definition: transmit.h:20
PNDIS_PACKET Datagram
Definition: transmit.h:17
PNEIGHBOR_CACHE_ENTRY NCE
Definition: transmit.h:27
NDIS_STATUS Status
Definition: transmit.h:29
PNDIS_BUFFER NdisBuffer
Definition: transmit.h:21
PVOID DatagramData
Definition: transmit.h:18
struct IPFRAGMENT_CONTEXT * Next
Definition: transmit.h:16
Definition: neighbor.h:28
Definition: ip.h:77
VOID(* PIP_TRANSMIT_COMPLETE)(PVOID Context, PNDIS_PACKET Packet, NDIS_STATUS Status)
Definition: transmit.h:10
NTSTATUS IPSendDatagram(PIP_PACKET IPPacket, PNEIGHBOR_CACHE_ENTRY NCE)
Definition: transmit.c:223
struct IPFRAGMENT_CONTEXT * PIPFRAGMENT_CONTEXT