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.

79 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1997 FORE Systems, Inc.
  3. Copyright (c) 1997 Microsoft Corporation
  4. Module Name:
  5. space.c
  6. Abstract:
  7. This file contains global definitions.
  8. Author:
  9. Larry Cleeton, FORE Systems (v-lcleet@microsoft.com, lrc@fore.com)
  10. Environment:
  11. Kernel mode
  12. Revision History:
  13. --*/
  14. #include "precomp.h"
  15. #pragma hdrstop
  16. //
  17. // Global Info structure. Initialized in DriverEntry (ntentry.c).
  18. //
  19. ATMLANE_GLOBALS gAtmLaneGlobalInfo;
  20. PATMLANE_GLOBALS pAtmLaneGlobalInfo = &gAtmLaneGlobalInfo;
  21. //
  22. // The well-know ATM address for the LECS.
  23. //
  24. ATM_ADDRESS gWellKnownLecsAddress =
  25. {
  26. ATM_NSAP, // type
  27. 20, // num digits
  28. { // address bytes
  29. 0x47, 0x00, 0x79, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  30. 0x00, 0x00, 0x00, 0x00, 0xa0, 0x3e, 0x00, 0x00, 0x01, 0x00
  31. }
  32. };
  33. MAC_ADDRESS gMacBroadcastAddress =
  34. {
  35. 0xff,0xff,0xff,0xff,0xff,0xff
  36. };
  37. //
  38. // Max timeout value (in seconds) for each class.
  39. //
  40. ULONG AtmLaneMaxTimerValue[ALT_CLASS_MAX] =
  41. {
  42. ALT_MAX_TIMER_SHORT_DURATION,
  43. ALT_MAX_TIMER_LONG_DURATION
  44. };
  45. //
  46. // Size of each timer wheel.
  47. //
  48. ULONG AtmLaneTimerListSize[ALT_CLASS_MAX] =
  49. {
  50. SECONDS_TO_SHORT_TICKS(ALT_MAX_TIMER_SHORT_DURATION)+1,
  51. SECONDS_TO_LONG_TICKS(ALT_MAX_TIMER_LONG_DURATION)+1
  52. };
  53. //
  54. // Interval between ticks, in seconds, for each class.
  55. //
  56. ULONG AtmLaneTimerPeriod[ALT_CLASS_MAX] =
  57. {
  58. ALT_SHORT_DURATION_TIMER_PERIOD,
  59. ALT_LONG_DURATION_TIMER_PERIOD
  60. };