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.

43 lines
884 B

  1. Copyright (c) 2001 Microsoft Corporation
  2. Module Name:
  3. globals.c
  4. Abstract:
  5. global variables for Microsoft Tunnel interface Miniport driver
  6. Environment:
  7. Kernel mode only.
  8. Revision History:
  9. alid 10/22/2001
  10. --*/
  11. #include "precomp.h"
  12. #define __FILENUMBER 'MUNT'
  13. const TUN_MEDIA_INFO MediaParams[] =
  14. //MaxFrameLen, MacHeaderLen, PacketFilters, LinkSpeed
  15. {
  16. { 1500, 14, 100000}, // NdisMedium802_3
  17. { 4082, 14, 40000}, // NdisMedium802_5
  18. { 4486, 13, 1000000}, // NdisMediumFddi
  19. { 0, 0, 0}, // NdisMediumWan
  20. { 600, 3, 2300}, // NdisMediumLocalTalk
  21. { 1500, 14, 100000}, // NdisMediumDix
  22. { 1512, 3, 25000}, // NdisMediumArcnetRaw
  23. { 1512, 3, 25000} // NdisMediumArcnet878_2
  24. };
  25. NDIS_HANDLE NdisWrapperHandle = NULL;
  26. LONG GlobalDeviceInstanceNumber = -1;
  27. NDIS_SPIN_LOCK TunGlobalLock;
  28. LIST_ENTRY TunAdapterList;