Leaked source code of windows server 2003
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.

91 lines
2.3 KiB

  1. /*++
  2. Copyright (c) 1989-1993 Microsoft Corporation
  3. Module Name:
  4. spxrecv.h
  5. Abstract:
  6. Author:
  7. Nikhil Kamkolkar (nikhilk) 11-November-1993
  8. Environment:
  9. Kernel mode
  10. Revision History:
  11. --*/
  12. BOOLEAN
  13. SpxReceive(
  14. IN NDIS_HANDLE MacBindingHandle,
  15. IN NDIS_HANDLE MacReceiveContext,
  16. IN ULONG_PTR FwdAdapterCtx,
  17. IN PIPX_LOCAL_TARGET RemoteAddress,
  18. IN ULONG MacOptions,
  19. IN PUCHAR LookaheadBuffer,
  20. IN UINT LookaheadBufferSize,
  21. IN UINT LookaheadBufferOffset,
  22. IN UINT PacketSize,
  23. IN PMDL pMdl);
  24. VOID
  25. SpxTransferDataComplete(
  26. IN PNDIS_PACKET pNdisPkt,
  27. IN NDIS_STATUS NdisStatus,
  28. IN UINT BytesTransferred);
  29. VOID
  30. SpxReceiveComplete(
  31. IN USHORT NicId);
  32. VOID
  33. SpxRecvDataPacket(
  34. IN NDIS_HANDLE MacBindingHandle,
  35. IN NDIS_HANDLE MacReceiveContext,
  36. IN PIPX_LOCAL_TARGET RemoteAddress,
  37. IN ULONG MacOptions,
  38. IN PUCHAR LookaheadBuffer,
  39. IN UINT LookaheadBufferSize,
  40. IN UINT LookaheadBufferOffset,
  41. IN UINT PacketSize);
  42. VOID
  43. SpxRecvDiscPacket(
  44. IN PUCHAR LookaheadBuffer,
  45. IN PIPX_LOCAL_TARGET pRemoteAddr,
  46. IN UINT LookaheadSize);
  47. VOID
  48. SpxRecvSysPacket(
  49. IN NDIS_HANDLE MacBindingHandle,
  50. IN NDIS_HANDLE MacReceiveContext,
  51. IN PIPX_LOCAL_TARGET pRemoteAddr,
  52. IN ULONG MacOptions,
  53. IN PUCHAR LookaheadBuffer,
  54. IN UINT LookaheadBufferSize,
  55. IN UINT LookaheadBufferOffset,
  56. IN UINT PacketSize);
  57. VOID
  58. SpxRecvFlushBytes(
  59. IN PSPX_CONN_FILE pSpxConnFile,
  60. IN ULONG BytesToFlush,
  61. IN CTELockHandle LockHandleConn);
  62. VOID
  63. SpxRecvProcessPkts(
  64. IN PSPX_CONN_FILE pSpxConnFile,
  65. IN CTELockHandle LockHandleConn);
  66. BOOLEAN
  67. SpxRecvIndicatePendingData(
  68. IN PSPX_CONN_FILE pSpxConnFile,
  69. IN CTELockHandle LockHandleConn);