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.

234 lines
4.0 KiB

  1. /*++
  2. Copyright (c) 1992 Microsoft Corporation
  3. Module Name:
  4. flagpage.h
  5. Abstract:
  6. Knob and page definitions for the TCP/IP page
  7. Author:
  8. John Vert (jvert) 24-Apr-1995
  9. Revision History:
  10. --*/
  11. KNOB TcpKeepAliveInterval =
  12. {
  13. HKEY_LOCAL_MACHINE,
  14. TEXT("System\\CurrentControlSet\\Services\\Tcpip\\Parameters"),
  15. TEXT("KeepAliveInterval"),
  16. TCP_KEEP_ALIVE_INTERVAL,
  17. 0,
  18. 0,
  19. 0
  20. };
  21. KNOB TcpKeepAliveTime =
  22. {
  23. HKEY_LOCAL_MACHINE,
  24. TEXT("System\\CurrentControlSet\\Services\\Tcpip\\Parameters"),
  25. TEXT("KeepAliveTime"),
  26. TCP_KEEP_ALIVE_TIME,
  27. 0,
  28. 0,
  29. 0
  30. };
  31. KNOB TcpRFC1122 =
  32. {
  33. HKEY_LOCAL_MACHINE,
  34. TEXT("System\\CurrentControlSet\\Services\\Tcpip\\Parameters"),
  35. TEXT("TcpUseRFC1122UrgentPointer"),
  36. TCP_RFC1122,
  37. 0,
  38. 0,
  39. 0
  40. };
  41. KNOB TcpWindowSize =
  42. {
  43. HKEY_LOCAL_MACHINE,
  44. TEXT("System\\CurrentControlSet\\Services\\Tcpip\\Parameters"),
  45. TEXT("TcpWindowSize"),
  46. TCP_WINDOW_SIZE,
  47. 0,
  48. 0,
  49. 0
  50. };
  51. KNOB TcpDeadGateway =
  52. {
  53. HKEY_LOCAL_MACHINE,
  54. TEXT("System\\CurrentControlSet\\Services\\Tcpip\\Parameters"),
  55. TEXT("EnableDeadGWDetect"),
  56. TCP_DEAD_GATEWAY,
  57. 0,
  58. 0,
  59. 0
  60. };
  61. KNOB TcpPMTUDiscovery =
  62. {
  63. HKEY_LOCAL_MACHINE,
  64. TEXT("System\\CurrentControlSet\\Services\\Tcpip\\Parameters"),
  65. TEXT("EnablePMTUDiscovery"),
  66. TCP_PMTU_DISCOVERY,
  67. 0,
  68. 0,
  69. 0
  70. };
  71. KNOB TcpDefaultTTL =
  72. {
  73. HKEY_LOCAL_MACHINE,
  74. TEXT("System\\CurrentControlSet\\Services\\Tcpip\\Parameters"),
  75. TEXT("DefaultTTL"),
  76. TCP_DEFAULT_TTL,
  77. 0,
  78. 0,
  79. 0
  80. };
  81. KNOB TcpConnectRetransmits =
  82. {
  83. HKEY_LOCAL_MACHINE,
  84. TEXT("System\\CurrentControlSet\\Services\\Tcpip\\Parameters"),
  85. TEXT("TcpMaxConnectRetransmissions"),
  86. TCP_CONNECT_RETRANSMITS,
  87. 0,
  88. 0,
  89. 0
  90. };
  91. KNOB TcpDataRetransmits =
  92. {
  93. HKEY_LOCAL_MACHINE,
  94. TEXT("System\\CurrentControlSet\\Services\\Tcpip\\Parameters"),
  95. TEXT("TcpMaxDataRetransmissions"),
  96. TCP_DATA_RETRANSMITS,
  97. 0,
  98. 0,
  99. 0
  100. };
  101. KNOB TcpIGMPLevel =
  102. {
  103. HKEY_LOCAL_MACHINE,
  104. TEXT("System\\CurrentControlSet\\Services\\Tcpip\\Parameters"),
  105. TEXT("IGMPLevel"),
  106. TCP_IGMP_LEVEL,
  107. 0,
  108. 0,
  109. 0
  110. };
  111. KNOB TcpMaxConnections =
  112. {
  113. HKEY_LOCAL_MACHINE,
  114. TEXT("System\\CurrentControlSet\\Services\\Tcpip\\Parameters"),
  115. TEXT("TcpNumConnections"),
  116. TCP_MAX_CONNECTIONS,
  117. 0,
  118. 0,
  119. 0
  120. };
  121. KNOB TcpArpSourceRoute =
  122. {
  123. HKEY_LOCAL_MACHINE,
  124. TEXT("System\\CurrentControlSet\\Services\\Tcpip\\Parameters"),
  125. TEXT("ArpAlwaysSourceRoute"),
  126. TCP_ARP_SOURCE_ROUTE,
  127. 0,
  128. 0,
  129. 0
  130. };
  131. KNOB TcpArpEtherSNAP =
  132. {
  133. HKEY_LOCAL_MACHINE,
  134. TEXT("System\\CurrentControlSet\\Services\\Tcpip\\Parameters"),
  135. TEXT("ArpUseEtherSNAP"),
  136. TCP_ARP_ETHER_SNAP,
  137. 0,
  138. 0,
  139. 0
  140. };
  141. KNOB TcpPMTUBHDetect =
  142. {
  143. HKEY_LOCAL_MACHINE,
  144. TEXT("System\\CurrentControlSet\\Services\\Tcpip\\Parameters"),
  145. TEXT("EnablePMTUBHDetect"),
  146. TCP_PMTUBH_DETECT,
  147. 0,
  148. 0,
  149. 0
  150. };
  151. KNOB TcpForwardMemory =
  152. {
  153. HKEY_LOCAL_MACHINE,
  154. TEXT("System\\CurrentControlSet\\Services\\Tcpip\\Parameters"),
  155. TEXT("ForwardBufferMemory"),
  156. TCP_FORWARD_MEMORY,
  157. 0,
  158. 0,
  159. 0
  160. };
  161. KNOB TcpForwardPackets =
  162. {
  163. HKEY_LOCAL_MACHINE,
  164. TEXT("System\\CurrentControlSet\\Services\\Tcpip\\Parameters"),
  165. TEXT("NumForwardPackets"),
  166. TCP_FORWARD_PACKETS,
  167. 0,
  168. 0,
  169. 0
  170. };
  171. KNOB TcpDefaultTOS =
  172. {
  173. HKEY_LOCAL_MACHINE,
  174. TEXT("System\\CurrentControlSet\\Services\\Tcpip\\Parameters"),
  175. TEXT("DefaultTOS"),
  176. TCP_DEFAULT_TOS,
  177. 0,
  178. 0,
  179. 0
  180. };
  181. TWEAK_PAGE TcpPage =
  182. {
  183. MAKEINTRESOURCE(TCPIP_DLG),
  184. NULL,
  185. {
  186. &TcpKeepAliveInterval,
  187. &TcpKeepAliveTime,
  188. &TcpRFC1122,
  189. &TcpWindowSize,
  190. &TcpDeadGateway,
  191. &TcpPMTUDiscovery,
  192. &TcpDefaultTTL,
  193. &TcpConnectRetransmits,
  194. &TcpDataRetransmits,
  195. &TcpIGMPLevel,
  196. &TcpMaxConnections,
  197. &TcpArpSourceRoute,
  198. &TcpArpEtherSNAP,
  199. &TcpPMTUBHDetect,
  200. &TcpForwardMemory,
  201. &TcpForwardPackets,
  202. &TcpDefaultTOS,
  203. NULL
  204. }
  205. };