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.

134 lines
4.2 KiB

  1. ; NETIP6.INF -- TCP/IP version 6 Protocol
  2. ;
  3. ; IPv6 Installation file for Windows 2000
  4. ;
  5. ; Copyright (c) Microsoft Corporation. All rights reserved.
  6. [Version]
  7. Signature = "$Windows NT$"
  8. Class = NetTrans
  9. ClassGUID = {4d36e975-e325-11ce-bfc1-08002be10318}
  10. Provider = %Msft%
  11. [Manufacturer]
  12. %Msft% = Msft
  13. [Msft]
  14. %MS_TCPIP6.DisplayName% = MS_TCPIP6.Install, MS_TCPIP6
  15. [MS_TCPIP6.Install]
  16. Characteristics = 0
  17. AddReg = Registry.MS_TCPIP6.Install
  18. [Registry.MS_TCPIP6.Install]
  19. ; Class Information
  20. HKR, Ndi, HelpText, 0, %MS_TCPIP6.HelpText%
  21. HKR, Ndi, Service, 0, "Tcpip6"
  22. HKR, Ndi, CoServices, 0x10000, "Tcpip6", "6to4"
  23. ;
  24. ; Note: The following line is required for Teredo to work.
  25. ; HKR, Ndi, RequiredAll,0, "*TUNMP"
  26. ;
  27. ; Interfaces
  28. HKR, Ndi\Interfaces, UpperRange, 0, "tdi"
  29. HKR, Ndi\Interfaces, LowerRange, 0, "ndis5,ndis5_ip6"
  30. ;=====================================
  31. ; Microsoft IPv6 Interface and Service Install
  32. ;=====================================
  33. ; Service install
  34. [MS_TCPIP6.Install.Services]
  35. AddService = Tcpip6, 0, Install.AddService.TCPIP6, NetEventLog
  36. AddService = 6to4, 0, Svc-6to4
  37. ; Install Tcpip6 service
  38. ;
  39. ; The Tcpip6 driver can be loaded without the Tcpip (IPv4) driver.
  40. ; But we don't test that configuration.
  41. ; Also there's a race - the Tcpip6 driver might start before
  42. ; the Tcpip driver has initialized, in which case
  43. ; the v6-v4 tunnel code will fail to initialize properly.
  44. ; So we create a dependency on Tcpip.
  45. [Install.AddService.TCPIP6]
  46. DisplayName = %MS_TCPIP6.TCPIP6.ServiceDescription%
  47. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  48. StartType = 1 ;SERVICE_SYSTEM_START
  49. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  50. ServiceBinary = %12%\tcpip6.sys
  51. LoadOrderGroup = PNP_TDI
  52. Dependencies = Tcpip
  53. AddReg = Registry.Service.TCPIP6
  54. Description = %MS_TCPIP6.TCPIP6.ServiceDescription%
  55. [Svc-6to4]
  56. DisplayName = %MS_TCPIP6.6to4.DisplayName%
  57. ServiceType = 0x120 ;SERVICE_INTERACTIVE_PROCESS | SERVICE_WIN32_SHARE_PROCESS
  58. StartType = 2 ;SERVICE_AUTO_START
  59. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  60. ServiceBinary = %11%\svchost.exe -k netsvcs
  61. ;
  62. ; The dependency on RpcSs is because this service may be set to auto-start
  63. ; and it runs in an instance of Svchost that needs to call
  64. ; CoInitailizeSecurity on behalf of the entire process.
  65. ; This call (made by svchost) will not succeed unless RpcSs is running.
  66. ;
  67. ; The dependency on WinMgmt is because the 6to4 service needs to query ICS
  68. ; configuration information, and the API for this information requires
  69. ; WinMgmt to be running.
  70. ;
  71. Dependencies = RpcSS,tcpip6,winmgmt
  72. AddReg = Registry.Service.6to4.AddReg
  73. Description = %MS_TCPIP6.6to4.ServiceDescription%
  74. ; Install Winsock dependency
  75. [MS_TCPIP6.Install.Winsock]
  76. AddSock = Install.Tcpip6Winsock
  77. [Install.Tcpip6Winsock]
  78. TransportService = Tcpip6
  79. HelperDllName = "%SystemRoot%\System32\wship6.dll"
  80. MaxSockAddrLength = 0x1c
  81. MinSockAddrLength = 0x1c
  82. [Registry.Service.TCPIP6]
  83. HKR, , "TextModeFlags", 0x10001, 0x0001
  84. HKR, Parameters\Winsock,"UseDelayedAcceptance",0x10001,0x0000
  85. [Registry.Service.6to4.AddReg]
  86. HKLM,"SOFTWARE\Microsoft\NetSh", ipv6mon,, "ipv6mon.dll"
  87. HKR, Parameters, ServiceDll, 0x00020000, "%%SystemRoot%%\System32\6to4svc.dll"
  88. [Registry.Service.6to4.DelReg]
  89. HKLM,"SOFTWARE\Microsoft\NetSh", ipv6mon
  90. HKR, Parameters, ServiceDll
  91. ;====================================
  92. ; TCP/IP6 Interface and Service Remove
  93. ;====================================
  94. [MS_TCPIP6.Install.Remove]
  95. DelReg = Registry.Service.6to4.DelReg
  96. ;nothing
  97. [MS_TCPIP6.Install.Remove.Services]
  98. DelService = Tcpip6
  99. DelService = 6to4
  100. [MS_TCPIP6.Install.Remove.Winsock]
  101. DelSock = Remove.Tcpip6Winsock
  102. [Remove.Tcpip6Winsock]
  103. TransportService=Tcpip6
  104. ;****************************************************************************
  105. ; [Event Log] sections.
  106. ;****************************************************************************
  107. [NetEventLog]
  108. AddReg = NetEventLog.AddReg
  109. [NetEventLog.AddReg]
  110. HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\netevent.dll"
  111. HKR,,TypesSupported,0x00010001,7