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.

1107 lines
53 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. ipv6mon.rc
  5. Abstract:
  6. IPv6 Router Console Monitor Resources
  7. Author:
  8. Stefan Solomon 01/04/1996
  9. Revision History:
  10. Brad Mahugh 09/06/1999 (revised for netsh guidelines)
  11. --*/
  12. #include "strdefs.h"
  13. STRINGTABLE
  14. {
  15. MSG_NULL, ""
  16. MSG_NEWLINE, "\n"
  17. MSG_SEPARATOR, "\
  18. -------------------------------------------------------------------------\n"
  19. HLP_IP6TO4_SET_INTERFACE,
  20. "Sets 6to4 interface configuration information.\n"
  21. HLP_IP6TO4_SET_INTERFACE_EX "\
  22. \nUsage: %1!s! [name=]<string> \
  23. \n [[routing=](enabled|disabled|default)] \
  24. \n \
  25. \nParameters: \
  26. \n \
  27. \n Tag Value \
  28. \n name - Interface name. \
  29. \n routing - Whether to act as a router. \
  30. \n \
  31. \nRemarks: Sets 6to4 interface configuration information. \
  32. \n \
  33. \nExamples: \
  34. \n \
  35. \n %1!s! ""Private"" enabled \
  36. \n \n\n"
  37. HLP_IP6TO4_SHOW_INTERFACE,
  38. "Shows the 6to4 interface configuration information.\n"
  39. HLP_IP6TO4_SHOW_INTERFACE_EX, "\
  40. \nUsage %1!s! \
  41. \n \
  42. \n Shows the 6to4 interface configuration information. \
  43. \n\n"
  44. HLP_IP6TO4_SET_RELAY,
  45. "Sets 6to4 relay information.\n"
  46. HLP_IP6TO4_SET_RELAY_EX "\
  47. \nUsage: %1!s! [[name=](<string>|default)] \
  48. \n [[state=](enabled|disabled|automatic|default)] \
  49. \n [[interval]=<integer>] \
  50. \n \
  51. \nParameters: \
  52. \n \
  53. \n Tag Value \
  54. \n name - Name of the 6to4 relay. \
  55. \n state - State of relay name resolution. \
  56. \n interval - Resolution interval (in minutes). \
  57. \n \
  58. \nRemarks: Sets 6to4 relay information. \
  59. \n \
  60. \nExamples: \
  61. \n \
  62. \n %1!s! 6to4.ipv6.org. enabled 1440 \
  63. \n \n\n"
  64. HLP_IP6TO4_SHOW_RELAY,
  65. "Shows the 6to4 relay information.\n"
  66. HLP_IP6TO4_SHOW_RELAY_EX, "\
  67. \nUsage %1!s! \
  68. \n \
  69. \n Shows the 6to4 relay information. \
  70. \n\n"
  71. HLP_IP6TO4_SET_ROUTING,
  72. "Sets 6to4 routing information.\n"
  73. HLP_IP6TO4_SET_ROUTING_EX "\
  74. \nUsage: %1!s! [[routing=](enabled|disabled|automatic|default)] \
  75. \n [[sitelocals=](enabled|disabled|default)] \
  76. \n \
  77. \nParameters: \
  78. \n \
  79. \n Tag Value \
  80. \n routing - State of 6to4 routing. \
  81. \n sitelocals - Whether to use Site-Local addresses. \
  82. \n \
  83. \nRemarks: Sets 6to4 routing information. \
  84. \n \
  85. \nExamples: \
  86. \n \
  87. \n %1!s! default default \
  88. \n %1!s! routing=enabled sitelocals=enabled \
  89. \n \n\n"
  90. HLP_IP6TO4_SHOW_ROUTING,
  91. "Shows the 6to4 routing state.\n"
  92. HLP_IP6TO4_SHOW_ROUTING_EX, "\
  93. \nUsage %1!s! \
  94. \n \
  95. \n Shows the 6to4 routing state. \
  96. \n\n"
  97. HLP_IP6TO4_SET_STATE,
  98. "Sets the 6to4 state.\n"
  99. HLP_IP6TO4_SET_STATE_EX "\
  100. \nUsage: %1!s! [[state=](enabled|disabled|default)] \
  101. \n [[undoonstop=](enabled|disabled|default)] \
  102. \n [[6over4=](enabled|disabled|default)] \
  103. \n \
  104. \nParameters: \
  105. \n \
  106. \n Tag Value \
  107. \n state - Whether 6to4 is enabled. \
  108. \n undoonstop - Whether 6to4 is disabled on service stop. \
  109. \n 6over4 - Whether 6over4 interfaces are created.\
  110. \n \
  111. \nRemarks: Sets the 6to4 configuration state. \
  112. \n \
  113. \nExamples: \
  114. \n \
  115. \n %1!s! default default default \
  116. \n %1!s! state=enabled undoonstop=disabled 6over4=disabled\
  117. \n\n"
  118. HLP_IP6TO4_SHOW_STATE,
  119. "Shows the 6to4 state.\n"
  120. HLP_IP6TO4_SHOW_STATE_EX, "\
  121. \nUsage %1!s! \
  122. \n \
  123. \n Shows the 6to4 state. \
  124. \n\n"
  125. HLP_IP6TO4_RESET,
  126. "Resets all 6to4 configuration state.\n"
  127. HLP_IP6TO4_RESET_EX, "\
  128. \nUsage %1!s! \
  129. \n \
  130. \nRemarks: Resets all 6to4 configuration state. \
  131. \n\n"
  132. HLP_IPV6_INSTALL, "Installs IPv6.\n"
  133. HLP_IPV6_INSTALL_EX,"\
  134. \nUsage %1!s! \
  135. \n \
  136. \nRemarks: Installs IPv6.\
  137. \n\n"
  138. HLP_IPV6_RENEW, "Restarts IPv6 interfaces.\n"
  139. HLP_IPV6_RENEW_EX, "\
  140. \nUsage %1!s! [[interface=]<string>] \
  141. \n \
  142. \nParameters: \
  143. \n \
  144. \n Tag Value \
  145. \n interface - Interface name or index.\
  146. \n \
  147. \nRemarks: Restarts IPv6 interfaces. \
  148. \n \
  149. \nExample: \
  150. \n \
  151. \n %1!s! ""Private"" \
  152. \n\n"
  153. HLP_IPV6_RESET,
  154. "Resets IPv6 configuration state.\n"
  155. HLP_IPV6_RESET_EX, "\
  156. \nUsage %1!s! \
  157. \n \
  158. \nRemarks: Resets IPv6 configuration state. \
  159. \n\n"
  160. HLP_IPV6_UNINSTALL, "Uninstalls IPv6.\n"
  161. HLP_IPV6_UNINSTALL_EX,"\
  162. \nUsage %1!s! \
  163. \n \
  164. \nRemarks: Uninstalls IPv6.\
  165. \n\n"
  166. HLP_IPV6_ADD_6OVER4TUNNEL,
  167. "Creates a 6over4 interface.\n"
  168. HLP_IPV6_ADD_6OVER4TUNNEL_EX, "\
  169. \nUsage %1!s! [interface=]<string> [localaddress=]<IPv4 address> \
  170. \n \
  171. \nParameters: \
  172. \n \
  173. \n Tag Value \
  174. \n interface - Friendly name to use for interface. \
  175. \n local address - IPv4 address for encapsulation. \
  176. \n \
  177. \nRemarks: Creates a 6over4 interface using the specified \
  178. \n IPv4 address. \
  179. \n \
  180. \nExample: \
  181. \n \
  182. \n %1!s! ""Private"" 10.1.1.1 \
  183. \n\n"
  184. HLP_IPV6_ADD_ADDRESS,
  185. "Adds an IPv6 address on an interface.\n"
  186. HLP_IPV6_ADD_ADDRESS_EX, "\
  187. \nUsage %1!s! [interface=]<string> [address=]<IPv6 address>\
  188. \n [[type=]unicast|anycast] \
  189. \n \
  190. \nParameters: \
  191. \n \
  192. \n Tag Value \
  193. \n interface - Interface name or index. \
  194. \n address - IPv6 address to add. \
  195. \n type - One of the following values: \
  196. \n unicast: Adds a unicast address. This is the default.\
  197. \n anycast: Adds an anycast address.\
  198. \n \
  199. \nRemarks: Adds an IPv6 address to a given interface. \
  200. \n \
  201. \nExample: \
  202. \n \
  203. \n %1!s! ""Private"" fe80::2 \
  204. \n\n"
  205. HLP_IPV6_ADD_PREFIXPOLICY,
  206. "Adds a prefix policy entry.\n"
  207. HLP_IPV6_ADD_PREFIXPOLICY_EX, "\
  208. \nUsage %1!s! [prefix=]<IPv6 address>/<integer> \
  209. \n [precedence=]<integer> [label=]<integer> \
  210. \n \
  211. \nParameters: \
  212. \n \
  213. \n Tag Value \
  214. \n prefix - Prefix for which to add a policy. \
  215. \n precedence - Precedence value for ordering. \
  216. \n label - Label value for matching. \
  217. \n \
  218. \nRemarks: Adds a source and destination address selection policy for \
  219. \n a given prefix. \
  220. \n \
  221. \nExample: \
  222. \n \
  223. \n %1!s! ::/96 3 4 \
  224. \n\n"
  225. HLP_IPV6_ADD_ROUTE,
  226. "Adds an IPv6 route over an interface.\n"
  227. HLP_IPV6_ADD_ROUTE_EX, "\
  228. \nUsage %1!s! [prefix=]<IPv6 address>/<integer> [interface=]<string> \
  229. \n [[nexthop=]<IPv6 address>] [[siteprefixlength=]<integer>] \
  230. \n [[metric=]<integer>] [[publish=]no|yes|immortal] \
  231. \n \
  232. \nParameters: \
  233. \n \
  234. \n Tag Value \
  235. \n prefix - Prefix for which to add a route. \
  236. \n interface - Interface name or index. \
  237. \n nexthop - Gateway address, if prefix is not on-link. \
  238. \n siteprefixlength - Prefix length for the entire site, if on-link. \
  239. \n metric - Route metric. \
  240. \n publish - One of the following values: \
  241. \n no: Not advertised in Route Advertisements. \
  242. \n This is the default. \
  243. \n yes: Advertised in Route Advertisements. \
  244. \n immortal: Advertised in Route Advertisements \
  245. \n with an infinite lifetime. \
  246. \n \
  247. \nRemarks: Adds a route for a given prefix. \
  248. \n \
  249. \nExample: \
  250. \n \
  251. \n %1!s! 3ffe::/16 ""Internet"" fe80::1 \
  252. \n\n"
  253. HLP_IPV6_ADD_V6V4TUNNEL,
  254. "Creates an IPv6-in-IPv4 point-to-point tunnel.\n"
  255. HLP_IPV6_ADD_V6V4TUNNEL_EX, "\
  256. \nUsage %1!s! [interface=]<string> [localaddress=]<IPv4 address> \
  257. \n [remoteaddress=]<IPv4 address> \
  258. \n [[neighbordiscovery=]enabled|disabled] \
  259. \n \
  260. \nParameters: \
  261. \n \
  262. \n Tag Value \
  263. \n interface - Friendly name to use for interface. \
  264. \n localaddress - IPv4 address of local tunnel endpoint. \
  265. \n remoteaddress - IPv4 address of remote tunnel endpoint. \
  266. \n neighbordiscovery - One of the following values: \
  267. \n enabled: ND is enabled on the interface. \
  268. \n disabled: ND is disabled on the interface. \
  269. \n This is the default. \
  270. \n \
  271. \nRemarks: Creates an IPv6-in-IPv4 tunnel. \
  272. \n \
  273. \nExample: \
  274. \n \
  275. \n %1!s! ""Private"" 10.0.0.1 192.168.1.1 \
  276. \n\n"
  277. HLP_IPV6_SET_ADDRESS,
  278. "Modifies IPv6 address information.\n"
  279. HLP_IPV6_SET_ADDRESS_EX, "\
  280. \nUsage %1!s! [interface=]<string> [address=]<IPv6 address> \
  281. \n [[type=]unicast|anycast] \
  282. \n \
  283. \nParameters: \
  284. \n \
  285. \n Tag Value \
  286. \n interface - Interface name or index. \
  287. \n address - IPv6 address to modify. \
  288. \n type - One of the following values: \
  289. \n unicast: Marks the address as a unicast address. \
  290. \n This is the default. \
  291. \n anycast: Marks the address as an anycast address.\
  292. \n \
  293. \nRemarks: Modifies an IPv6 address on a given interface. \
  294. \n \
  295. \nExample: \
  296. \n \
  297. \n %1!s! ""Private"" fe80::2 anycast \
  298. \n\n"
  299. HLP_IPV6_SET_GLOBAL,
  300. "Modifies global configuration general parameters.\n"
  301. HLP_IPV6_SET_GLOBAL_EX, "\
  302. \nUsage %1!s! [[defaultcurhoplimit=]<integer>] [neighborcachelimit=]<integer>\
  303. \n [[routecachelimit=]<integer>] \
  304. \n \
  305. \nParameters: \
  306. \n \
  307. \n Tag Value \
  308. \n defaultcurhoplimit - Default HopLimit of packets sent. \
  309. \n neighborcachelimit - Maximum number of neighbor cache entries. \
  310. \n routecachelimit - Maximum number of route cache entries. \
  311. \n \
  312. \nRemarks: Modifies global configuration general parameters. \
  313. \n \
  314. \nExample: \
  315. \n \
  316. \n %1!s! ""Private"" 32 100 100000 \
  317. \n\n"
  318. HLP_IPV6_SET_INTERFACE,
  319. "Modifies interface configuration parameters.\n"
  320. HLP_IPV6_SET_INTERFACE_EX, "\
  321. \nUsage %1!s! [interface=]<string> [[forwarding=]enabled|disabled] \
  322. \n [[advertise=]enabled|disabled] [[mtu=]<integer>] \
  323. \n [[siteid=]<integer>] [[metric=]<integer>] \
  324. \n \
  325. \nParameters: \
  326. \n \
  327. \n Tag Value \
  328. \n interface - Interface name or index. \
  329. \n forwarding - Whether packets arriving on this interface can \
  330. \n be forwarded to other interfaces. The default \
  331. \n is disabled. \
  332. \n advertise - Whether Router Advertisments are to be sent on \
  333. \n this interface. The default is disabled. \
  334. \n mtu - The MTU of this interface. The default is the \
  335. \n natural MTU of the link. \
  336. \n siteid - Site scope zone identifier. \
  337. \n metric - Interface metric, added to route metrics for \
  338. \n all route over the interface. \
  339. \n \
  340. \nRemarks: Modifies interface configuration parameters. \
  341. \n \
  342. \nExample: \
  343. \n \
  344. \n %1!s! ""Private"" siteid=2 metric=2 \
  345. \n\n"
  346. HLP_IPV6_SET_MOBILITY,
  347. "Modifies mobility configuration parameters.\n"
  348. HLP_IPV6_SET_MOBILITY_EX, "\
  349. \nUsage %1!s! [[security=]enabled|disabled] \
  350. \n [[bindingcachelimit=]<integer>] \
  351. \n \
  352. \nParameters: \
  353. \n \
  354. \n Tag Value \
  355. \n security - Whether binding updates must be secured.\
  356. \n bindingcachelimit - Maximum number of binding cache entries.\
  357. \n \
  358. \nRemarks: Modifies mobility configuration parameters. \
  359. \n \
  360. \nExample: \
  361. \n \
  362. \n %1!s! security=disabled bindingcachelimit=1000 \
  363. \n\n"
  364. HLP_IPV6_SET_PREFIXPOLICY,
  365. "Modifies prefix policy information.\n"
  366. HLP_IPV6_SET_PREFIXPOLICY_EX, "\
  367. \nUsage %1!s! [prefix=]<IPv6 address>/<integer> [precedence=]<integer> \
  368. \n [label=]<integer> \
  369. \n \
  370. \nParameters: \
  371. \n \
  372. \n Tag Value \
  373. \n prefix - Prefix for which to add a policy. \
  374. \n precedence - Precedence value for ordering. \
  375. \n label - Label value for matching. \
  376. \n \
  377. \nRemarks: Modifies a source and destination address selection policy \
  378. \n for a given prefix. \
  379. \n \
  380. \nExample: \
  381. \n \
  382. \n %1!s! ::/96 3 4 \
  383. \n\n"
  384. HLP_IPV6_SET_PRIVACY,
  385. "Modifies privacy configuration parameters.\n"
  386. HLP_IPV6_SET_PRIVACY_EX, "\
  387. \nUsage %1!s! [[state=]enabled|disabled] [[maxdadattempts=]<integer>] \
  388. \n [[maxvalidlifetime=]<integer>] \
  389. \n [[maxpreferredlifetime=]<integer>] \
  390. \n [[regeneratetime=]<integer>] \
  391. \n [[maxrandomtime=]<integer>] [[randomtime=]<integer>] \
  392. \n \
  393. \nParameters: \
  394. \n \
  395. \n Tag Value \
  396. \n state - Whether anonymous addresses are enabled. \
  397. \n maxdadattempts - Duplicate address detection attempts. \
  398. \n The default value is 5. \
  399. \n maxvalidlifetime - Maximum lifetime, in seconds, over which \
  400. \n an anonymous address is valid. The \
  401. \n default value is 604800 (one week). \
  402. \n maxpreferredlifetime - Maximum lifetime, in seconds, over which \
  403. \n an anonymous address is preferred. The \
  404. \n default value is 86400 (one day). \
  405. \n regeneratetime - Time, in seconds prior to deprecating an \
  406. \n anonymous address, that a new address is \
  407. \n generated. The default value is 5. \
  408. \n maxrandomtime - Upper bound, in seconds, to use when \
  409. \n computing a random delay at startup time.\
  410. \n The default value is 600 (ten minutes). \
  411. \n randomtime - Actual value, in seconds, to use rather \
  412. \n than a random value generated at boot. \
  413. \n \
  414. \nRemarks: Modifies parameters related to anonymous address generation. \
  415. \n If randomtime is specified, the maxrandomtime value is not \
  416. \n used. \
  417. \n\n"
  418. HLP_IPV6_SET_ROUTE,
  419. "Modifies route parameters.\n"
  420. HLP_IPV6_SET_ROUTE_EX, "\
  421. \nUsage %1!s! [prefix=]<IPv6 address>/<integer> [interface=]<string> \
  422. \n [[nexthop=]<IPv6 address>] [[siteprefixlength=]<integer>] \
  423. \n [[metric=]<integer>] [[publish=]no|yes|immortal] \
  424. \n \
  425. \nParameters: \
  426. \n \
  427. \n Tag Value \
  428. \n prefix - Prefix of route to modify. \
  429. \n interface - Interface name or index. \
  430. \n nexthop - Gateway address, if prefix is not on-link. \
  431. \n siteprefixlength - Prefix length for the entire site, if on-link. \
  432. \n metric - Route metric. \
  433. \n publish - One of the following values: \
  434. \n no: Not advertised in Route Advertisements. \
  435. \n This is the default. \
  436. \n yes: Advertised in Route Advertisements. \
  437. \n immortal: Advertised in Route Advertisements \
  438. \n with an infinite lifetime. \
  439. \n \
  440. \nRemarks: Modifies route parameters. \
  441. \n \
  442. \nExample: \
  443. \n \
  444. \n %1!s! 3ffe::/16 ""Internet"" fe80::1 \
  445. \n\n"
  446. HLP_IPV6_DEL_ADDRESS,
  447. "Deletes an IPv6 address from an interface.\n"
  448. HLP_IPV6_DEL_ADDRESS_EX, "\
  449. \nUsage %1!s! [interface=]<string> [address=]<IPv6 address> \
  450. \n \
  451. \nParameters: \
  452. \n \
  453. \n Tag Value \
  454. \n interface - Interface name or index. \
  455. \n address - IPv6 address to delete. \
  456. \n \
  457. \nRemarks: Modifies an IPv6 address on a given interface. \
  458. \n \
  459. \nExample: \
  460. \n \
  461. \n %1!s! ""Private"" fe80::2 \
  462. \n\n"
  463. HLP_IPV6_DEL_INTERFACE,
  464. "Deletes an interface from the IPv6 stack.\n"
  465. HLP_IPV6_DEL_INTERFACE_EX, "\
  466. \nUsage %1!s! [interface=]<string> \
  467. \n \
  468. \nParameters: \
  469. \n \
  470. \n Tag Value \
  471. \n interface - Interface name or index. \
  472. \n \
  473. \nRemarks: Deletes a given interface from the IPv6 stack. \
  474. \n \
  475. \nExample: \
  476. \n \
  477. \n %1!s! ""Private"" \
  478. \n\n"
  479. HLP_IPV6_DEL_NEIGHBORS,
  480. "Deletes the IPv6 neighbor cache.\n"
  481. HLP_IPV6_DEL_NEIGHBORS_EX, "\
  482. \nUsage %1!s! [[interface=]<string> [[address=]<IPv6 address>]] \
  483. \n \
  484. \nParameters: \
  485. \n \
  486. \n Tag Value \
  487. \n interface - Interface name or index. \
  488. \n address - Address of neighbor. \
  489. \n \
  490. \nRemarks: Flushes the neighbor cache. If an interface is specified, \
  491. \n flushes the cache only on that interface. If an address is\
  492. \n also specified, deletes only that neighbor cache entry. \
  493. \n \
  494. \nExample: \
  495. \n \
  496. \n %1!s! ""Private"" \
  497. \n\n"
  498. HLP_IPV6_DEL_PREFIXPOLICY,
  499. "Deletes a prefix policy entry.\n"
  500. HLP_IPV6_DEL_PREFIXPOLICY_EX, "\
  501. \nUsage %1!s! [prefix=]<IPv6 address>/<integer> \
  502. \n \
  503. \nParameters: \
  504. \n \
  505. \n Tag Value \
  506. \n prefix - Prefix for which to add a policy. \
  507. \n \
  508. \nRemarks: Deletes the source and destination address selection policy \
  509. \n for a given prefix. \
  510. \n \
  511. \nExample: \
  512. \n \
  513. \n %1!s! ::/96 \
  514. \n\n"
  515. HLP_IPV6_DEL_ROUTE,
  516. "Deletes an IPv6 route.\n"
  517. HLP_IPV6_DEL_ROUTE_EX, "\
  518. \nUsage %1!s! [prefix=]<IPv6 address>/<integer> [interface=]<string> \
  519. \n [[nexthop=]<IPv6 address>] \
  520. \n \
  521. \nParameters: \
  522. \n \
  523. \n Tag Value \
  524. \n prefix - Prefix of route to delete. \
  525. \n interface - Interface name or index. \
  526. \n nexthop - Gateway address, if prefix is not on-link. \
  527. \n \
  528. \nRemarks: Deletes an IPv6 route. \
  529. \n \
  530. \nExample: \
  531. \n \
  532. \n %1!s! 3ffe::/16 ""Internet"" fe80::1 \
  533. \n\n"
  534. HLP_IPV6_DEL_DESTINATIONCACHE,
  535. "Deletes the IPv6 destination cache.\n"
  536. HLP_IPV6_DEL_DESTINATIONCACHE_EX, "\
  537. \nUsage %1!s! [[interface=]<string> [[address=]<IPv6 address>]] \
  538. \n [[level=]normal|verbose] \
  539. \n \
  540. \nParameters: \
  541. \n \
  542. \n Tag Value \
  543. \n interface - Interface name or index. \
  544. \n address - Address of destination. \
  545. \n level - One of the following values: \
  546. \n normal: Display one line per entry. This is \
  547. \n the default. \
  548. \n verbose: Display extra information on each \
  549. \n entry. This is the default when a single\
  550. \n entry is specified. \
  551. \n \
  552. \nRemarks: Flushes the destination cache. If an interface is specified,\
  553. \n flushes the cache only on that interface. If an address is \
  554. \n also specified, deletes only that destination cache entry. \
  555. \n \
  556. \nExample: \
  557. \n \
  558. \n %1!s! ""Private"" \
  559. \n\n"
  560. HLP_IPV6_SHOW_ADDRESS,
  561. "Shows IPv6 addresses.\n"
  562. HLP_IPV6_SHOW_ADDRESS_EX, "\
  563. \nUsage %1!s! [[interface=]<string>] [[level=]normal|verbose] \
  564. \n \
  565. \nParameters: \
  566. \n \
  567. \n Tag Value \
  568. \n interface - Interface name or index. \
  569. \n level - One of the following values: \
  570. \n normal: Display one line per interface. This is \
  571. \n the default when no interface is given. \
  572. \n verbose: Display extra information on each \
  573. \n interface. This is the default when an \
  574. \n interface is given. \
  575. \n \
  576. \nRemarks: Displays all IPv6 addresses, or all addresses on a given \
  577. \n interface if one is specified. \
  578. \n\n"
  579. HLP_IPV6_SHOW_JOINS,
  580. "Shows IPv6 multicast addresses.\n"
  581. HLP_IPV6_SHOW_JOINS_EX, "\
  582. \nUsage %1!s! [[interface=]<string>] [[level=]normal|verbose] \
  583. \n \
  584. \nParameters: \
  585. \n \
  586. \n Tag Value \
  587. \n interface - Interface name or index. \
  588. \n level - One of the following values: \
  589. \n normal: Display one line per interface. This is \
  590. \n the default when no interface is given. \
  591. \n verbose: Display extra information on each \
  592. \n interface. This is the default when an \
  593. \n interface is given. \
  594. \n \
  595. \nRemarks: Displays all IPv6 multicast addresses, or all multicast \
  596. \n addresses on a given interface if one is specified. \
  597. \n\n"
  598. HLP_IPV6_SHOW_BINDINGCACHEENTRIES,
  599. "Shows binding cache entries.\n"
  600. HLP_IPV6_SHOW_BINDINGCACHEENTRIES_EX, "\
  601. \nUsage %1!s! \
  602. \n \
  603. \nRemarks: Displays all binding cache entries.\
  604. \n\n"
  605. HLP_IPV6_SHOW_INTERFACE,
  606. "Shows interface parameters.\n"
  607. HLP_IPV6_SHOW_INTERFACE_EX, "\
  608. \nUsage %1!s! [[interface=]<string>] [[level=]normal|verbose] \
  609. \n \
  610. \nParameters: \
  611. \n \
  612. \n Tag Value \
  613. \n interface - Interface name or index. \
  614. \n level - One of the following values: \
  615. \n normal: Display one line per interface. This is \
  616. \n the default when no interface is given. \
  617. \n verbose: Display extra information on each \
  618. \n interface. This is the default when an \
  619. \n interface is given. \
  620. \n \
  621. \nRemarks: Displays information about all interfaces, or about a given \
  622. \n interface if one is specified. \
  623. \n\n"
  624. HLP_IPV6_SHOW_GLOBAL,
  625. "Shows global configuration parameters.\n"
  626. HLP_IPV6_SHOW_GLOBAL_EX, "\
  627. \nUsage %1!s! \
  628. \n \
  629. \nRemarks: Shows global configuration parameters. \
  630. \n\n"
  631. HLP_IPV6_SHOW_MOBILITY,
  632. "Shows mobility configuration parameters.\n"
  633. HLP_IPV6_SHOW_MOBILITY_EX, "\
  634. \nUsage %1!s! \
  635. \n \
  636. \nRemarks: Shows mobility configuration parameters. \
  637. \n\n"
  638. HLP_IPV6_SHOW_NEIGHBORS,
  639. "Shows neighbor cache entries.\n"
  640. HLP_IPV6_SHOW_NEIGHBORS_EX, "\
  641. \nUsage %1!s! [[interface=]<string> [[address=]<IPv6 address>]] \
  642. \n \
  643. \nParameters: \
  644. \n \
  645. \n Tag Value \
  646. \n interface - Interface name or index. \
  647. \n address - Address of neighbor. \
  648. \n \
  649. \nRemarks: Shows neighbor cache entries. If an interface is specified,\
  650. \n shows the cache only on that interface. If an address is \
  651. \n also specified, shows only that neighbor cache entry. \
  652. \n\n"
  653. HLP_IPV6_SHOW_PREFIXPOLICY,
  654. "Shows prefix policy entries.\n"
  655. HLP_IPV6_SHOW_PREFIXPOLICY_EX, "\
  656. \nUsage %1!s! \
  657. \n \
  658. \nRemarks: Shows prefix policy entries used in source and destination\
  659. \n address selection. \
  660. \n\n"
  661. HLP_IPV6_SHOW_PRIVACY,
  662. "Shows privacy configuration parameters.\n"
  663. HLP_IPV6_SHOW_PRIVACY_EX, "\
  664. \nUsage %1!s! \
  665. \n \
  666. \nRemarks: Shows privacy configuration parameters. \
  667. \n\n"
  668. HLP_IPV6_SHOW_ROUTES,
  669. "Shows route table entries.\n"
  670. HLP_IPV6_SHOW_ROUTES_EX, "\
  671. \nUsage %1!s! [[level=]normal|verbose] \
  672. \n \
  673. \nParameters: \
  674. \n \
  675. \n Tag Value \
  676. \n level - One of the following values: \
  677. \n normal: Display normal routes only. This is the default.\
  678. \n verbose: Also display routes used for loopback. \
  679. \n \
  680. \nRemarks: Shows route table entries. \
  681. \n\n"
  682. HLP_IPV6_SHOW_DESTINATIONCACHE,
  683. "Shows destination cache entries.\n"
  684. HLP_IPV6_SHOW_DESTINATIONCACHE_EX, "\
  685. \nUsage %1!s! [[interface=]<string> [[address=]<IPv6 address>]] \
  686. \n \
  687. \nParameters: \
  688. \n \
  689. \n Tag Value \
  690. \n interface - Interface name or index. \
  691. \n address - Address of destination. \
  692. \n \
  693. \nRemarks: Shows destination cache entries. If an interface is specified, \
  694. \n shows the cache only on that interface. If an address is \
  695. \n also specified, shows only that destination cache entry. \
  696. \n\n"
  697. HLP_IPV6_SHOW_SITEPREFIXES,
  698. "Shows site prefix table entries.\n"
  699. HLP_IPV6_SHOW_SITEPREFIXES_EX, "\
  700. \nUsage %1!s! \
  701. \n \
  702. \nRemarks: Displays the site prefix table.\
  703. \n\n"
  704. HLP_GROUP_ADD, "Adds a configuration entry to a table.\n"
  705. HLP_GROUP_DELETE, "Deletes a configuration entry from a table.\n"
  706. HLP_GROUP_SET, "Sets configuration information.\n"
  707. HLP_GROUP_SHOW, "Displays information.\n"
  708. STRING_LOOPBACK, "Loopback"
  709. STRING_TUNNEL_AUTO, "Automatic Tunneling Pseudo-Interface"
  710. STRING_TUNNEL_6TO4, "6to4 Tunneling Pseudo-Interface"
  711. STRING_YES, "Yes"
  712. STRING_NO, "No"
  713. STRING_NEVER, "Never"
  714. STRING_SYSTEM, "System"
  715. STRING_MANUAL, "Manual"
  716. STRING_AUTOCONF, "Autoconf"
  717. STRING_RIP, "RIP"
  718. STRING_OSPF, "OSPF"
  719. STRING_BGP, "BGP"
  720. STRING_IDRP, "IDRP"
  721. STRING_IGRP, "IGRP"
  722. STRING_PUBLIC, "Public"
  723. STRING_ANONYMOUS, "Anonymous"
  724. STRING_DHCP, "DHCP"
  725. STRING_WELLKNOWN, "Well-known"
  726. STRING_RA, "RA"
  727. STRING_RANDOM, "Random"
  728. STRING_LL_ADDRESS, "Link-Layer Address"
  729. STRING_OTHER, "Other"
  730. STRING_INTERFACE, "Interface"
  731. STRING_LINK, "Link"
  732. STRING_SUBNET, "Subnet"
  733. STRING_ADMIN, "Admin"
  734. STRING_SITE, "Site"
  735. STRING_ORG, "Organization"
  736. STRING_GLOBAL, "Global"
  737. STRING_CONNECTED, "Connected"
  738. STRING_DISCONNECTED, "Disconnected"
  739. STRING_RECONNECTED, "Reconnecting"
  740. STRING_UNKNOWN, "?"
  741. STRING_INVALID, "Invalid"
  742. STRING_DUPLICATE, "Duplicate"
  743. STRING_TENTATIVE, "Tentative"
  744. STRING_DEPRECATED, "Deprecated"
  745. STRING_PREFERRED, "Preferred"
  746. MSG_IP6TO4_STATE, "6to4 Service State : %1!s!\n"
  747. MSG_ROUTING_STATE, "Routing State : %1!s!\n"
  748. MSG_SITELOCALS_STATE, "Use SiteLocals : %1!s!\n"
  749. MSG_RESOLUTION_STATE, "Use Relay : %1!s!\n"
  750. MSG_RELAY_NAME, "Relay Name : "
  751. MSG_STRING, "%1!s!\n"
  752. MSG_CSTRING, "%1!hs!\n"
  753. MSG_RESOLUTION_INTERVAL, "Resolution Interval : "
  754. MSG_MINUTES, "%1!d! minutes\n"
  755. MSG_UNDO_ON_STOP_STATE, "Undo on Service Stop: %1!s!\n"
  756. MSG_6OVER4_STATE, "6over4 State : %1!s!\n"
  757. MSG_IPV6_GLOBAL_PARAMETERS, "\
  758. General Global Parameters \n\
  759. ---------------------------------------------\n\
  760. Default Hop Limit : %1!u!\n\
  761. Neighbor Cache Limit : %2!u!\n\
  762. Route Cache Limit : %3!u!\n"
  763. MSG_IPV6_PRIVACY_PARAMETERS, "\
  764. Anonymous Address Parameters \n\
  765. ---------------------------------------------\n\
  766. Use Anonymous Addresses : %1!s!\n\
  767. Duplicate Address Detection Attempts: %2!u!\n\
  768. Maximum Valid Lifetime : %3!u! seconds\n\
  769. Maximum Preferred Lifetime : %4!u! seconds\n\
  770. Regenerate Time : %5!u! seconds\n\
  771. Maximum Random Time : %6!u! seconds\n\
  772. Random Time : %7!u! seconds\n"
  773. MSG_IPV6_MOBILITY_PARAMETERS, "\
  774. Mobility Parameters \n\
  775. ---------------------------------------------\n\
  776. Security : %1!s!\n\
  777. Binding Cache Limit : %2!u!\n"
  778. MSG_IPV6_PREFIX_POLICY_HDR, "\
  779. Precedence Label Prefix\n\
  780. ---------- ----- --------------------------------\n"
  781. MSG_IPV6_PREFIX_POLICY, "\
  782. %2!10u! %3!5u! %1!s!\n"
  783. MSG_IPV6_SITE_PREFIX_HDR, "\
  784. Prefix Lifetime Interface\n\
  785. ----------------------- -------- ------------------------------\n"
  786. MSG_IPV6_SITE_PREFIX, "\
  787. %1!-23s! -> %2!8u! %3!s!\n"
  788. MSG_IPV6_INTERFACE_HDR, "\
  789. Idx Met MTU State Name\n\
  790. --- --- ----- ------------ -----\n"
  791. MSG_IPV6_INTERFACE, "\
  792. %1!3u! %2!3u! %3!5u! %4!-12s! %5!s!\n"
  793. MSG_IPV6_INTERFACE_VERBOSE, "\n\
  794. GUID : %1!hs!\n\
  795. State : %2!s!\n\
  796. Metric : %3!u!\n\
  797. Link MTU : %4!u! bytes\n\
  798. True Link MTU : %5!u! bytes\n\
  799. Current Hop Limit : %6!u!\n\
  800. Reachable Time : %7!u! seconds\n\
  801. Base Reachable Time : %8!u! seconds\n\
  802. Retransmission Interval : %9!u! seconds\n\
  803. DAD Transmits : %10!u!\n\
  804. DNS Suffix : %11!s!\n"
  805. MSG_IPV6_LL_ADDRESS, "\
  806. Link-Layer Address : %1!s!\n"
  807. MSG_IPV6_REMOTE_LL_ADDRESS, "\
  808. Remote Link-Layer Address: %1!s!\n"
  809. MSG_IPV6_INTERFACE_SCOPE, "\
  810. Zone ID for %1!-13s!: %2!u!\n"
  811. MSG_IPV6_ND_ENABLED, "\
  812. Uses Neighbor Discovery : "
  813. MSG_IPV6_SENDS_RAS, "\
  814. Sends RA's : "
  815. MSG_IPV6_FORWARDS, "\
  816. Forwards Packets : "
  817. MSG_IPV6_ADDRESS_HDR, "\
  818. \nInterface %1!u!: %2!s!\n\n\
  819. Addr Type DAD State Valid Life Pref. Life Address\n\
  820. --------- ---------- ---------- ---------- -----------------------------------\n"
  821. MSG_IPV6_UNICAST_ADDRESS, "\
  822. %1!-10s! %2!-10s! %4!10u! %5!10u! %3!s!\n"
  823. MSG_IPV6_ANYCAST_ADDRESS, "\
  824. Anycast %1!s!\n"
  825. MSG_IPV6_ANYCAST_ADDRESS_VERBOSE, "\n\
  826. Anycast Address : %1!s!\n\
  827. Scope : %2!s!\n"
  828. MSG_IPV6_ADDRESS_HDR_VERBOSE, "\
  829. \nInterface %1!u!: %2!s!\n"
  830. MSG_IPV6_UNICAST_ADDRESS_VERBOSE, "\n\
  831. Unicast Address : %3!s!\n\
  832. Type : %1!s!\n\
  833. DAD State : %2!s!\n\
  834. Valid lifetime : %4!u! seconds\n\
  835. Preferred lifetime: %5!u! seconds\n\
  836. Scope : %6!s!\n"
  837. MSG_IPV6_PREFIX_ORIGIN, "\
  838. Prefix Origin : "
  839. MSG_IPV6_IID_ORIGIN, "\
  840. Suffix Origin : "
  841. MSG_IPV6_MULTICAST_ADDRESS_HDR, "\
  842. \nInterface %1!u!: %2!s!\n\n\
  843. Scope References ReportTime Last Address\n\
  844. ---------- ---------- ---------- ---- -----------------------------------\n"
  845. MSG_IPV6_MULTICAST_ADDRESS, "\
  846. %1!-10s! %3!10u! %4!-10s! %5!-4s! %2!s!\n"
  847. MSG_IPV6_MULTICAST_ADDRESS_VERBOSE, "\n\
  848. Multicast Address : %2!s!\n\
  849. Scope : %1!s!\n\
  850. References : %3!u!\n\
  851. Next Report Time : %4!u! seconds\n\
  852. Last Reporter? : %5!s!\n"
  853. MSG_IPV6_NEIGHBOR_CACHE_HDR, "\n\
  854. Interface %1!u!: %2!s!\n\n\
  855. Internet Address Physical Address Type\n\
  856. -------------------------------------------- ----------------- -----------\n"
  857. MSG_IPV6_NEIGHBOR_CACHE_ENTRY, "\
  858. %1!-44s! %2!-17s! "
  859. MSG_IPV6_NEIGHBOR_INCOMPLETE, "Incomplete"
  860. MSG_IPV6_NEIGHBOR_PROBE, "Probe"
  861. MSG_IPV6_NEIGHBOR_DELAY, "Delay"
  862. MSG_IPV6_NEIGHBOR_STALE, "Stale"
  863. MSG_IPV6_NEIGHBOR_REACHABLE, "Reachable (%1!u! sec)"
  864. MSG_IPV6_NEIGHBOR_PERMANENT, "Permanent"
  865. MSG_IPV6_NEIGHBOR_UNKNOWN, "%1!u!"
  866. MSG_IPV6_NEIGHBOR_ISROUTER, " (router)"
  867. MSG_IPV6_NEIGHBOR_UNREACHABLE, "Unreachable"
  868. MSG_IPV6_DESTINATION_HDR, "\n\
  869. Interface %1!u!: %2!s!\n\n\
  870. PMTU Destination Address Next Hop Address \n\
  871. ---- ---------------------------------- ----------------------------------\n"
  872. MSG_IPV6_DESTINATION_ENTRY, "%1!4u! %2!-35s! "
  873. MSG_IPV6_DESTINATION_NEXTHOP, "%1!-35s!\n"
  874. MSG_IPV6_DESTINATION_HDR_VERBOSE, "\n\
  875. Interface %1!u!: %2!s!\n\n"
  876. MSG_IPV6_DESTINATION_ENTRY_VERBOSE, "\
  877. Destination : %2!s!\n\
  878. PMTU : %1!u!\n"
  879. MSG_IPV6_DESTINATION_NEXTHOP_VERBOSE, "\
  880. Next Hop Address : %1!s!\n"
  881. MSG_IPV6_DESTINATION_SOURCE_ADDR, "\
  882. Source Address : %1!s!\n"
  883. MSG_IPV6_ZONE_SPECIFIC, "\
  884. Constraint : Zone-specific\n"
  885. MSG_IPV6_IF_SPECIFIC, "\
  886. Constraint : Interface-specific\n"
  887. MSG_IPV6_ICMP_ERROR_TIME, "\
  888. Last ICMP error sent : %1!u! seconds\n"
  889. MSG_IPV6_PMTU_PROBE_TIME, "\
  890. Time until PMTU probe : %1!u! seconds\n"
  891. MSG_IPV6_CAREOF, "\
  892. Care-of Address : %1!s!\n\
  893. Binding Sequence Number: %2!u!\n\
  894. Binding Lifetime : %3!u! seconds\n"
  895. MSG_IPV6_STALE, "\
  896. Stale : %1!s!\n"
  897. MSG_IPV6_ROUTE_TABLE_HDR, "\
  898. Publish Type Met Prefix Idx Gateway/Interface Name\n\
  899. ------- -------- --- ------------------------ --- ------------------------\n"
  900. MSG_IPV6_ROUTE_TABLE_ENTRY, "%5!-8s! %6!-8s! %4!3u! %1!-24s! %2!3u! %3!s!\n"
  901. MSG_IPV6_ROUTE_TABLE_ENTRY_VERBOSE, "\n\
  902. Prefix : %1!s!\n\
  903. Interface %2!-7u! : %7!s!\n\
  904. Gateway : %3!s!\n\
  905. Metric : %4!u!\n\
  906. Publish : %5!s!\n\
  907. Type : %6!s!\n\
  908. Valid Lifetime : %8!u! seconds\n\
  909. Preferred Lifetime: %9!u! seconds\n\
  910. Site Prefix Length: %10!u!\n"
  911. MSG_IPV6_INTEGER, "%1!u!"
  912. // error messages for IfIp
  913. EMSG_PROTO_NOT_INSTALLED, "IPv6 is not installed.\n"
  914. EMSG_NO_WRITE_LOCK, "\
  915. \nThe write lock could not be acquired.\
  916. \nYou must close %1!s! first.\n"
  917. EMSG_REBOOT_NEEDED, "A reboot is required to complete this action.\n"
  918. EMSG_INVALID_INTERFACE, "\
  919. \nInvalid interface %1!s! specified.\n"
  920. EMSG_INVALID_ADDRESS, "\
  921. \nInvalid local IP address specified.\n"
  922. // error messages from ipv6
  923. IPV6_MESSAGE_126, "bad home address %1!s!\n"
  924. IPV6_MESSAGE_127, "home: %1!s!\n"
  925. IPV6_MESSAGE_128, " c/o: %1!s!\n"
  926. IPV6_MESSAGE_129, " seq: %1!u! Lifetime: %2!u!s\n\n"
  927. // ifip messages
  928. MSG_DHCP, " \
  929. DHCP enabled: Yes\n"
  930. MSG_STATIC, " \
  931. DHCP enabled: No\n"
  932. MSG_OPTIONS_LIST, "\
  933. OptionsList:%1!s!\n"
  934. MSG_ADDR2, " "
  935. MSG_ADDR1, " %1!s! \n"
  936. MSG_OPTION, "\
  937. \t%1!-16s! %2!s!\n"
  938. MSG_NONE, " \
  939. None \n"
  940. MSG_DEBUG_HDR, "\
  941. \n==================Debug========================\n"
  942. MSG_IP_NO_ENTRIES, "No entries were found.\n"
  943. MSG_NO_SUCH_IF "Interface %1!s! does not exist.\n"
  944. MSG_CTRL_C_TO_QUIT, "\nEnter Ctrl-C to exit from refresh\n"
  945. // The DUMP comments
  946. //
  947. DMP_IPV6_HEADER_COMMENTS, "#========================\n# Interface configuration\n#========================\n"
  948. DMP_IPV6_FOOTER_COMMENTS, "# End of interface configuration\n\n"
  949. DMP_IP6TO4_HEADER, "\n\
  950. \n# ---------------------------------- \
  951. \n# Interface IPv6 Configuration \
  952. \n# ---------------------------------- \
  953. \n"
  954. DMP_IP6TO4_FOOTER, "# End of interface IPv6 configuration\n\n"
  955. DMP_IP6TO4_INTERFACE_HEADER, "\n\
  956. \n# Interface IPv6 Configuration for %1!s!\n"
  957. }
  958. #include <windows.h>
  959. #include <ntverp.h>
  960. #define VER_FILETYPE VFT_DLL
  961. #define VER_FILESUBTYPE VFT2_UNKNOWN
  962. #define VER_FILEDESCRIPTION_STR "IF Monitor DLL"
  963. #define VER_INTERNALNAME_STR "ifmon.dll"
  964. #define VER_ORIGINALFILENAME_STR "ifmon.dll"
  965. #include "common.ver" // NT5.0 version file.