ReactOS  0.4.13-dev-479-gec9c8fd
transmit.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  IPFRAGMENT_CONTEXT
 

Typedefs

typedef VOID(* PIP_TRANSMIT_COMPLETE) (PVOID Context, PNDIS_PACKET Packet, NDIS_STATUS Status)
 
typedef struct IPFRAGMENT_CONTEXT IPFRAGMENT_CONTEXT
 
typedef struct IPFRAGMENT_CONTEXTPIPFRAGMENT_CONTEXT
 

Functions

NTSTATUS IPSendDatagram (PIP_PACKET IPPacket, PNEIGHBOR_CACHE_ENTRY NCE)
 

Typedef Documentation

◆ IPFRAGMENT_CONTEXT

◆ PIP_TRANSMIT_COMPLETE

typedef VOID(* PIP_TRANSMIT_COMPLETE) (PVOID Context, PNDIS_PACKET Packet, NDIS_STATUS Status)

Definition at line 10 of file transmit.h.

◆ PIPFRAGMENT_CONTEXT

Function Documentation

◆ IPSendDatagram()

NTSTATUS IPSendDatagram ( PIP_PACKET  IPPacket,
PNEIGHBOR_CACHE_ENTRY  NCE 
)

Definition at line 223 of file transmit.c.

236 {
237  TI_DbgPrint(MAX_TRACE, ("Called. IPPacket (0x%X) NCE (0x%X)\n", IPPacket, NCE));
238 
239  DISPLAY_IP_PACKET(IPPacket);
240 
241  /* Fetch path MTU now, because it may change */
242  TI_DbgPrint(MID_TRACE,("PathMTU: %d\n", NCE->Interface->MTU));
243 
244  return SendFragments(IPPacket, NCE, NCE->Interface->MTU);
245 }
NTSTATUS SendFragments(PIP_PACKET IPPacket, PNEIGHBOR_CACHE_ENTRY NCE, UINT PathMTU)
Definition: transmit.c:132
#define TI_DbgPrint(_t_, _x_)
Definition: debug.h:45
#define DISPLAY_IP_PACKET(x)
Definition: routines.h:69
#define MID_TRACE
Definition: debug.h:15
UINT MTU
Definition: ip.h:157
PIP_INTERFACE Interface
Definition: neighbor.h:33
#define MAX_TRACE
Definition: debug.h:16

Referenced by ICMPSendDatagram(), ICMPTransmit(), RawIPSendDatagram(), TCPSendDataCallback(), and UDPSendDatagram().