mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:13:03 +00:00
Create a branch for network fixes.
svn path=/branches/aicom-network-fixes/; revision=34994
This commit is contained in:
parent
0e213bbc00
commit
c501d8112c
18148 changed files with 0 additions and 860488 deletions
38
drivers/network/tcpip/include/transmit.h
Normal file
38
drivers/network/tcpip/include/transmit.h
Normal file
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS TCP/IP protocol driver
|
||||
* FILE: include/transmit.h
|
||||
* PURPOSE: Internet Protocol transmit prototypes
|
||||
*/
|
||||
#ifndef __TRANSMIT_H
|
||||
#define __TRANSMIT_H
|
||||
|
||||
typedef VOID (*PIP_TRANSMIT_COMPLETE)( PVOID Context,
|
||||
PNDIS_PACKET Packet,
|
||||
NDIS_STATUS Status );
|
||||
|
||||
/* IP fragment context information */
|
||||
typedef struct IPFRAGMENT_CONTEXT {
|
||||
struct IPFRAGMENT_CONTEXT *Next; /* Pointer to next in list */
|
||||
PNDIS_PACKET Datagram; /* Pointer to original NDIS packet */
|
||||
PVOID DatagramData; /* Pointer to datagram data */
|
||||
UINT HeaderSize; /* IP datagram header size */
|
||||
PNDIS_PACKET NdisPacket; /* Pointer to NDIS packet */
|
||||
PNDIS_BUFFER NdisBuffer; /* Pointer to NDIS buffer */
|
||||
PVOID Header; /* Pointer to IP header in fragment buffer */
|
||||
PVOID Data; /* Pointer to fragment data */
|
||||
UINT Position; /* Current fragment offset */
|
||||
UINT BytesLeft; /* Number of bytes left to send */
|
||||
UINT PathMTU; /* Path Maximum Transmission Unit */
|
||||
PNEIGHBOR_CACHE_ENTRY NCE; /* Pointer to NCE to use */
|
||||
PIP_TRANSMIT_COMPLETE Complete; /* Completion Routine */
|
||||
PVOID Context; /* Completion Context */
|
||||
} IPFRAGMENT_CONTEXT, *PIPFRAGMENT_CONTEXT;
|
||||
|
||||
|
||||
NTSTATUS IPSendDatagram(PIP_PACKET IPPacket, PNEIGHBOR_CACHE_ENTRY NCE,
|
||||
PIP_TRANSMIT_COMPLETE Complete, PVOID Context);
|
||||
|
||||
#endif /* __TRANSMIT_H */
|
||||
|
||||
/* EOF */
|
Loading…
Add table
Add a link
Reference in a new issue