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.

108 lines
3.4 KiB

  1. /*++
  2. Copyright (c) 1990-1995 Microsoft Corporation
  3. Module Name:
  4. Global.h
  5. Abstract:
  6. This file contains global structures for the NdisWan driver.
  7. Author:
  8. Tony Bell (TonyBe) June 06, 1995
  9. Environment:
  10. Kernel Mode
  11. Revision History:
  12. TonyBe 06/06/95 Created
  13. --*/
  14. #ifndef _NDISWAN_GLOBAL_
  15. #define _NDISWAN_GLOBAL_
  16. extern NDISWANCB NdisWanCB; // Global ndiswan control block
  17. extern WAN_GLOBAL_LIST MiniportCBList; // List of NdisWan MiniportCB's
  18. extern WAN_GLOBAL_LIST OpenCBList; // List of WAN Miniport structures
  19. extern WAN_GLOBAL_LIST ThresholdEventQueue; // Queue to hold threshold events
  20. extern IO_RECV_LIST IoRecvList;
  21. extern WAN_GLOBAL_LIST TransformDrvList;
  22. extern WAN_GLOBAL_LIST_EX BonDWorkList;
  23. extern WAN_GLOBAL_LIST_EX DeferredWorkList;
  24. #ifndef USE_QOS_WORKER
  25. extern WAN_GLOBAL_LIST_EX QoSWorkList; // List of bundlecb's with QOS work
  26. #endif
  27. extern POOLDESC_LIST PacketPoolList; // List of free packet descs/ndispackets
  28. extern NPAGED_LOOKASIDE_LIST BundleCBList; // List of free BundleCBs
  29. extern NPAGED_LOOKASIDE_LIST LinkProtoCBList; // List of free LinkCBs
  30. extern NPAGED_LOOKASIDE_LIST SmallDataDescList; // List of free small data descs
  31. extern NPAGED_LOOKASIDE_LIST LargeDataDescList; // List of free small data descs
  32. extern NPAGED_LOOKASIDE_LIST WanRequestList; // List of free WanRequest descs
  33. extern NPAGED_LOOKASIDE_LIST AfSapVcCBList; // List of free protosapcb's
  34. #if DBG
  35. extern NPAGED_LOOKASIDE_LIST DbgPacketDescList;
  36. extern UCHAR reA[1024];
  37. extern UCHAR LastIrpAction;
  38. extern ULONG reI;
  39. extern LIST_ENTRY WanTrcList;
  40. extern ULONG WanTrcCount;
  41. #endif
  42. extern PCONNECTION_TABLE ConnectionTable; // Pointer to connection table
  43. extern PPROTOCOL_INFO_TABLE ProtocolInfoTable; // Pointer to the PPP/Protocol value lookup table
  44. extern NDIS_PHYSICAL_ADDRESS HighestAcceptableAddress;
  45. extern ULONG glDebugLevel; // Trace Level values 0 - 10 (10 verbose)
  46. extern ULONG glDebugMask; // Trace bit mask
  47. extern ULONG glSendQueueDepth; // # of seconds of send queue buffering
  48. extern ULONG glMaxMTU; // Maximum MTU of all protocols
  49. extern ULONG glMRU; // Maximum recv for a link
  50. extern ULONG glMRRU; // Maximum reconstructed recv for a bundle
  51. extern ULONG glLargeDataBufferSize; // Size of databuffer
  52. extern ULONG glSmallDataBufferSize; // Size of databuffer
  53. extern ULONG glTunnelMTU; // MTU for VPN's
  54. extern ULONG glMinFragSize;
  55. extern ULONG glMaxFragSize;
  56. extern ULONG glMinLinkBandwidth;
  57. extern BOOLEAN gbSniffLink;
  58. extern BOOLEAN gbDumpRecv;
  59. extern BOOLEAN gbHistoryless;
  60. extern BOOLEAN gbAtmUseLLCOnSVC;
  61. extern BOOLEAN gbAtmUseLLCOnPVC;
  62. extern ULONG glSendCount;
  63. extern ULONG glSendCompleteCount;
  64. extern ULONG glPacketPoolCount;
  65. extern ULONG glPacketPoolOverflow;
  66. extern ULONG glProtocolMaxSendPackets;
  67. extern ULONG glLinkCount;
  68. extern ULONG glConnectCount;
  69. extern ULONG glCachedKeyCount;
  70. extern ULONG glMaxOutOfOrderDepth;
  71. extern PVOID hSystemState;
  72. extern BOOLEAN gbIGMPIdle;
  73. extern NDIS_RW_LOCK ConnTableLock;
  74. #endif // _NDISWAN_GLOBAL_