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.

116 lines
2.5 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. ntos\tdi\isn\fwd\lineind.h
  5. Abstract:
  6. Processing line indication (bind/unbind)
  7. Author:
  8. Vadim Eydelman
  9. Revision History:
  10. --*/
  11. #ifndef _IPXFWD_LINEIND_
  12. #define _IPXFWD_LINEIND_
  13. /*++
  14. *******************************************************************
  15. B i n d I n t e r f a c e
  16. Routine Description:
  17. Binds interface to physical adapter and exchanges contexts
  18. with IPX stack
  19. Arguments:
  20. ifCB - interface to bind
  21. NicId - id of an adapter
  22. MaxPacketSize - max size of packet allowed
  23. Network - adapter network address
  24. LocalNode - adapter local node address
  25. RemoteNode - peer node address (for clients on global
  26. net)
  27. Return Value:
  28. STATUS_SUCCESS - interface was bound OK
  29. error status returned by IPX stack driver
  30. *******************************************************************
  31. --*/
  32. NTSTATUS
  33. BindInterface (
  34. IN PINTERFACE_CB ifCB,
  35. IN USHORT NicId,
  36. IN ULONG MaxPacketSize,
  37. IN ULONG Network,
  38. IN PUCHAR LocalNode,
  39. IN PUCHAR RemoteNode
  40. );
  41. /*++
  42. *******************************************************************
  43. U n b i n d I n t e r f a c e
  44. Routine Description:
  45. Unbinds interface from physical adapter and breaks connection
  46. with IPX stack
  47. Arguments:
  48. ifCB - interface to unbind
  49. Return Value:
  50. None
  51. *******************************************************************
  52. --*/
  53. VOID
  54. UnbindInterface (
  55. PINTERFACE_CB ifCB
  56. );
  57. /*++
  58. *******************************************************************
  59. F w L i n e U p
  60. Routine Description:
  61. Process line up indication delivered by IPX stack
  62. Arguments:
  63. NicId - adapter ID on which connection was established
  64. LineInfo - NDIS/IPX line information
  65. DeviceType - medium specs
  66. ConfigurationData - IPX CP configuration data
  67. Return Value:
  68. None
  69. *******************************************************************
  70. --*/
  71. VOID
  72. IpxFwdLineUp (
  73. IN USHORT NicId,
  74. IN PIPX_LINE_INFO LineInfo,
  75. IN NDIS_MEDIUM DeviceType,
  76. IN PVOID ConfigurationData
  77. );
  78. /*++
  79. *******************************************************************
  80. F w L i n e D o w n
  81. Routine Description:
  82. Process line down indication delivered by IPX stack
  83. Arguments:
  84. NicId - disconnected adapter ID
  85. Return Value:
  86. None
  87. *******************************************************************
  88. --*/
  89. VOID
  90. IpxFwdLineDown (
  91. IN USHORT NicId,
  92. IN ULONG_PTR Context
  93. );
  94. #endif