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.

44 lines
932 B

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