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.

122 lines
2.5 KiB

  1. /*++
  2. Copyright (c) 1996-1999 Microsoft Corporation
  3. Module Name:
  4. ndisreq.h
  5. Abstract:
  6. defines for NdisRequest related routines
  7. Author:
  8. Charlie Wickham (charlwi) 01-May-1996
  9. Revision History:
  10. --*/
  11. #ifndef _NDISREQ_
  12. #define _NDISREQ_
  13. //
  14. // Private OIDs that are used by psched
  15. //
  16. #define NDIS_STATUS_INTERFACE_CHANGE 0xFF000001
  17. #if DBG
  18. #define OID_QOS_LOG_BUFFER_SIZE 0xFF010100
  19. #define OID_QOS_LOG_THRESHOLD 0xFF010101
  20. #define OID_QOS_LOG_DATA 0xFF010102
  21. #define OID_QOS_LOG_MASK 0xFF010105
  22. #define OID_QOS_LOG_LEVEL 0xFF010106
  23. #define QOS_STATUS_LOG_THRESHOLD 0xFF00000A
  24. #endif
  25. #define OID_QOS_MAX_OUTSTANDING_SENDS 0xFF010103
  26. #define OID_QOS_DISABLE_DRR 0xFF010104
  27. /* Prototypes */ /* Generated by Emacs 19.17.0 on Mon May 06 15:54:14 1996 */
  28. VOID
  29. PsScheduleInterfaceIdWorkItem(
  30. IN PADAPTER Adapter,
  31. IN PPS_WAN_LINK WanLink
  32. );
  33. VOID
  34. ClRequestComplete(
  35. IN NDIS_HANDLE ProtocolBindingContext,
  36. IN PNDIS_REQUEST NdisRequest,
  37. IN NDIS_STATUS Status
  38. );
  39. NDIS_STATUS
  40. MakeLocalNdisRequest(
  41. PADAPTER Adapter,
  42. NDIS_HANDLE VcHandle,
  43. NDIS_REQUEST_TYPE RequestType,
  44. NDIS_OID Oid,
  45. PVOID Buffer,
  46. ULONG BufferSize,
  47. LOCAL_NDISREQUEST_COMPLETION_FUNCTION CompletionFunc OPTIONAL
  48. );
  49. NDIS_STATUS
  50. MpQueryInformation(
  51. IN NDIS_HANDLE MiniportAdapterContext,
  52. IN NDIS_OID Oid,
  53. IN PVOID InformationBuffer,
  54. IN ULONG InformationBufferLength,
  55. OUT PULONG BytesWritten,
  56. OUT PULONG BytesNeeded
  57. );
  58. NDIS_STATUS
  59. MpSetInformation(
  60. IN NDIS_HANDLE MiniportAdapterContext,
  61. IN NDIS_OID Oid,
  62. IN PVOID InformationBuffer,
  63. IN ULONG InformationBufferLength,
  64. OUT PULONG BytesRead,
  65. OUT PULONG BytesNeeded
  66. );
  67. VOID
  68. TcIndicateInterfaceChange(
  69. IN PADAPTER Adapter,
  70. IN PPS_WAN_LINK WanLink,
  71. IN NDIS_STATUS Status
  72. );
  73. NDIS_STATUS
  74. CollectWanNetworkAddresses(
  75. IN PADAPTER Adapter,
  76. IN PPS_WAN_LINK WanLink,
  77. IN OUT ULONG *Len,
  78. IN PVOID Data);
  79. NDIS_STATUS
  80. CollectNetworkAddresses(
  81. IN PADAPTER Adapter,
  82. IN OUT ULONG *Len,
  83. IN PVOID Data
  84. );
  85. #if DBG
  86. VOID
  87. IndicateLogThreshold(
  88. IN PVOID Context
  89. );
  90. #endif
  91. /* End Prototypes */
  92. #endif /* _NDISREQ_ */
  93. /* end ndisreq.h */