windows-nt/Source/XPSP1/NT/net/tcpip/driver/ipv4/ipxmit.h

47 lines
2.2 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/********************************************************************/
/** Microsoft LAN Manager **/
/** Copyright(c) Microsoft Corp., 1990-1992 **/
/********************************************************************/
/* :ts=4 */
//** IPXMIT.H - IP transmit definitions.
//
// This file contains all of the definitions for the transmit code visible
// to modules outside IPXMIT.C
#pragma once
extern IP_STATUS SendIPPacket(Interface *IF, IPAddr FirstHop,
PNDIS_PACKET Packet, PNDIS_BUFFER Buffer,
IPHeader *Header, uchar *Options,
uint OptionSize, BOOLEAN Ipseced, void *ArpCtxt,
BOOLEAN DontFreePacket);
extern IP_STATUS IPFragment(Interface *DestIF, uint MTU,
IPAddr FirstHop, PNDIS_PACKET Packet,
IPHeader *Header, PNDIS_BUFFER Buffer,
uint DataSize, uchar *Options,
uint OptionSize, int *SentCount,
BOOLEAN bDontLoopback,
void *ArpCtxt);
extern uchar UpdateOptions(uchar *Options, OptIndex *Index, IPAddr Address);
extern IP_STATUS SendIPBCast(NetTableEntry *SrcNTE, IPAddr Destination,
PNDIS_PACKET Packet, IPHeader *IPH,
PNDIS_BUFFER Buffer, uint DataSize,
uchar *Options, uint OptionSize,
uchar SendOnSource, OptIndex *Index);
extern IP_STATUS IPTransmit(void *Context, void *SendContext,
PNDIS_BUFFER Buffer, uint DataSize,
IPAddr Dest, IPAddr Source,
IPOptInfo *OptInfo, RouteCacheEntry *RCE,
uchar Protocol, IRP *irp);
extern IP_STATUS IPLargeXmit(void *Context, void *SendContext,
PNDIS_BUFFER Buffer, uint DataSize,
IPAddr Dest, IPAddr Source,
IPOptInfo *OptInfo, RouteCacheEntry *RCE,
uchar Protocol, uint *SentBytes, uint mss);