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.

836 lines
35 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. Abstract:
  5. Author:
  6. Amritansh Raghav 01/25/1996
  7. Revision History:
  8. V Raman 05/15/1996 Rearranged stringtable ids.
  9. --*/
  10. #ifndef __STRDEFS_H__
  11. #define __STRDEFS_H__
  12. // The string table entries that are identified here are arranged
  13. // in a hierachy as follows
  14. // Command line tokens
  15. // command class
  16. // commands
  17. // command objects
  18. // Router command objects
  19. // MIB comand objects
  20. // command option tags
  21. // interface options
  22. // filter options
  23. // Protocol Options
  24. // OSPF options
  25. // RIP options
  26. // Igmp options
  27. // Route options
  28. // Micellaneous options
  29. // Option values
  30. // Interface types
  31. // Router discovery types
  32. // Protocol types
  33. // Accept/Announce types
  34. // Misc. option values
  35. // command usage messages
  36. // show command usage
  37. // add command usage
  38. // delete command usage
  39. // set command usage
  40. // Output messages
  41. // Router messages
  42. // Interface messages
  43. // Filter messages
  44. // Route messages
  45. // Global info. messages
  46. // OSPF messages
  47. // MIB messages
  48. // Strings
  49. // Interface Types
  50. // TCP constants
  51. // TCP states
  52. // Protocol types
  53. // IP Route types
  54. // IP net types
  55. // Interface types
  56. // transmission types
  57. // Miscellaneous strings
  58. // Error Messages
  59. #define MSG_NULL 1000
  60. #define MAX_ROUTER_OBJECTS \
  61. (TOKEN_RTR_OBJECT_IPIPTUNNEL - TOKEN_RTR_OBJECT_INTERFACE + 1)
  62. #define MAX_MIB_OBJECTS \
  63. (TOKEN_MIB_OBJECT_MFESTATS - TOKEN_MIB_OBJECT_INTERFACE + 1)
  64. #define DMP_IGMP_HEADER 7017
  65. #define DMP_IGMP_FOOTER 7019
  66. #define DMP_IGMP_INTERFACE_HEADER 7018
  67. #define DMP_RDISC_HEADER 7021
  68. #define DMP_RIP_HEADER 7033
  69. #define DMP_RIP_INTERFACE_HEADER 7034
  70. #define DMP_RIP_FOOTER 7042
  71. #define DMP_BOOTP_GLOBAL_HEADER 7050
  72. #define DMP_BOOTP_INTERFACE_HEADER 7055
  73. #define DMP_BOOTP_FOOTER 7059
  74. #define DMP_OSPF_HEADER 7063
  75. #define DMP_OSPF_INTERFACE_HEADER 7064
  76. #define DMP_OSPF_FOOTER 7076
  77. #define DMP_AUTODHCP_HEADER 7080
  78. #define DMP_AUTODHCP_FOOTER 7081
  79. #define DMP_AUTODHCP_INTERFACE_HEADER 7082
  80. #define DMP_DNSPROXY_HEADER 7085
  81. #define DMP_DNSPROXY_FOOTER 7086
  82. #define DMP_DNSPROXY_INTERFACE_HEADER 7087
  83. #define DMP_NAT_HEADER 7090
  84. #define DMP_NAT_FOOTER 7091
  85. #define DMP_NAT_INTERFACE_HEADER 7092
  86. #define MSG_QOS_HEADER 7101
  87. #define MSG_QOS_FOOTER 7102
  88. #define MSG_QOS_GLOBAL_HEADER 7103
  89. #define MSG_QOS_GLOBAL_FOOTER 7104
  90. #define MSG_QOS_INTERFACE_HEADER 7105
  91. #define MSG_QOS_INTERFACE_FOOTER 7106
  92. #define MSG_FLOWSPEC_ALREADY_EXISTS 7201
  93. #define MSG_FLOWSPEC_NOT_FOUND 7202
  94. #define MSG_FLOW_ALREADY_EXISTS 7203
  95. #define MSG_FLOW_NOT_FOUND 7204
  96. #define MSG_QOSOBJECT_ALREADY_EXISTS 7205
  97. #define MSG_QOSOBJECT_NOT_FOUND 7206
  98. #define MSG_DSRULE_NOT_FOUND 7207
  99. // commmon hlp messages
  100. #define HLP_HELP 8400
  101. #define HLP_HELP_EX 8401
  102. #define HLP_HELP1 HLP_HELP
  103. #define HLP_HELP1_EX HLP_HELP_EX
  104. #define HLP_HELP2 HLP_HELP
  105. #define HLP_HELP2_EX HLP_HELP_EX
  106. #define HLP_SHOW_HELPER 8412
  107. #define HLP_SHOW_HELPER_EX 8413
  108. #define HLP_INSTALL 8414
  109. #define HLP_INSTALL_EX 8415
  110. #define HLP_UNINSTALL 8416
  111. #define HLP_UNINSTALL_EX 8417
  112. #define HLP_DUMP 8418
  113. #define HLP_DUMP_EX 8419
  114. #define HLP_GROUP_ADD 8420
  115. #define HLP_GROUP_DELETE 8421
  116. #define HLP_GROUP_SET 8422
  117. #define HLP_GROUP_SHOW 8423
  118. #define HLP_ADD_HELPER 8424
  119. #define HLP_ADD_HELPER_EX 8425
  120. #define HLP_DEL_HELPER 8426
  121. #define HLP_DEL_HELPER_EX 8427
  122. // rip add hlp
  123. #define HLP_RIP_ADD_PF 9000
  124. #define HLP_RIP_ADD_PF_EX 9001
  125. #define HLP_RIP_ADD_IF_ACCF 9002
  126. #define HLP_RIP_ADD_IF_ACCF_EX 9003
  127. #define HLP_RIP_ADD_IF_ANNF 9004
  128. #define HLP_RIP_ADD_IF_ANNF_EX 9005
  129. #define HLP_RIP_ADD_IF_NBR 9006
  130. #define HLP_RIP_ADD_IF_NBR_EX 9007
  131. #define HLP_RIP_ADD_IF 9008
  132. #define HLP_RIP_ADD_IF_EX 9009
  133. // rip delete hlp
  134. #define HLP_RIP_DEL_PF 9020
  135. #define HLP_RIP_DEL_PF_EX 9021
  136. #define HLP_RIP_DEL_IF_ACCF 9022
  137. #define HLP_RIP_DEL_IF_ACCF_EX 9023
  138. #define HLP_RIP_DEL_IF_ANNF 9024
  139. #define HLP_RIP_DEL_IF_ANNF_EX 9025
  140. #define HLP_RIP_DEL_IF_NBR 9026
  141. #define HLP_RIP_DEL_IF_NBR_EX 9027
  142. #define HLP_RIP_DEL_IF 9028
  143. #define HLP_RIP_DEL_IF_EX 9029
  144. // rip set hlp
  145. #define HLP_RIP_SET_IF 9040
  146. #define HLP_RIP_SET_IF_EX 9041
  147. #define HLP_RIP_SET_FLAGS 9042
  148. #define HLP_RIP_SET_FLAGS_EX 9043
  149. #define HLP_RIP_SET_GLOBAL 9044
  150. #define HLP_RIP_SET_GLOBAL_EX 9045
  151. // rip show hlp
  152. #define HLP_RIP_SHOW_IF 9050
  153. #define HLP_RIP_SHOW_IF_EX 9051
  154. #define HLP_RIP_SHOW_FLAGS 9052
  155. #define HLP_RIP_SHOW_FLAGS_EX 9053
  156. #define HLP_RIP_SHOW_GLOBAL 9054
  157. #define HLP_RIP_SHOW_GLOBAL_EX 9055
  158. // ospf add hlp
  159. #define HLP_OSPF_ADD_AREA_RANGE 9100
  160. #define HLP_OSPF_ADD_AREA_RANGE_EX 9101
  161. #define HLP_OSPF_ADD_AREA 9102
  162. #define HLP_OSPF_ADD_AREA_EX 9103
  163. #define HLP_OSPF_ADD_VIRTIF 9104
  164. #define HLP_OSPF_ADD_VIRTIF_EX 9105
  165. #define HLP_OSPF_ADD_IF_NBR 9106
  166. #define HLP_OSPF_ADD_IF_NBR_EX 9107
  167. #define HLP_OSPF_ADD_IF 9108
  168. #define HLP_OSPF_ADD_IF_EX 9109
  169. #define HLP_OSPF_ADD_ROUTE_FILTER 9110
  170. #define HLP_OSPF_ADD_ROUTE_FILTER_EX 9111
  171. #define HLP_OSPF_ADD_PROTO_FILTER 9112
  172. #define HLP_OSPF_ADD_PROTO_FILTER_EX 9113
  173. #define HLP_OSPF_INSTALL 9114
  174. #define HLP_OSPF_INSTALL_EX 9115
  175. #define HLP_OSPF_DEL_AREA_RANGE 9120
  176. #define HLP_OSPF_DEL_AREA_RANGE_EX 9121
  177. #define HLP_OSPF_DEL_AREA 9122
  178. #define HLP_OSPF_DEL_AREA_EX 9123
  179. #define HLP_OSPF_DEL_VIRTIF 9124
  180. #define HLP_OSPF_DEL_VIRTIF_EX 9125
  181. #define HLP_OSPF_DEL_IF_NBR 9126
  182. #define HLP_OSPF_DEL_IF_NBR_EX 9127
  183. #define HLP_OSPF_DEL_IF 9128
  184. #define HLP_OSPF_DEL_IF_EX 9129
  185. #define HLP_OSPF_DEL_ROUTE_FILTER 9130
  186. #define HLP_OSPF_DEL_ROUTE_FILTER_EX 9131
  187. #define HLP_OSPF_DEL_PROTO_FILTER 9132
  188. #define HLP_OSPF_DEL_PROTO_FILTER_EX 9133
  189. #define HLP_OSPF_UNINSTALL 9134
  190. #define HLP_OSPF_UNINSTALL_EX 9135
  191. #define HLP_OSPF_SET_AREA 9140
  192. #define HLP_OSPF_SET_AREA_EX 9141
  193. #define HLP_OSPF_SET_VIRTIF 9142
  194. #define HLP_OSPF_SET_VIRTIF_EX 9143
  195. #define HLP_OSPF_SET_IF 9144
  196. #define HLP_OSPF_SET_IF_EX 9145
  197. #define HLP_OSPF_SET_GLOBAL 9146
  198. #define HLP_OSPF_SET_GLOBAL_EX 9147
  199. #define HLP_OSPF_SET_ROUTE_FILTER 9148
  200. #define HLP_OSPF_SET_ROUTE_FILTER_EX 9149
  201. #define HLP_OSPF_SET_PROTO_FILTER 9150
  202. #define HLP_OSPF_SET_PROTO_FILTER_EX 9151
  203. #define HLP_OSPF_SHOW_GLOBAL 9160
  204. #define HLP_OSPF_SHOW_GLOBAL_EX 9161
  205. #define HLP_OSPF_SHOW_AREA 9162
  206. #define HLP_OSPF_SHOW_AREA_EX 9163
  207. #define HLP_OSPF_SHOW_VIRTIF 9164
  208. #define HLP_OSPF_SHOW_VIRTIF_EX 9165
  209. #define HLP_OSPF_SHOW_IF 9166
  210. #define HLP_OSPF_SHOW_IF_EX 9167
  211. #define HLP_OSPF_SHOW 9168
  212. #define HLP_OSPF_SHOW_EX 9169
  213. #define HLP_OSPF_SHOW_ROUTE_FILTER 9170
  214. #define HLP_OSPF_SHOW_ROUTE_FILTER_EX 9171
  215. #define HLP_OSPF_SHOW_PROTO_FILTER 9172
  216. #define HLP_OSPF_SHOW_PROTO_FILTER_EX 9173
  217. #define HLP_IGMP_ADD_IF_STATICGROUP 9300
  218. #define HLP_IGMP_ADD_IF_STATICGROUP_EX 9301
  219. #define HLP_IGMP_ADD_IF 9302
  220. #define HLP_IGMP_ADD_IF_EX 9303
  221. #define HLP_IGMP_INSTALL 9304
  222. #define HLP_IGMP_INSTALL_EX 9305
  223. #define HLP_IGMP_DEL_IF_STATICGROUP 9310
  224. #define HLP_IGMP_DEL_IF_STATICGROUP_EX 9312
  225. #define HLP_IGMP_DEL_IF 9313
  226. #define HLP_IGMP_DEL_IF_EX 9314
  227. #define HLP_IGMP_UNINSTALL 9315
  228. #define HLP_IGMP_UNINSTALL_EX 9316
  229. #define HLP_IGMP_SET_IF 9320
  230. #define HLP_IGMP_SET_IF_EX 9321
  231. #define HLP_IGMP_SET_GLOBAL 9322
  232. #define HLP_IGMP_SET_GLOBAL_EX 9323
  233. #define HLP_IGMP_SHOW_IF 9330
  234. #define HLP_IGMP_SHOW_IF_EX 9331
  235. #define HLP_IGMP_SHOW_GLOBAL 9332
  236. #define HLP_IGMP_SHOW_GLOBAL_EX 9333
  237. // BOOTP help messages
  238. #define HLP_BOOTP_ADD 9401
  239. #define HLP_BOOTP_ADD_EX 9402
  240. #define HLP_BOOTP_ADD_IF 9403
  241. #define HLP_BOOTP_ADD_IF_EX 9404
  242. #define HLP_BOOTP_ADD_DHCP_SERVER 9405
  243. #define HLP_BOOTP_ADD_DHCP_SERVER_EX 9406
  244. #define HLP_BOOTP_DEL 9411
  245. #define HLP_BOOTP_DEL_EX 9412
  246. #define HLP_BOOTP_DEL_IF 9413
  247. #define HLP_BOOTP_DEL_IF_EX 9414
  248. #define HLP_BOOTP_DEL_DHCP_SERVER 9415
  249. #define HLP_BOOTP_DEL_DHCP_SERVER_EX 9416
  250. #define HLP_BOOTP_SET_GLOBAL 9421
  251. #define HLP_BOOTP_SET_GLOBAL_EX 9422
  252. #define HLP_BOOTP_SET_IF 9423
  253. #define HLP_BOOTP_SET_IF_EX 9424
  254. #define HLP_BOOTP_SHOW_GLOBAL 9431
  255. #define HLP_BOOTP_SHOW_GLOBAL_EX 9432
  256. #define HLP_BOOTP_SHOW_IF 9433
  257. #define HLP_BOOTP_SHOW_IF_EX 9434
  258. // DHCP allocator help messages
  259. #define HLP_AUTODHCP_ADD_EXCLUSION 9441
  260. #define HLP_AUTODHCP_ADD_EXCLUSION_EX 9442
  261. #define HLP_AUTODHCP_DELETE_EXCLUSION 9443
  262. #define HLP_AUTODHCP_DELETE_EXCLUSION_EX 9444
  263. #define HLP_AUTODHCP_SET_GLOBAL 9445
  264. #define HLP_AUTODHCP_SET_GLOBAL_EX 9446
  265. #define HLP_AUTODHCP_SET_INTERFACE 9447
  266. #define HLP_AUTODHCP_SET_INTERFACE_EX 9448
  267. #define HLP_AUTODHCP_SHOW_GLOBAL 9449
  268. #define HLP_AUTODHCP_SHOW_GLOBAL_EX 9450
  269. #define HLP_AUTODHCP_SHOW_INTERFACE 9451
  270. #define HLP_AUTODHCP_SHOW_INTERFACE_EX 9452
  271. // DNS proxy help messages
  272. #define HLP_DNSPROXY_SET_GLOBAL 9461
  273. #define HLP_DNSPROXY_SET_GLOBAL_EX 9462
  274. #define HLP_DNSPROXY_SET_INTERFACE 9463
  275. #define HLP_DNSPROXY_SET_INTERFACE_EX 9464
  276. #define HLP_DNSPROXY_SHOW_GLOBAL 9465
  277. #define HLP_DNSPROXY_SHOW_GLOBAL_EX 9466
  278. #define HLP_DNSPROXY_SHOW_INTERFACE 9467
  279. #define HLP_DNSPROXY_SHOW_INTERFACE_EX 9468
  280. // NAT help messages
  281. #define HLP_NAT_ADD_ADDRESS_MAPPING 9471
  282. #define HLP_NAT_ADD_ADDRESS_MAPPING_EX 9472
  283. #define HLP_NAT_ADD_ADDRESS_RANGE 9473
  284. #define HLP_NAT_ADD_ADDRESS_RANGE_EX 9474
  285. #define HLP_NAT_ADD_PORT_MAPPING 9475
  286. #define HLP_NAT_ADD_PORT_MAPPING_EX 9476
  287. #define HLP_NAT_DELETE_ADDRESS_MAPPING 9477
  288. #define HLP_NAT_DELETE_ADDRESS_MAPPING_EX 9478
  289. #define HLP_NAT_DELETE_ADDRESS_RANGE 9479
  290. #define HLP_NAT_DELETE_ADDRESS_RANGE_EX 9480
  291. #define HLP_NAT_DELETE_PORT_MAPPING 9481
  292. #define HLP_NAT_DELETE_PORT_MAPPING_EX 9482
  293. #define HLP_NAT_SET_GLOBAL 9483
  294. #define HLP_NAT_SET_GLOBAL_EX 9484
  295. #define HLP_NAT_SET_INTERFACE 9485
  296. #define HLP_NAT_SET_INTERFACE_EX 9486
  297. #define HLP_NAT_SHOW_GLOBAL 9487
  298. #define HLP_NAT_SHOW_GLOBAL_EX 9488
  299. #define HLP_NAT_ADD_INTERFACE 9489
  300. #define HLP_NAT_ADD_INTERFACE_EX 9490
  301. #define HLP_NAT_DELETE_INTERFACE 9491
  302. #define HLP_NAT_DELETE_INTERFACE_EX 9492
  303. #define HLP_NAT_SHOW_INTERFACE 9493
  304. #define HLP_NAT_SHOW_INTERFACE_EX 9494
  305. #define HLP_NAT_ADD_DIRECTPLAY 9495
  306. #define HLP_NAT_ADD_DIRECTPLAY_EX 9496
  307. #define HLP_NAT_ADD_H323 9497
  308. #define HLP_NAT_ADD_H323_EX 9498
  309. #define HLP_NAT_DELETE_DIRECTPLAY 9499
  310. #define HLP_NAT_DELETE_DIRECTPLAY_EX 9500
  311. #define HLP_NAT_DELETE_H323 9501
  312. #define HLP_NAT_DELETE_H323_EX 9502
  313. // RDISC help messages
  314. #define HLP_RDISC_ADD_INTERFACE 9601
  315. #define HLP_RDISC_ADD_INTERFACE_EX 9602
  316. #define HLP_RDISC_DELETE_INTERFACE 9603
  317. #define HLP_RDISC_DELETE_INTERFACE_EX 9604
  318. #define HLP_RDISC_SET_INTERFACE 9605
  319. #define HLP_RDISC_SET_INTERFACE_EX 9606
  320. #define HLP_RDISC_SHOW_INTERFACE 9607
  321. #define HLP_RDISC_SHOW_INTERFACE_EX 9608
  322. // QOS help messages
  323. #define HLP_QOS_ADD_FILTER_TO_FLOW 9701
  324. #define HLP_QOS_ADD_FILTER_TO_FLOW_EX 9702
  325. #define HLP_QOS_ADD_QOSOBJECT_ON_FLOW 9703
  326. #define HLP_QOS_ADD_QOSOBJECT_ON_FLOW_EX 9704
  327. #define HLP_QOS_ADD_FLOWSPEC_ON_FLOW 9705
  328. #define HLP_QOS_ADD_FLOWSPEC_ON_FLOW_EX 9706
  329. #define HLP_QOS_ADD_FLOW_ON_IF 9707
  330. #define HLP_QOS_ADD_FLOW_ON_IF_EX 9708
  331. #define HLP_QOS_ADD_IF 9709
  332. #define HLP_QOS_ADD_IF_EX 9710
  333. #define HLP_QOS_ADD_DSRULE 9711
  334. #define HLP_QOS_ADD_DSRULE_EX 9712
  335. #define HLP_QOS_ADD_SDMODE 9713
  336. #define HLP_QOS_ADD_SDMODE_EX 9714
  337. #define HLP_QOS_ADD_FLOWSPEC 9715
  338. #define HLP_QOS_ADD_FLOWSPEC_EX 9716
  339. #define HLP_QOS_DEL_FILTER_FROM_FLOW 9721
  340. #define HLP_QOS_DEL_FILTER_FROM_FLOW_EX 9722
  341. #define HLP_QOS_DEL_QOSOBJECT_ON_FLOW 9723
  342. #define HLP_QOS_DEL_QOSOBJECT_ON_FLOW_EX 9724
  343. #define HLP_QOS_DEL_FLOWSPEC_ON_FLOW 9725
  344. #define HLP_QOS_DEL_FLOWSPEC_ON_FLOW_EX 9726
  345. #define HLP_QOS_DEL_FLOW_ON_IF 9727
  346. #define HLP_QOS_DEL_FLOW_ON_IF_EX 9728
  347. #define HLP_QOS_DEL_IF 9729
  348. #define HLP_QOS_DEL_IF_EX 9730
  349. #define HLP_QOS_DEL_DSRULE 9731
  350. #define HLP_QOS_DEL_DSRULE_EX 9732
  351. #define HLP_QOS_DEL_SDMODE 9733
  352. #define HLP_QOS_DEL_SDMODE_EX 9734
  353. #define HLP_QOS_DEL_QOSOBJECT 9735
  354. #define HLP_QOS_DEL_QOSOBJECT_EX 9736
  355. #define HLP_QOS_DEL_FLOWSPEC 9737
  356. #define HLP_QOS_DEL_FLOWSPEC_EX 9738
  357. #define HLP_QOS_SET_FILTER_ON_FLOW 9741
  358. #define HLP_QOS_SET_FILTER_ON_FLOW_EX 9742
  359. #define HLP_QOS_SET_FLOW_ON_IF 9743
  360. #define HLP_QOS_SET_FLOW_ON_IF_EX 9744
  361. #define HLP_QOS_SET_IF 9745
  362. #define HLP_QOS_SET_IF_EX 9746
  363. #define HLP_QOS_SET_GLOBAL 9747
  364. #define HLP_QOS_SET_GLOBAL_EX 9748
  365. #define HLP_QOS_SHOW_FILTER_ON_FLOW 9761
  366. #define HLP_QOS_SHOW_FILTER_ON_FLOW_EX 9762
  367. #define HLP_QOS_SHOW_FLOW_ON_IF 9763
  368. #define HLP_QOS_SHOW_FLOW_ON_IF_EX 9764
  369. #define HLP_QOS_SHOW_IF 9765
  370. #define HLP_QOS_SHOW_IF_EX 9766
  371. #define HLP_QOS_SHOW_DSMAP 9767
  372. #define HLP_QOS_SHOW_DSMAP_EX 9768
  373. #define HLP_QOS_SHOW_SDMODE 9769
  374. #define HLP_QOS_SHOW_SDMODE_EX 9770
  375. #define HLP_QOS_SHOW_QOSOBJECT 9771
  376. #define HLP_QOS_SHOW_QOSOBJECT_EX 9772
  377. #define HLP_QOS_SHOW_FLOWSPEC 9773
  378. #define HLP_QOS_SHOW_FLOWSPEC_EX 9774
  379. #define HLP_QOS_SHOW_GLOBAL 9775
  380. #define HLP_QOS_SHOW_GLOBAL_EX 9776
  381. // Output messages
  382. // OSPF messages
  383. #define MSG_OSPF_GLOBAL_INFO 20401
  384. #define MSG_OSPF_AREA_INFO 20402
  385. #define MSG_OSPF_INTERFACE_INFO 20403
  386. #define MSG_OSPF_IF_NBR_HEADER 20404
  387. #define MSG_OSPF_NEIGHBOR_INFO 20405
  388. #define MSG_OSPF_VIRTUAL_INTERFACE_INFO 20406
  389. #define MSG_OSPF_AREA_RANGE_HEADER 20407
  390. #define MSG_OSPF_AREA_RANGE_INFO 20408
  391. #define MSG_OSPF_PROTOCOL_FILTER_ACTION 20410
  392. #define MSG_OSPF_PROTOCOL_FILTER 20411
  393. #define MSG_OSPF_NO_PROTOCOL_FILTER 20412
  394. #define MSG_OSPF_ROUTE_FILTER_ACTION 20413
  395. #define MSG_OSPF_ROUTE_FILTER 20414
  396. #define MSG_OSPF_NO_ROUTE_FILTER 20415
  397. #define MSG_OSPF_PROTOCOL_FILTER_HEADER 20416
  398. #define MSG_OSPF_ROUTE_FILTER_HEADER 20417
  399. // RIP messages
  400. #define MSG_RIP_GLOBAL_INFO 20501
  401. #define MSG_RIP_PEER_HEADER 20502
  402. #define MSG_RIP_PEER_ADDR 20503
  403. #define MSG_RIP_IF_INFO 20551
  404. #define MSG_RIP_FLAGS 20552
  405. #define MSG_RIP_IF_UNICAST_HEADER 20553
  406. #define MSG_RIP_IF_UNICAST_PEER 20554
  407. #define MSG_RIP_IF_ACCEPT_FILTER_HEADER 20555
  408. #define MSG_RIP_IF_ANNOUNCE_FILTER_HEADER 20556
  409. #define MSG_RIP_IF_FILTER 20557
  410. // BOOTP messages
  411. #define MSG_BOOTP_GLOBAL_INFO 20601
  412. #define MSG_BOOTP_SERVER_HEADER 20602
  413. #define MSG_BOOTP_SERVER_ADDR 20603
  414. #define MSG_BOOTP_IF_INFO 20604
  415. // IGMP messages
  416. #define MSG_IGMP_GLOBAL_INFO 20701
  417. #define MSG_IGMP_IF_INFO_V1 20702
  418. #define MSG_IGMP_IF_INFO_V2 20703
  419. #define MSG_IGMP_STATIC_GROUP_HEADER 20704
  420. #define MSG_IGMP_STATIC_GROUP_ENTRY 20705
  421. #define MSG_IGMP_PROXY_IF_INFO 20706
  422. // Connection sharing messages
  423. #define MSG_AUTODHCP_GLOBAL_INFO 20801
  424. #define MSG_AUTODHCP_INTERFACE_INFO 20802
  425. #define MSG_AUTODHCP_EXCLUSION_HEADER 20803
  426. #define MSG_AUTODHCP_EXCLUSION 20804
  427. #define MSG_DNSPROXY_GLOBAL_INFO 20811
  428. #define MSG_DNSPROXY_INTERFACE_INFO 20812
  429. #define MSG_NAT_GLOBAL_INFO 20821
  430. #define MSG_NAT_INTERFACE_INFO 20822
  431. #define MSG_NAT_ADDRESS_MAPPING_HEADER 20823
  432. #define MSG_NAT_ADDRESS_MAPPING 20824
  433. #define MSG_NAT_ADDRESS_RANGE_HEADER 20825
  434. #define MSG_NAT_ADDRESS_RANGE 20826
  435. #define MSG_NAT_PORT_MAPPING_HEADER 20827
  436. #define MSG_NAT_PORT_MAPPING 20828
  437. // RDISC messages
  438. #define MSG_RDISC_IF_INFO 20901
  439. #define MSG_RDISC_IF_ENTRY 20902
  440. #define MSG_RDISC_IF_HEADER 20903
  441. // MIB messages
  442. #define MSG_MIB_IGMP_ROUTER_INTERFACE 21041
  443. #define MSG_MIB_IGMP_RAS_CLIENT_GROUP_TABLE 21042
  444. #define MSG_MIB_IGMP_PROXY_INTERFACE 21043
  445. #define MSG_MIB_IGMP_ROUTER_GROUP_TABLE 21044
  446. #define MSG_MIB_IGMP_PROXY_GROUP_TABLE 21045
  447. #define MSG_MIB_IGMP_ROUTER_GROUP_INFO 21046
  448. #define MSG_MIB_IGMP_PROXY_GROUP_INFO 21047
  449. #define MSG_MIB_IGMP_ROUTER_NO_ENTRIES 21048
  450. #define MSG_MIB_IGMP_PROXY_NO_ENTRIES 21049
  451. #define MSG_MIB_IGMP_GROUP_IF_TABLE 21050
  452. #define MSG_MIB_GROUP_IF_INFO 21051
  453. #define MSG_MIB_IGMP_GROUP_NO_ENTRIES 21053
  454. #define MSG_MIB_IGMP_GROUP_NO_ENTRY 21054
  455. // QOS messages
  456. #define MSG_QOS_GLOBAL_INFO 21101
  457. #define MSG_QOS_FLOWSPEC_INFO 21111
  458. #define MSG_QOS_SDMODE_INFO 21121
  459. #define MSG_QOS_DSMAP_INFO 21131
  460. #define MSG_QOS_DSRULE_INFO 21132
  461. #define MSG_QOS_IF_INFO 21141
  462. #define MSG_QOS_FLOW_INFO 21151
  463. #define MSG_QOS_QOSOBJECT_INFO 21161
  464. // !@#
  465. #define MSG_IP_ADDR_NOT_FOUND 21502
  466. #define MSG_IP_BAD_IP_ADDR 21503
  467. #define MSG_IF_NBR_NOT_FOUND 21506
  468. #define EMSG_NO_INTERFACE 21512
  469. #define MSG_NO_HELPER 21516
  470. #define MSG_NO_HELPERS 21517
  471. #define EMSG_INTERFACE_EXISTS 21525
  472. #define EMSG_PROTO_NOT_INSTALLED 21526
  473. #define EMSG_PROTO_INSTALLED 21527
  474. #define MSG_IP_BAD_IP_MASK 21528
  475. #define MSG_IP_ADDR_PRESENT 21529
  476. #define MSG_CTRL_C_TO_QUIT 21530
  477. #define MSG_BOOTP_MIB_OPT 21552
  478. // RIP MIB
  479. #define MSG_RIP_MIB_GS 22000
  480. #define MSG_RIP_MIB_PS 22001
  481. #define MSG_RIP_MIB_PS_HDR 22002
  482. #define MSG_RIP_MIB_IFSTATS 22003
  483. #define MSG_RIP_MIB_IFSTATS_HDR 22004
  484. #define MSG_RIP_MIB_IFBIND_HDR 22005
  485. #define MSG_RIP_MIB_IFBIND 22006
  486. #define MSG_RIP_MIB_IFBIND_ADDR 22007
  487. #define MSG_RIP_MIB_LINE 22008
  488. // DHCP relay agent messages
  489. #define MSG_BOOTP_MIB_GC 22051
  490. #define MSG_BOOTP_MIB_DHCP_SERVER_HEADER 22052
  491. #define MSG_BOOTP_MIB_DHCP_SERVER 22053
  492. #define MSG_BOOTP_MIB_IF_CONFIG 22054
  493. #define MSG_BOOTP_MIB_IF_BINDING 22055
  494. #define MSG_BOOTP_MIB_IF_ADDRESS_HEADER 22056
  495. #define MSG_BOOTP_MIB_IF_ADDRESS 22057
  496. #define MSG_BOOTP_MIB_IF_STATS 22058
  497. // OSPF MIB
  498. #define MSG_OSPF_MIB_AREA 22100
  499. #define MSG_OSPF_MIB_AREA_HDR 22101
  500. #define MSG_OSPF_MIB_LSDB 22102
  501. #define MSG_OSPF_MIB_LSDB_HDR 22103
  502. #define MSG_OSPF_MIB_VIRTIF 22104
  503. #define MSG_OSPF_MIB_VIRTIF_HDR 22105
  504. #define MSG_OSPF_MIB_NBR 22106
  505. #define MSG_OSPF_MIB_NBR_HDR 22107
  506. #define EMSG_PROTO_NO_GLOBAL_INFO 25010
  507. #define EMSG_PROTO_NO_IF_INFO 25011
  508. #define EMSG_RSVD_KEYWORD 25013
  509. #define EMSG_BAD_IF_TYPE 25014
  510. // Strings
  511. // Protocol types
  512. #define STRING_PROTO_OTHER 33001
  513. #define STRING_PROTO_RIP 33008
  514. #define STRING_PROTO_OSPF 33013
  515. #define STRING_PROTO_BOOTP 33015
  516. #define STRING_PROTO_IGMP 33017
  517. #define STRING_PROTO_NAT 33025
  518. #define STRING_PROTO_DNS_PROXY 33026
  519. #define STRING_PROTO_DHCP_ALLOCATOR 33027
  520. #define STRING_PROTO_QOS_MANAGER 33028
  521. // transmission types
  522. #define STRING_BROADCAST 37001
  523. #define STRING_NBMA 37002
  524. #define STRING_PT2PT 37003
  525. // Miscellaneous strings
  526. #define STRING_CREATED 38001
  527. #define STRING_DELETED 38002
  528. #define STRING_ENABLED 38003
  529. #define STRING_DISABLED 38004
  530. #define STRING_YES 38013
  531. #define STRING_NO 38014
  532. #define STRING_Y 38015
  533. #define STRING_N 38016
  534. #define STRING_NONE 38021
  535. #define STRING_PASSWD 38022
  536. #define STRING_LOGGING_NONE 38051
  537. #define STRING_LOGGING_ERROR 38052
  538. #define STRING_LOGGING_WARN 38053
  539. #define STRING_LOGGING_INFO 38054
  540. #define STRING_FILTER_INCLUDE 38061
  541. #define STRING_FILTER_EXCLUDE 38062
  542. #define STRING_BOUND 38071
  543. #define STRING_BOUND_ENABLED 38072
  544. #define STRING_UNBOUND 38073
  545. #define STRING_UP 38074
  546. #define STRING_DOWN 38075
  547. //rip
  548. #define STRING_RIP1 38081
  549. #define STRING_RIP1COMPAT 38082
  550. #define STRING_RIP2 38083
  551. #define STRING_PEER_ALSO 38091
  552. #define STRING_PEER_ONLY 38092
  553. #define STRING_PERIODIC 38101
  554. #define STRING_DEMAND 38102
  555. #define STRING_RIP_IF_ENABLED 38103
  556. #define STRING_RIP_IF_BOUND 38104
  557. //qos
  558. #define STRING_QOS_IF_ENABLED 38081
  559. #define STRING_QOS_IF_BOUND 38082
  560. #define STRING_SERVICE_BESTEFFORT 38086
  561. #define STRING_SERVICE_CONTROLLEDLOAD 38087
  562. #define STRING_SERVICE_GUARANTEED 38088
  563. #define STRING_SERVICE_QUALITATIVE 38089
  564. #define STRING_SDMODE_BORROW 38095
  565. #define STRING_SDMODE_SHAPE 38096
  566. #define STRING_SDMODE_DISCARD 38097
  567. #define STRING_SDMODE_BORROW_PLUS 38098
  568. //igmp
  569. #define STRING_IGMP_ROUTER_V1 38111
  570. #define STRING_IGMP_ROUTER_V2 38112
  571. #define STRING_IGMP_PROXY 38113
  572. #define STRING_IGMP_IFTYPE_PERMANENT 38114
  573. #define STRING_IGMP_IFTYPE_RAS_ROUTER 38115
  574. #define STRING_IGMP_IFTYPE_RAS_SERVER 38116
  575. #define STRING_IGMP_IFTYPE_RAS_CLIENT 38117
  576. #define STRING_IGMP_IFTYPE_PERMANENT_PROXY 38118
  577. #define STRING_IGMP_IFTYPE_DEMANDDIAL_PROXY 38119
  578. #define STRING_IGMP_IFTYPE_UNKNOWN 38120
  579. #define STRING_IGMP_NOT_BOUND 38132
  580. #define STRING_IGMP_ENABLED_BY_RTRMGR 38133
  581. #define STRING_IGMP_ENABLED_IN_CONFIG 38134
  582. #define STRING_IGMP_ENABLED_BY_MGM 38135
  583. #define STRING_IGMP_FORWARD_JOINS_TO_MGM 38136
  584. #define STRING_IGMP_QUERIER 38137
  585. #define STRING_IGMP_NON_QUERIER 38138
  586. #define STRING_IGMP_FLAG_L 38139
  587. #define STRING_IGMP_FLAG_S 38140
  588. #define STRING_IGMP_SPACE 38141
  589. #define STRING_IGMP_INFINITY 38142
  590. #define STRING_IGMP_Y 38143
  591. #define STRING_IGMP_DASH 38144
  592. #define STRING_FULL_XLATE 38201
  593. #define STRING_ADDRESS_XLATE 38202
  594. #define STRING_PRIVATE_XLATE 38203
  595. #define STRING_DEFAULT_INTERFACE 38206
  596. #define STRING_TCP 38207
  597. #define STRING_UDP 38208
  598. //ospf
  599. #define STRING_STUB 38301
  600. #define STRING_ROUTER 38302
  601. #define STRING_NETWORK 38303
  602. #define STRING_SUMMARY 38304
  603. #define STRING_ASSUMMARY 38305
  604. #define STRING_ASEXTERN 38306
  605. #define STRING_ATTEMPT 38321
  606. #define STRING_INIT 38322
  607. #define STRING_TWOWAY 38323
  608. #define STRING_EXCHSTART 38324
  609. #define STRING_EXCHANGE 38325
  610. #define STRING_LOADING 38326
  611. #define STRING_FULL 38327
  612. #define STRING_LOOPBACK 38331
  613. #define STRING_WAITING 38332
  614. #define STRING_DR 38333
  615. #define STRING_BDR 38334
  616. #define STRING_UNKNOWN 50001
  617. // Error messages
  618. #define MSG_IP_DIM_ERROR 60006
  619. #define MSG_IP_NO_ENTRIES 60015
  620. #define EMSG_CORRUPT_INFO 60016
  621. #define MSG_IP_NO_GLOBAL_INFO 60017
  622. #define EMSG_NOT_ENOUGH_MEMORY 60024
  623. #define EMSG_BAD_OPTION_VALUE 60025
  624. #define EMSG_BAD_OPTION_ENUMERATION 60028
  625. #define EMSG_VALID_OPTION_VALUE 60029
  626. #define MSG_IP_AREA_NOT_FOUND 60103
  627. #define MSG_IP_INTERFACE_NOT_FOUND 60112
  628. // OSPF error messages
  629. #define MSG_IP_AREA_NO_BACKBONE 60201
  630. #define MSG_IP_VI_NO_BACKBONE 60202
  631. #define MSG_IP_BAD_TRANSIT_AREA 60203
  632. #define MSG_IP_STUB_TRANSIT_AREA 60204
  633. #define MSG_IP_TRANSIT_AREA_NOT_FOUND 60205
  634. #define MSG_IP_BAD_RANGE 60206
  635. #define MSG_IP_NO_AREA 60208
  636. #define MSG_IP_BAD_ADDR_MASK 60209
  637. #define MSG_IP_OSPF_INTERFACE_NOT_FOUND 60220
  638. #define MSG_IP_OSPF_MULTIPLE_INTERFACE_PARAM 60221
  639. #define MSG_IP_OSPF_DEFAULT_PRESENT 60222
  640. #define MSG_IP_OSPF_DEFAULT_NOT_ALLOWED 60223
  641. #define MSG_IP_OSPF_ADDRESS_NOT_FOUND 60224
  642. // RIP error messages
  643. #define MSG_IP_RIP_FILTER_PRESENT 60211
  644. #define MSG_IP_RIP_FILTER_NOT_PRESENT 60212
  645. #define MSG_IP_RIP_INVALID_FILTER 60213
  646. // NAT messages
  647. #define MSG_IP_NAT_NO_ADDRESS_POOL 60251
  648. #define MSG_IP_NAT_NO_ADDRESS_RANGE 60252
  649. #define MSG_IP_NAT_ADDRESS_MAPPING_NEEDS_RANGE 60253
  650. #define MSG_IP_NAT_PORT_MAPPING_NEEDS_RANGE 60254
  651. #define MSG_IP_NAT_BAD_RANGE_END 60255
  652. #define MSG_IP_AUTODHCP_BAD_EXCLUSION 60256
  653. #define MSG_IP_NAT_ADDRESS_MAPPING_INVALID 60257
  654. #define MSG_IP_NAT_PORT_MAPPING_INVALID 60258
  655. // igmp
  656. #define EMSG_STATIC_MGM_GROUP_FOR_PROXY 60301
  657. #define EMSG_STATIC_GROUP_EXISTS 60302
  658. #define EMSG_STATIC_GROUP_NOT_FOUND 60303
  659. #define EMSG_IGMP_MULTIPLE_STATIC_GROUPS 60304
  660. #define EMSG_IGMP_PROXY_EXISTS 60305
  661. //
  662. // Error messages for mib calls
  663. //
  664. #define HLP_RIP_MIB_SHOW_STATS 63001
  665. #define HLP_RIP_MIB_SHOW_STATS_EX 63002
  666. #define HLP_RIP_MIB_SHOW_IFSTATS 63003
  667. #define HLP_RIP_MIB_SHOW_IFSTATS_EX 63004
  668. #define HLP_RIP_MIB_SHOW_IFBINDING 63005
  669. #define HLP_RIP_MIB_SHOW_IFBINDING_EX 63006
  670. #define HLP_RIP_MIB_SHOW_PEERSTATS 63007
  671. #define HLP_RIP_MIB_SHOW_PEERSTATS_EX 63008
  672. #define HLP_IGMP_MIB_SHOW_IF_STATS 63101
  673. #define HLP_IGMP_MIB_SHOW_IF_STATS_EX 63102
  674. #define HLP_IGMP_MIB_SHOW_IF_TABLE 63103
  675. #define HLP_IGMP_MIB_SHOW_IF_TABLE_EX 63104
  676. #define HLP_IGMP_MIB_SHOW_GROUP_TABLE 63105
  677. #define HLP_IGMP_MIB_SHOW_GROUP_TABLE_EX 63106
  678. #define HLP_IGMP_MIB_SHOW_RAS_GROUP_TABLE 63107
  679. #define HLP_IGMP_MIB_SHOW_RAS_GROUP_TABLE_EX 63108
  680. #define HLP_IGMP_MIB_SHOW_PROXY_GROUP_TABLE 63109
  681. #define HLP_IGMP_MIB_SHOW_PROXY_GROUP_TABLE_EX 63110
  682. #define HLP_OSPF_MIB_SHOW_AREA 63201
  683. #define HLP_OSPF_MIB_SHOW_AREA_EX 63202
  684. #define HLP_OSPF_MIB_SHOW_LSDB 63203
  685. #define HLP_OSPF_MIB_SHOW_LSDB_EX 63204
  686. #define HLP_OSPF_MIB_SHOW_NEIGHBOR 63205
  687. #define HLP_OSPF_MIB_SHOW_NEIGHBOR_EX 63206
  688. #define HLP_OSPF_MIB_SHOW_VIRTUALIF 63207
  689. #define HLP_OSPF_MIB_SHOW_VIRTUALIF_EX 63208
  690. #define HLP_BOOTP_MIB_SHOW_GLOBAL_CONFIG 63301
  691. #define HLP_BOOTP_MIB_SHOW_GLOBAL_CONFIG_EX 63302
  692. #define HLP_BOOTP_MIB_SHOW_IF_CONFIG 63303
  693. #define HLP_BOOTP_MIB_SHOW_IF_CONFIG_EX 63304
  694. #define HLP_BOOTP_MIB_SHOW_IF_BINDING 63305
  695. #define HLP_BOOTP_MIB_SHOW_IF_BINDING_EX 63306
  696. #define HLP_BOOTP_MIB_SHOW_IF_STATS 63307
  697. #define HLP_BOOTP_MIB_SHOW_IF_STATS_EX 63308
  698. #endif