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.

130 lines
2.8 KiB

  1. /********************************************************************/
  2. /** Copyright(c) 1989 Microsoft Corporation. **/
  3. /********************************************************************/
  4. //***
  5. //
  6. // Filename: receive.h
  7. //
  8. // Description: Contains function prototype for the receive.c module
  9. //
  10. // History:
  11. // Nov 11,1993. NarenG Created original version.
  12. //
  13. VOID
  14. ReceiveProtocolRej(
  15. IN PCB* pPcb,
  16. IN PPP_PACKET* pPacket
  17. );
  18. VOID
  19. ReceiveUnknownCode(
  20. IN PCB * pPcb,
  21. IN DWORD CpIndex,
  22. IN CPCB * pCpCb,
  23. IN PPP_CONFIG * pRecvConfig
  24. );
  25. VOID
  26. ReceiveConfigReq(
  27. IN PCB * pPcb,
  28. IN DWORD CpIndex,
  29. IN CPCB * pCpCb,
  30. IN PPP_CONFIG * pRecvConfig
  31. );
  32. VOID
  33. ReceiveConfigAck(
  34. IN PCB * pPcb,
  35. IN DWORD CpIndex,
  36. IN CPCB * pCpCb,
  37. IN PPP_CONFIG * pRecvConfig
  38. );
  39. VOID
  40. ReceiveConfigNakRej(
  41. IN PCB * pPcb,
  42. IN DWORD CpIndex,
  43. IN CPCB * pCpCb,
  44. IN PPP_CONFIG * pRecvConfig
  45. );
  46. VOID
  47. ReceiveTermReq(
  48. IN PCB * pPcb,
  49. IN DWORD CpIndex,
  50. IN CPCB * pCpCb,
  51. IN PPP_CONFIG * pRecvConfig
  52. );
  53. VOID
  54. ReceiveTermAck(
  55. IN PCB * pPcb,
  56. IN DWORD CpIndex,
  57. IN CPCB * pCpCb,
  58. IN PPP_CONFIG * pRecvConfig
  59. );
  60. VOID
  61. ReceiveCodeRej(
  62. IN PCB * pPcb,
  63. IN DWORD CpIndex,
  64. IN CPCB * pCpCb,
  65. IN PPP_CONFIG* pRecvConfig
  66. );
  67. VOID
  68. ReceiveEchoReq(
  69. IN PCB * pPcb,
  70. IN DWORD CpIndex,
  71. IN CPCB * pCpCb,
  72. IN PPP_CONFIG * pRecvConfig
  73. );
  74. VOID
  75. ReceiveEchoReply(
  76. IN PCB * pPcb,
  77. IN DWORD CpIndex,
  78. IN CPCB * pCpCb,
  79. IN PPP_CONFIG * pRecvConfig
  80. );
  81. VOID
  82. ReceiveDiscardReq(
  83. IN PCB * pPcb,
  84. IN DWORD CpIndex,
  85. IN CPCB * pCpCb,
  86. IN PPP_CONFIG* pRecvConfig
  87. );
  88. VOID
  89. CompletionRoutine(
  90. IN HCONN hPortOrConnection,
  91. IN DWORD Protocol,
  92. IN PPP_CONFIG * pSendConfig,
  93. IN DWORD dwError
  94. );
  95. BOOL
  96. FsmConfigResultReceived(
  97. IN PCB * pPcb,
  98. IN DWORD CpIndex,
  99. IN PPP_CONFIG * pReceiveConfig
  100. );
  101. VOID
  102. ReceiveIdentification(
  103. IN PCB * pPcb,
  104. IN DWORD CpIndex,
  105. IN CPCB * pCpCb,
  106. IN PPP_CONFIG * pRecvConfig
  107. );
  108. VOID
  109. ReceiveTimeRemaining(
  110. IN PCB * pPcb,
  111. IN DWORD CpIndex,
  112. IN CPCB * pCpCb,
  113. IN PPP_CONFIG * pRecvConfig
  114. );