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.

103 lines
2.7 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. nbfcnfg.h
  5. Abstract:
  6. Private include file for the NBF (NetBIOS Frames Protocol) transport. This
  7. file defines all constants and structures necessary for support of
  8. the dynamic configuration of NBF. Note that this file will be replaced
  9. by calls to the configuration manager over time.
  10. Author:
  11. David Beaver (dbeaver) 13-Feb-1991
  12. Revision History:
  13. --*/
  14. #ifndef _NBFCONFIG_
  15. #define _NBFCONFIG_
  16. //
  17. // Define the devices we support; this is in leiu of a real configuration
  18. // manager.
  19. //
  20. #define NBF_SUPPORTED_ADAPTERS 10
  21. #define NE3200_ADAPTER_NAME L"\\Device\\NE320001"
  22. #define ELNKII_ADAPTER_NAME L"\\Device\\Elnkii" // adapter we will talk to
  23. #define ELNKMC_ADAPTER_NAME L"\\Device\\Elnkmc01"
  24. #define ELNK16_ADAPTER_NAME L"\\Device\\Elnk1601"
  25. #define SONIC_ADAPTER_NAME L"\\Device\\Sonic01"
  26. #define LANCE_ADAPTER_NAME L"\\Device\\Lance01"
  27. #define PC586_ADAPTER_NAME L"\\Device\\Pc586"
  28. #define IBMTOK_ADAPTER_NAME L"\\Device\\Ibmtok01"
  29. #define PROTEON_ADAPTER_NAME L"\\Device\\Proteon01"
  30. #define WDLAN_ADAPTER_NAME L"\\Device\\Wdlan01"
  31. //
  32. // configuration structure.
  33. //
  34. typedef struct {
  35. ULONG InitRequests;
  36. ULONG InitLinks;
  37. ULONG InitConnections;
  38. ULONG InitAddressFiles;
  39. ULONG InitAddresses;
  40. ULONG MaxRequests;
  41. ULONG MaxLinks;
  42. ULONG MaxConnections;
  43. ULONG MaxAddressFiles;
  44. ULONG MaxAddresses;
  45. ULONG InitPackets;
  46. ULONG InitReceivePackets;
  47. ULONG InitReceiveBuffers;
  48. ULONG InitUIFrames;
  49. ULONG SendPacketPoolSize;
  50. ULONG ReceivePacketPoolSize;
  51. ULONG MaxMemoryUsage;
  52. ULONG MinimumT1Timeout;
  53. ULONG DefaultT1Timeout;
  54. ULONG DefaultT2Timeout;
  55. ULONG DefaultTiTimeout;
  56. ULONG LlcRetries;
  57. ULONG LlcMaxWindowSize;
  58. ULONG MaximumIncomingFrames;
  59. ULONG NameQueryRetries;
  60. ULONG NameQueryTimeout;
  61. ULONG AddNameQueryRetries;
  62. ULONG AddNameQueryTimeout;
  63. ULONG GeneralRetries;
  64. ULONG GeneralTimeout;
  65. ULONG WanNameQueryRetries;
  66. ULONG UseDixOverEthernet;
  67. ULONG QueryWithoutSourceRouting;
  68. ULONG AllRoutesNameRecognized;
  69. ULONG MinimumSendWindowLimit;
  70. //
  71. // Names contains NumAdapters pairs of NDIS adapter names (which
  72. // nbf binds to) and device names (which nbf exports). The nth
  73. // adapter name is in location n and the device name is in
  74. // DevicesOffset+n (DevicesOffset may be different from NumAdapters
  75. // if the registry Bind and Export strings are different sizes).
  76. //
  77. ULONG NumAdapters;
  78. ULONG DevicesOffset;
  79. NDIS_STRING Names[1];
  80. } CONFIG_DATA, *PCONFIG_DATA;
  81. #endif