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.

347 lines
14 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. Abstract:
  5. NOTE - DONT USE 15000-15999
  6. Author:
  7. Amritansh Raghav 01/25/1996
  8. Revision History:
  9. V Raman 05/15/1996 Rearranged stringtable ids.
  10. --*/
  11. #ifndef __STRDEFS_H__
  12. #define __STRDEFS_H__
  13. #define MSG_NULL 1001
  14. #define HLP_IP_HELP1 8301
  15. #define HLP_IP_HELP1_EX 8302
  16. #define HLP_IP_HELP2 8301
  17. #define HLP_IP_HELP2_EX 8302
  18. #define HLP_IP_RESET 8309
  19. #define HLP_IP_RESET_EX 8310
  20. #define HLP_IP_INSTALL 8313
  21. #define HLP_IP_INSTALL_EX 8314
  22. #define HLP_IP_UNINSTALL 8315
  23. #define HLP_IP_UNINSTALL_EX 8316
  24. #define HLP_IP_DUMP 8317
  25. #define HLP_IP_DUMP_EX 8318
  26. #define HLP_IP_UPDATE 8319
  27. #define HLP_IP_UPDATE_EX 8320
  28. #define HLP_GROUP_ADD 8321
  29. #define HLP_GROUP_DELETE 8323
  30. #define HLP_GROUP_SET 8325
  31. #define HLP_GROUP_SHOW 8327
  32. #define HLP_IP_ADD_PROTOPREF 9200
  33. #define HLP_IP_ADD_PROTOPREF_EX 9201
  34. #define HLP_IP_DEL_PROTOPREF 9202
  35. #define HLP_IP_DEL_PROTOPREF_EX 9203
  36. #define HLP_IP_SET_PROTOPREF 9204
  37. #define HLP_IP_SET_PROTOPREF_EX 9205
  38. #define HLP_IP_SHOW_PROTOPREF 9206
  39. #define HLP_IP_SHOW_PROTOPREF_EX 9207
  40. #define HLP_IP_ADD_IF_FILTER 9210
  41. #define HLP_IP_ADD_IF_FILTER_EX 9211
  42. #define HLP_IP_DEL_IF_FILTER 9212
  43. #define HLP_IP_DEL_IF_FILTER_EX 9213
  44. #define HLP_IP_SET_IF_FILTER 9214
  45. #define HLP_IP_SET_IF_FILTER_EX 9215
  46. #define HLP_IP_SHOW_IF_FILTER 9216
  47. #define HLP_IP_SHOW_IF_FILTER_EX 9217
  48. #define HLP_IP_ADD_PERSISTENTROUTE 9220
  49. #define HLP_IP_ADD_PERSISTENTROUTE_EX 9221
  50. #define HLP_IP_DEL_PERSISTENTROUTE 9222
  51. #define HLP_IP_DEL_PERSISTENTROUTE_EX 9223
  52. #define HLP_IP_SET_PERSISTENTROUTE 9224
  53. #define HLP_IP_SET_PERSISTENTROUTE_EX 9225
  54. #define HLP_IP_SHOW_PERSISTENTROUTE 9226
  55. #define HLP_IP_SHOW_PERSISTENTROUTE_EX 9227
  56. #define HLP_IP_ADD_IPIPTUNNEL 9230
  57. #define HLP_IP_ADD_IPIPTUNNEL_EX 9231
  58. #define HLP_IP_SET_IPIPTUNNEL 9234
  59. #define HLP_IP_SET_IPIPTUNNEL_EX 9235
  60. #define HLP_IP_SET_LOGLEVEL 9244
  61. #define HLP_IP_SET_LOGLEVEL_EX 9245
  62. #define HLP_IP_SHOW_LOGLEVEL 9246
  63. #define HLP_IP_SHOW_LOGLEVEL_EX 9247
  64. #define HLP_IP_ADD_INTERFACE 9250
  65. #define HLP_IP_ADD_INTERFACE_EX 9251
  66. #define HLP_IP_DEL_INTERFACE 9252
  67. #define HLP_IP_DEL_INTERFACE_EX 9253
  68. #define HLP_IP_SET_INTERFACE 9254
  69. #define HLP_IP_SET_INTERFACE_EX 9255
  70. #define HLP_IP_SHOW_INTERFACE 9256
  71. #define HLP_IP_SHOW_INTERFACE_EX 9257
  72. #define HLP_IP_SHOW_PROTOCOL 9266
  73. #define HLP_IP_SHOW_PROTOCOL_EX 9267
  74. #define HLP_IP_ADD_SCOPE 9270
  75. #define HLP_IP_ADD_SCOPE_EX 9271
  76. #define HLP_IP_DEL_SCOPE 9272
  77. #define HLP_IP_DEL_SCOPE_EX 9273
  78. #define HLP_IP_SET_SCOPE 9274
  79. #define HLP_IP_SET_SCOPE_EX 9275
  80. #define HLP_IP_SHOW_SCOPE 9276
  81. #define HLP_IP_SHOW_SCOPE_EX 9277
  82. #define HLP_IP_ADD_BOUNDARY 9280
  83. #define HLP_IP_ADD_BOUNDARY_EX 9281
  84. #define HLP_IP_DEL_BOUNDARY 9282
  85. #define HLP_IP_DEL_BOUNDARY_EX 9283
  86. #define HLP_IP_SHOW_BOUNDARY 9286
  87. #define HLP_IP_SHOW_BOUNDARY_EX 9287
  88. #define HLP_IP_SHOW_HELPER 9296
  89. #define HLP_IP_SHOW_HELPER_EX 9297
  90. #define HLP_IPMIB_SHOW_RTMDEST 9316
  91. #define HLP_IPMIB_SHOW_RTMDEST_EX 9317
  92. #define HLP_IPMIB_SHOW_MFESTATS 9318
  93. #define HLP_IPMIB_SHOW_MFESTATS_EX 9319
  94. #define HLP_IPMIB_SHOW_MFE 9320
  95. #define HLP_IPMIB_SHOW_MFE_EX 9321
  96. #define HLP_IPMIB_SHOW_RTMROUTE 9326
  97. #define HLP_IPMIB_SHOW_RTMROUTE_EX 9327
  98. #define HLP_IPMIB_SHOW_BOUNDARY 9330
  99. #define HLP_IPMIB_SHOW_BOUNDARY_EX 9331
  100. #define HLP_IPMIB_SHOW_SCOPE 9332
  101. #define HLP_IPMIB_SHOW_SCOPE_EX 9333
  102. #define HLP_IP_ADD_RTMROUTE 9340
  103. #define HLP_IP_ADD_RTMROUTE_EX 9341
  104. #define HLP_IP_DEL_RTMROUTE 9342
  105. #define HLP_IP_DEL_RTMROUTE_EX 9343
  106. #define HLP_IP_SET_RTMROUTE 9344
  107. #define HLP_IP_SET_RTMROUTE_EX 9345
  108. //
  109. // Messages used to dump config - these closely follow the
  110. // set/add help messages
  111. //
  112. #define DMP_IP_HEADER_COMMENTS 9411
  113. #define DMP_IP_FOOTER_COMMENTS 9412
  114. #define DMP_ROUTING_HEADER_COMMENTS 9413
  115. // Output messages
  116. // Router messages
  117. // interface messages
  118. #define MSG_RTR_INTERFACE_HDR 20001
  119. #define MSG_RTR_INTERFACE_PROTOCOL_HDR 20003
  120. #define MSG_RTR_INTERFACE_IPIP_INFO 20005
  121. #define MSG_RTR_ROUTE_HDR 20006
  122. #define MSG_RTR_ROUTE_INFO 20007
  123. // Filter messages
  124. #define MSG_RTR_FILTER_HDR 20101
  125. #define MSG_RTR_FILTER_INFO 20102
  126. #define MSG_RTR_FILTER_HDR1 20103
  127. #define MSG_RTR_FILTER_HDR2 20104
  128. #define MSG_RTR_FILTER_INFO2 20105
  129. // Multicast scope boundary messages
  130. #define MSG_RTR_SCOPE_HDR 20251
  131. #define MSG_RTR_SCOPE_INFO 20252
  132. #define MSG_RTR_BOUNDARY_HDR 20253
  133. #define MSG_RTR_BOUNDARY_INFO_0 20254
  134. #define MSG_RTR_BOUNDARY_INFO_1 20255
  135. #define MSG_RTR_BOUNDARY_INFO_2 20256
  136. #define MSG_RTR_PRIO_INFO_HDR 20304
  137. #define MSG_RTR_PRIO_INFO 20305
  138. // MIB messages
  139. #define MSG_MIB_MFE_HDR 21025
  140. #define MSG_MIB_MFE 21026
  141. #define MSG_MIB_MFESTATS_HDR 21028
  142. #define MSG_MIB_MFESTATS_ALL_HDR 21029
  143. #define MSG_MIB_MFESTATS 21030
  144. #define MSG_MIB_BOUNDARY_HDR 21055
  145. #define MSG_MIB_BOUNDARY_INFO 21056
  146. #define MSG_MIB_SCOPE_HDR 21057
  147. #define MSG_MIB_SCOPE_INFO 21058
  148. #define MSG_IP_BAD_IP_ADDR 21503
  149. #define MSG_IP_BAD_IP_MASK 21505
  150. #define MSG_CANT_FIND_EOPT 21507
  151. #define MSG_NO_INTERFACE 21512
  152. #define MSG_IP_NO_FILTER_FOR_FRAG 21521
  153. #define MSG_SHOW_HELPER_HDR 21528
  154. #define MSG_SHOW_HELPER_INFO 21529
  155. #define MSG_IP_FRAG_CHECK 21601
  156. #define MSG_IP_GLOBAL_HDR 21602
  157. #define MSG_IP_LOG_LEVEL 21603
  158. #define MSG_IP_PROTOCOL_HDR 21604
  159. #define MSG_IP_NO_PROTOCOL 21605
  160. #define MSG_IP_INTERFACE_HDR 21606
  161. #define MSG_IP_NO_INTERFACE 21607
  162. #define MSG_IP_IF_STATUS 21608
  163. #define MSG_IP_INTERFACE_INFO 21609
  164. #define MSG_IP_IF_ENTRY 21610
  165. #define MSG_IP_IF_HEADER 21611
  166. #define MSG_IP_PERSISTENT_ROUTER 21612
  167. #define MSG_IP_PERSISTENT_CONFIG 21613
  168. #define EMSG_IP_NO_STATUS_INFO 25005
  169. #define EMSG_IP_NO_PRIO_INFO 25006
  170. #define EMSG_IP_NO_FILTER_INFO 25007
  171. #define EMSG_IP_NO_IF_STATUS_INFO 25009
  172. #define EMSG_IP_NO_ROUTE_INFO 25010
  173. #define EMSG_NEED_NHOP 25011
  174. #define EMSG_SCOPE_NAME_TOO_LONG 25016
  175. #define EMSG_CANT_CREATE_IF 25020
  176. #define EMSG_CANT_SET_IF_INFO 25021
  177. #define EMSG_CANT_GET_IF_INFO 25023
  178. #define EMSG_AMBIGUOUS_SCOPE_NAME 25024
  179. #define EMSG_INVALID_ADDR 25025
  180. #define EMSG_PREFIX_ERROR 25026
  181. #define EMSG_CANT_FIND_NAME 25027
  182. #define EMSG_CANT_MATCH_NAME 25028
  183. #define EMSG_CANT_FIND_INDEX 25029
  184. #define EMSG_INTERFACE_INVALID_OR_DISC 25030
  185. #define EMSG_CANT_FIND_NAME_OR_NHOP 25031
  186. #define EMSG_AMBIGUOUS_INDEX_FROM_NHOP 25032
  187. #define ERROR_CONFIG 25033
  188. #define ERROR_ADMIN 25034
  189. // Strings
  190. // Router if types
  191. #define STRING_DEDICATED 26001
  192. #define STRING_HOME_ROUTER 26002
  193. #define STRING_FULL_ROUTER 26003
  194. #define STRING_CLIENT 26004
  195. #define STRING_INTERNAL 26005
  196. // Interface types
  197. #define STRING_OTHER 30001
  198. #define STRING_LOOPBACK 30006
  199. #define STRING_TUNNEL 30131
  200. // Protocol types
  201. #define STRING_UNICAST 32500
  202. #define STRING_MULTICAST 32501
  203. #define STRING_GENERAL 32503
  204. // Router info block types
  205. #define STRING_IN_FILTER 32511
  206. #define STRING_OUT_FILTER 32512
  207. #define STRING_GLOBAL_INFO 32513
  208. #define STRING_IF_STATUS 32514
  209. #define STRING_ROUTE_INFO 32515
  210. #define STRING_PROT_PRIORITY 32516
  211. #define STRING_RTRDISC 32517
  212. #define STRING_DD_FILTER 32518
  213. #define STRING_MC_HEARTBEAT 32519
  214. #define STRING_MC_BOUNDARY 32520
  215. #define STRING_IPIP 32521
  216. #define STRING_IF_FILTER 32522
  217. #define STRING_MC_LIMIT 32523
  218. // Protocols
  219. #define STRING_LOCAL 33002
  220. #define STRING_NETMGMT 33003
  221. #define STRING_ICMP 33004
  222. #define STRING_EGP 33005
  223. #define STRING_GGP 33006
  224. #define STRING_HELLO 33007
  225. #define STRING_RIP 33008
  226. #define STRING_IS_IS 33009
  227. #define STRING_ES_IS 33010
  228. #define STRING_CISCO 33011
  229. #define STRING_BBN 33012
  230. #define STRING_OSPF 33013
  231. #define STRING_BGP 33014
  232. #define STRING_BOOTP 33015
  233. #define STRING_TCP 33016
  234. #define STRING_TCP_ESTAB 33017
  235. #define STRING_UDP 33018
  236. #define STRING_IGMP 33019
  237. #define STRING_STATIC 33020
  238. #define STRING_NT_AUTOSTATIC 33021
  239. #define STRING_NONDOD 33022
  240. #define STRING_PROTO_ANY 33023
  241. #define STRING_PROTO_UNKNOWN 33024
  242. #define STRING_NAT 33025
  243. #define STRING_DNS_PROXY 33026
  244. #define STRING_DHCP_ALLOCATOR 33027
  245. #define STRING_DIFFSERV 33028
  246. #define STRING_VRRP 33029
  247. #define STRING_INVALID 34002
  248. #define STRING_DIRECT 34003
  249. #define STRING_INDIRECT 34004
  250. // Miscellaneous strings
  251. #define STRING_ENABLED 38003
  252. #define STRING_DISABLED 38004
  253. #define STRING_INPUT 38031
  254. #define STRING_OUTPUT 38032
  255. #define STRING_DIAL 38033
  256. #define STRING_DROP 38041
  257. #define STRING_FORWARD 38042
  258. #define STRING_LOGGING_NONE 38051
  259. #define STRING_LOGGING_ERROR 38052
  260. #define STRING_LOGGING_WARN 38053
  261. #define STRING_LOGGING_INFO 38054
  262. // Error messages
  263. #define MSG_IP_NO_ROUTE_INFO 60003
  264. #define MSG_IP_DIM_ERROR 60005
  265. #define MSG_IP_IF_IS_TUNNEL 60010
  266. #define MSG_IP_LOCAL_ROUTER_NOT_RUNNING 60011
  267. #define MSG_IP_REMOTE_ROUTER_NOT_RUNNING 60013
  268. #define MSG_IP_CAN_NOT_CONNECT_DIM 60014
  269. #define MSG_IP_NO_ENTRIES 60015
  270. #define MSG_IP_CORRUPT_INFO 60016
  271. #define MSG_IP_RESTART_ROUTER 60017
  272. #define MSG_IP_NOT_ENOUGH_MEMORY 60024
  273. #define MSG_IP_BAD_OPTION_VALUE 60025
  274. #define MSG_IP_BAD_INTERFACE_TYPE 60032
  275. #define MSG_IP_NO_INPUT_FILTER 60026
  276. #define MSG_IP_NO_OUTPUT_FILTER 60027
  277. #define MSG_IP_NO_FILTER_INFO 60029
  278. #define MSG_IP_NO_DIAL_FILTER 60030
  279. #define MSG_IP_BAD_OPTION_ENUMERATION 60031
  280. #define MSG_CTRL_C_TO_QUIT 60062
  281. #define MSG_IP_CANT_DISABLE_INTERFACE 60063
  282. #define MSG_IP_NO_PREF_FOR_PROTOCOL_ID 60121
  283. #define MSG_IP_PROTO_PREF_LEVEL_EXISTS 60122
  284. #define MSG_IP_PROTO_PREF_LEVEL_NOT_FOUND 60123
  285. //
  286. // Error messages for mib calls
  287. //
  288. #define MSG_MIB_NO_MFES 62001
  289. #endif