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.

80 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. wanarp\send.h
  5. Abstract:
  6. Function prototypes for send.c
  7. Revision History:
  8. AmritanR
  9. --*/
  10. #ifndef __WANARP_SEND_H__
  11. #define __WANARP_SEND_H__
  12. BUFFER_POOL g_bpHeaderBufferPool;
  13. BUFFER_POOL g_bpDataBufferPool;
  14. #define HEADER_BUFFER_SIZE sizeof(ETH_HEADER)
  15. #define DATA_BUFFER_SIZE 256
  16. NDIS_STATUS
  17. WanIpTransmit(
  18. PVOID pvContext,
  19. NDIS_PACKET **ppPacketArray,
  20. UINT uiNumPackets,
  21. DWORD dwDest,
  22. RouteCacheEntry *pRce,
  23. PVOID pvArpCtxt
  24. );
  25. NDIS_STATUS
  26. WanpSendPackets(
  27. PADAPTER pAdapter,
  28. PUMODE_INTERFACE pInterface,
  29. PCONN_ENTRY pConnEntry,
  30. NDIS_PACKET **ppPacketArray,
  31. PLIST_ENTRY pleBufferList,
  32. UINT uiNumPackets,
  33. KIRQL kiIrql
  34. );
  35. VOID
  36. WanNdisSendComplete(
  37. NDIS_HANDLE nhHandle,
  38. PNDIS_PACKET pnpPacket,
  39. NDIS_STATUS nsStatus
  40. );
  41. VOID
  42. WanpTransmitQueuedPackets(
  43. IN PADAPTER pAdapter,
  44. IN PUMODE_INTERFACE pInterface,
  45. IN PCONN_ENTRY pConnEntry,
  46. IN KIRQL kiIrql
  47. );
  48. NDIS_STATUS
  49. WanpCopyAndQueuePackets(
  50. PADAPTER pAdapter,
  51. NDIS_PACKET **ppPacketArray,
  52. PLIST_ENTRY pleBufferList,
  53. UINT uiNumPackets
  54. );
  55. VOID
  56. WanIpInvalidateRce(
  57. PVOID pvContext,
  58. RouteCacheEntry *pRce
  59. );
  60. #endif // __WANARP_SEND_H__