Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
2.2 KiB

  1. /********************************************************************/
  2. /** Microsoft LAN Manager **/
  3. /** Copyright(c) Microsoft Corp., 1990-1992 **/
  4. /********************************************************************/
  5. /* :ts=4 */
  6. //** IPXMIT.H - IP transmit definitions.
  7. //
  8. // This file contains all of the definitions for the transmit code visible
  9. // to modules outside IPXMIT.C
  10. #pragma once
  11. extern IP_STATUS SendIPPacket(Interface *IF, IPAddr FirstHop,
  12. PNDIS_PACKET Packet, PNDIS_BUFFER Buffer,
  13. IPHeader *Header, uchar *Options,
  14. uint OptionSize, BOOLEAN Ipseced, void *ArpCtxt,
  15. BOOLEAN DontFreePacket);
  16. extern IP_STATUS IPFragment(Interface *DestIF, uint MTU,
  17. IPAddr FirstHop, PNDIS_PACKET Packet,
  18. IPHeader *Header, PNDIS_BUFFER Buffer,
  19. uint DataSize, uchar *Options,
  20. uint OptionSize, int *SentCount,
  21. BOOLEAN bDontLoopback,
  22. void *ArpCtxt);
  23. extern uchar UpdateOptions(uchar *Options, OptIndex *Index, IPAddr Address);
  24. extern IP_STATUS SendIPBCast(NetTableEntry *SrcNTE, IPAddr Destination,
  25. PNDIS_PACKET Packet, IPHeader *IPH,
  26. PNDIS_BUFFER Buffer, uint DataSize,
  27. uchar *Options, uint OptionSize,
  28. uchar SendOnSource, OptIndex *Index);
  29. extern IP_STATUS IPTransmit(void *Context, void *SendContext,
  30. PNDIS_BUFFER Buffer, uint DataSize,
  31. IPAddr Dest, IPAddr Source,
  32. IPOptInfo *OptInfo, RouteCacheEntry *RCE,
  33. uchar Protocol, IRP *irp);
  34. extern IP_STATUS IPLargeXmit(void *Context, void *SendContext,
  35. PNDIS_BUFFER Buffer, uint DataSize,
  36. IPAddr Dest, IPAddr Source,
  37. IPOptInfo *OptInfo, RouteCacheEntry *RCE,
  38. uchar Protocol, uint *SentBytes, uint mss);