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.

102 lines
3.5 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1999.
  5. //
  6. // File: I P A F V A L . H
  7. //
  8. // Contents: Value/Type pairs of IP-specific AnswerFile strings
  9. //
  10. // Notes:
  11. //
  12. // Author: Ning Sun (nsun) 17 May 1999
  13. //
  14. //----------------------------------------------------------------------------
  15. #pragma once
  16. #include "ncreg.h"
  17. #include "afilestr.h"
  18. typedef struct
  19. {
  20. PCWSTR pszValueName;
  21. DWORD dwType;
  22. } ValueTypePair;
  23. //For unconfigurable parameters upgrading
  24. extern const DECLSPEC_SELECTANY ValueTypePair rgVtpNetBt[] =
  25. {
  26. {c_szBcastNameQueryCount, REG_DWORD}, // in the inf
  27. {c_szBcastQueryTimeout, REG_DWORD}, // in the inf
  28. {c_szBroadcastAddress, REG_DWORD},
  29. {c_szCacheTimeout, REG_DWORD}, // in the inf
  30. {c_szEnableProxy, REG_BOOL},
  31. {c_szEnableProxyRegCheck, REG_BOOL},
  32. {c_szInitialRefreshTimeout, REG_DWORD},
  33. {c_szLmhostsTimeout, REG_DWORD},
  34. {c_szMaxDgramBuffering, REG_DWORD},
  35. {c_szNameServerPort, REG_DWORD}, // in the inf
  36. {c_szNameSrvQueryCount, REG_DWORD}, // in the inf
  37. {c_szNameSrvQueryTimeout, REG_DWORD}, // in the inf
  38. {c_szNodeType, REG_DWORD},
  39. {c_szRandomAdapter, REG_BOOL},
  40. {c_szRefreshOpCode, REG_DWORD},
  41. {c_szAfScopeid, REG_SZ},
  42. {c_szSessionKeepAlive, REG_DWORD}, // in the inf
  43. {c_szSingleResponse, REG_BOOL},
  44. {c_szSizeSmallMediumLarge, REG_DWORD}, // in the inf
  45. {c_szWinsDownTimeout, REG_DWORD}
  46. };
  47. extern const DECLSPEC_SELECTANY ValueTypePair rgVtpIp[] =
  48. {
  49. {c_szAfArpAlwaysSourceRoute, REG_BOOL},
  50. {c_szAfArpCacheLife, REG_DWORD},
  51. {c_szArpCacheMinReferencedLife, REG_DWORD},
  52. {c_szArpRetryCount, REG_DWORD},
  53. {c_szAfArpTRSingleRoute, REG_BOOL},
  54. {c_szAfArpUseEtherSNAP, REG_BOOL},
  55. {c_szAfDefaultTOS, REG_DWORD},
  56. {c_szEnableAddrMaskReply, REG_BOOL},
  57. {c_szEnableDeadGWDetect, REG_BOOL},
  58. {c_szEnablePMTUBHDetect, REG_BOOL},
  59. {c_szEnablePMTUDiscovery, REG_BOOL},
  60. {c_szAfForwardBroadcasts, REG_BOOL}, // in the inf
  61. {c_szForwardBufferMemory, REG_DWORD},
  62. {c_szIGMPLevel, REG_DWORD},
  63. {c_szKeepAliveInterval, REG_DWORD},
  64. {c_szKeepAliveTime, REG_DWORD},
  65. {c_szMaxForwardBufferMemory, REG_DWORD},
  66. {c_szMaxHashTableSize, REG_DWORD},
  67. {c_szMaxNumForwardPackets, REG_DWORD},
  68. {c_szMaxUserPort, REG_DWORD},
  69. {c_szNumForwardPackets, REG_DWORD},
  70. {c_szPersistentRoutes, REG_FILE},
  71. {c_szAfPPTPTcpMaxDataRetransmissions, REG_DWORD},
  72. {c_szSynAttackProtect, REG_BOOL},
  73. {c_szSyncDomainWithMembership, REG_DWORD},
  74. {c_szTcpMaxConnectRetransmissions, REG_DWORD},
  75. {c_szTcpMaxDataRetransmissions, REG_DWORD},
  76. {c_szTcpMaxDupAcks, REG_DWORD},
  77. {c_szTCPMaxHalfOpen, REG_DWORD},
  78. {c_szTCPMaxHalfOpenRetried, REG_DWORD},
  79. {c_szTCPMaxPortsExhausted, REG_DWORD},
  80. {c_szTcpNumConnections, REG_DWORD},
  81. {c_szTcpTimedWaitDelay, REG_DWORD},
  82. {c_szTcpUseRFC1122UrgentPointer, REG_BOOL}
  83. };
  84. extern const DECLSPEC_SELECTANY ValueTypePair rgVtpIpAdapter[] =
  85. {
  86. {c_szMTU, REG_DWORD},
  87. {c_szAfUseZeroBroadcast, REG_BOOL},
  88. {c_szMaxForwardPending, REG_DWORD},
  89. {c_szDontAddDefaultGateway, REG_BOOL},
  90. {c_szPPTPFiltering, REG_BOOL},
  91. {c_szAfBindToDhcpServer, REG_BOOL},
  92. //Bug286037 new unconfigurable param in Windows2000, but we want to support
  93. //the unattended install for this parameter
  94. {c_szDhcpClassId, REG_SZ}
  95. };