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.

395 lines
13 KiB

  1. //============================================================================
  2. // Copyright (c) 1996, Microsoft Corporation
  3. //
  4. // File: log.h
  5. //
  6. // History:
  7. // Abolade Gbadegesin Jan-12-1996 Created.
  8. //
  9. // This file is processed by mapmsg to produce a .mc file,
  10. // then the .mc file is compiled by the message compiler,
  11. // and the resulting binary is included in IPRIP's resource file.
  12. //
  13. // Don't change the comments following the manifest constants
  14. // without understanding how mapmsg works.
  15. //============================================================================
  16. #define IPRIPLOG_BASE 30000
  17. #define IPRIPLOG_INIT_CRITSEC_FAILED (IPRIPLOG_BASE + 1)
  18. /*
  19. * IPRIPv2 was unable to initialize a critical section.
  20. * The data is the exception code.
  21. */
  22. #define IPRIPLOG_HEAP_CREATE_FAILED (IPRIPLOG_BASE + 2)
  23. /*
  24. * IPRIPv2 was unable to create a heap.
  25. * The data is the error code.
  26. */
  27. #define IPRIPLOG_HEAP_ALLOC_FAILED (IPRIPLOG_BASE + 3)
  28. /*
  29. * IPRIPv2 was unable to allocate memory from its heap.
  30. * The data is the error code.
  31. */
  32. #define IPRIPLOG_IPRIP_ALREADY_STARTED (IPRIPLOG_BASE + 4)
  33. /*
  34. * IPRIPv2 received a start request when it was already running.
  35. */
  36. #define IPRIPLOG_WSASTARTUP_FAILED (IPRIPLOG_BASE + 5)
  37. /*
  38. * IPRIPv2 was unable to start Windows Sockets.
  39. * The data is the error code.
  40. */
  41. #define IPRIPLOG_CREATE_RWL_FAILED (IPRIPLOG_BASE + 6)
  42. /*
  43. * IPRIPv2 was unable to create a synchronization object.
  44. * The data is the error code.
  45. */
  46. #define IPRIPLOG_CREATE_EVENT_FAILED (IPRIPLOG_BASE + 7)
  47. /*
  48. * IPRIPv2 was unable to create an event.
  49. * The data is the error code.
  50. */
  51. #define IPRIPLOG_CREATE_IF_TABLE_FAILED (IPRIPLOG_BASE + 8)
  52. /*
  53. * IPRIPv2 was unable to initialize a table to hold information
  54. * about configured network interfaces.
  55. * The data is the error code.
  56. */
  57. #define IPRIPLOG_CREATE_PEER_TABLE_FAILED (IPRIPLOG_BASE + 9)
  58. /*
  59. * IPRIPv2 was unable to initialize a table to hold information
  60. * about neighboring IPRIP routers.
  61. * The data is the error code.
  62. */
  63. #define IPRIPLOG_CREATE_BINDING_TABLE_FAILED (IPRIPLOG_BASE + 10)
  64. /*
  65. * IPRIPv2 was unable to initialize a table to hold information
  66. * about local IP addresses.
  67. * The data is the error code.
  68. */
  69. #define IPRIPLOG_CREATE_SEMAPHORE_FAILED (IPRIPLOG_BASE + 11)
  70. /*
  71. * IPRIPv2 was unable to create a semaphore.
  72. * The data is the error code.
  73. */
  74. #define IPRIPLOG_CREATE_SOCKET_FAILED (IPRIPLOG_BASE + 12)
  75. /*
  76. * IPRIPv2 was unable to create a socket.
  77. * The data is the error code.
  78. */
  79. #define IPRIPLOG_RTM_REGISTER_FAILED (IPRIPLOG_BASE + 13)
  80. /*
  81. * IPRIPv2 was unable to register with the Routing Table Manager.
  82. * The data is the error code.
  83. */
  84. #define IPRIPLOG_CREATE_THREAD_FAILED (IPRIPLOG_BASE + 14)
  85. /*
  86. * IPRIPv2 was unable to create a thread.
  87. * The data is the error code.
  88. */
  89. #define IPRIPLOG_IPRIP_STARTED (IPRIPLOG_BASE + 15)
  90. /*
  91. * IPRIPv2 has started successfully.
  92. */
  93. #define IPRIPLOG_BIND_IF_FAILED (IPRIPLOG_BASE + 16)
  94. /*
  95. * IPRIPv2 could not bind to IP address %1.
  96. * Please make sure TCP/IP is installed and configured correctly.
  97. * The data is the error code.
  98. */
  99. #define IPRIPLOG_QUEUE_WORKER_FAILED (IPRIPLOG_BASE + 17)
  100. /*
  101. * IPRIPv2 could not schedule a task to be executed.
  102. * This may have been caused by a memory allocation failure.
  103. * The data is the error code.
  104. */
  105. #define IPRIPLOG_ADD_ROUTE_FAILED_1 (IPRIPLOG_BASE + 18)
  106. /*
  107. * IPRIPv2 was unable to add a route to the Routing Table Manager.
  108. * The route is to network %1 with next-hop %3.
  109. * The data is the error code.
  110. */
  111. #define IPRIPLOG_SELECT_FAILED (IPRIPLOG_BASE + 19)
  112. /*
  113. * IPRIPv2 received an error in a call to select().
  114. * This may indicate underlying network problems.
  115. * The data is the error code.
  116. */
  117. #define IPRIPLOG_RECVFROM_FAILED (IPRIPLOG_BASE + 20)
  118. /*
  119. * IPRIPv2 was unable to receive an incoming message
  120. * on the local interface with IP address %1.
  121. * The data is the error code.
  122. */
  123. #define IPRIPLOG_PACKET_TOO_SMALL (IPRIPLOG_BASE + 21)
  124. /*
  125. * IPRIPv2 received a packet which was smaller than the minimum size
  126. * allowed for IPRIP packets. The packet has been discarded.
  127. * It was received on the local interface with IP address %1,
  128. * and it came from the neighboring router with IP address %2.
  129. */
  130. #define IPRIPLOG_PACKET_VERSION_INVALID (IPRIPLOG_BASE + 22)
  131. /*
  132. * IPRIPv2 received a packet with an invalid version in its header.
  133. * The packet has been discarded. It was received on the local interface
  134. * with IP address %1, and it came from the neighboring router
  135. * with IP address %2.
  136. */
  137. #define IPRIPLOG_PACKET_HEADER_CORRUPT (IPRIPLOG_BASE + 23)
  138. /*
  139. * IPRIPv2 received a packet with an invalid header. The packet has been
  140. * discarded. It was received on the local interface with IP address %1,
  141. * and it came from the neighboring router with IP address %2.
  142. */
  143. #define IPRIPLOG_SENDTO_FAILED (IPRIPLOG_BASE + 24)
  144. /*
  145. * IPRIPv2 was unable to send a packet from the interface with IP address %1
  146. * to the IP address %2.
  147. * The data is the error code.
  148. */
  149. #define IPRIPLOG_RESPONSE_FILTERED (IPRIPLOG_BASE + 25)
  150. /*
  151. * IPRIPv2 discarded a response packet from a neighbor with IP address %1.
  152. * IPRIPv2 is not configured to accept packets from the above neighbor.
  153. */
  154. #define IPRIPLOG_PACKET_VERSION_MISMATCH (IPRIPLOG_BASE + 26)
  155. /*
  156. * IPRIPv2 discarded a version %1 packet received on the interface
  157. * with IP address %2 from a neighbor with IP address %3.
  158. * The above interface is configured to accept only version %4 packets.
  159. */
  160. #define IPRIPLOG_AUTHENTICATION_FAILED (IPRIPLOG_BASE + 27)
  161. /*
  162. * IPRIPv2 discarded a packet received on the interface with IP address %1
  163. * from a neighboring router with IP address %2, because the packet
  164. * failed authentication.
  165. */
  166. #define IPRIPLOG_ROUTE_CLASS_INVALID (IPRIPLOG_BASE + 28)
  167. /*
  168. * IPRIPv2 is ignoring a route to %1 with next-hop %2 which was advertised
  169. * by a neighbor with IP address %3. The route's network class is invalid.
  170. */
  171. #define IPRIPLOG_LOOPBACK_ROUTE_INVALID (IPRIPLOG_BASE + 29)
  172. /*
  173. * IPRIPv2 is ignoring a route to the loopback network %1 with next-hop %2
  174. * which was advertised by a neighbor with IP address %3.
  175. */
  176. #define IPRIPLOG_BROADCAST_ROUTE_INVALID (IPRIPLOG_BASE + 30)
  177. /*
  178. * IPRIPv2 is ignoring a route to the broadcast network %1 with next-hop %2
  179. * which was advertised by a neighbor with IP address %3.
  180. */
  181. #define IPRIPLOG_HOST_ROUTE_INVALID (IPRIPLOG_BASE + 31)
  182. /*
  183. * IPRIPv2 is ignoring a host route to %1 with next-hop %2 which was
  184. * advertised by a neighbor with IP address %3, because the interface
  185. * on which the route was received is configured to reject host routes.
  186. */
  187. #define IPRIPLOG_DEFAULT_ROUTE_INVALID (IPRIPLOG_BASE + 32)
  188. /*
  189. * IPRIPv2 is ignoring a default route with next-hop %2 which was
  190. * advertised by a neighbor with IP address %3, because the interface
  191. * on which the route was received is configured to reject default routes.
  192. */
  193. #define IPRIPLOG_ROUTE_FILTERED (IPRIPLOG_BASE + 33)
  194. /*
  195. * IPRIPv2 is ignoring a route to %1 with next-hop %2 which was advertised
  196. * by a neighbor with IP address %3, because the interface on which
  197. * the route was received has a filter configured which excluded this route.
  198. */
  199. #define IPRIPLOG_ADD_ROUTE_FAILED_2 (IPRIPLOG_BASE + 34)
  200. /*
  201. * IPRIPv2 was unable to add a route to the Routing Table Manager.
  202. * The route is to %1 with next-hop %2 and it was received from a neighbor
  203. * with IP address %3.
  204. * The data is the error code.
  205. */
  206. #define IPRIPLOG_RTM_ENUMERATE_FAILED (IPRIPLOG_BASE + 35)
  207. /*
  208. * IPRIPv2 was unable to enumerate the routes in the Routing Table Manager.
  209. * The data is the error code.
  210. */
  211. #define IPRIPLOG_IPRIP_STOPPED (IPRIPLOG_BASE + 36)
  212. /*
  213. * IPRIPv2 has stopped.
  214. */
  215. #define IPRIPLOG_NEW_ROUTE_LEARNT_1 (IPRIPLOG_BASE + 37)
  216. /*
  217. * IPRIPv2 has learnt of a new route. The route is to network %1
  218. * with next-hop %2, and the route was learnt from the neighbor
  219. * with IP address %3.
  220. */
  221. #define IPRIPLOG_ROUTE_NEXTHOP_CHANGED (IPRIPLOG_BASE + 38)
  222. /*
  223. * IPRIPv2 has changed the next-hop of the route to %1.
  224. * The new next-hop is %2.
  225. */
  226. #define IPRIPLOG_ROUTE_METRIC_CHANGED (IPRIPLOG_BASE + 39)
  227. /*
  228. * IPRIPv2 has learnt of a change in metric for its route to %1
  229. * with next-hop %2. The new metric is %3.
  230. */
  231. #define IPRIPLOG_NEW_ROUTE_LEARNT_2 (IPRIPLOG_BASE + 40)
  232. /*
  233. * IPRIPv2 has learnt of a new route. The route is to network %1
  234. * with next-hop %2.
  235. */
  236. #define IPRIPLOG_ROUTE_EXPIRED (IPRIPLOG_BASE + 41)
  237. /*
  238. * IPRIPv2 has timed-out its route to %1 with next-hop %2,
  239. * since no neighboring routers announced the route.
  240. * The route will now be marked for deletion.
  241. */
  242. #define IPRIPLOG_ROUTE_DELETED (IPRIPLOG_BASE + 42)
  243. /*
  244. * IPRIPv2 has deleted its route to %1 with next-hop %2,
  245. * since the route timed-out and no neighboring routers announced the route.
  246. */
  247. #define IPRIPLOG_ROUTE_ENTRY_IGNORED (IPRIPLOG_BASE + 43)
  248. /*
  249. * IPRIPv2 is ignoring a route on the local interface with IP address %1.
  250. * The route is to the network %1 and it was received from a neighbor
  251. * with IP address %2.
  252. * The route is being ignored because it contains some invalid information.
  253. */
  254. #define IPRIPLOG_ROUTE_METRIC_INVALID (IPRIPLOG_BASE + 44)
  255. /*
  256. * IPRIPv2 is ignoring a route to %1 with next-hop %2
  257. * which was advertised by a neighbor with IP address %3,
  258. * since the route was advertised with an invalid metric.
  259. * The data is the metric.
  260. */
  261. #define IPRIPLOG_ENUM_NETWORK_EVENTS_FAILED (IPRIPLOG_BASE + 45)
  262. /*
  263. * IPRIPv2 was unable to enumerate network events on the local interface
  264. * with IP address %1.
  265. * The data is the error code.
  266. */
  267. #define IPRIPLOG_INPUT_RECORD_ERROR (IPRIPLOG_BASE + 46)
  268. /*
  269. * IPRIPv2 detected an error on the local interface with IP address %1.
  270. * The error occurred while the interface was receiving packets.
  271. * The data is the error code.
  272. */
  273. #define IPRIPLOG_EVENTSELECT_FAILED (IPRIPLOG_BASE + 47)
  274. /*
  275. * IPRIPv2 was unable to request notification of events
  276. * on the socket for the local interface with IP address %1.
  277. * The data is the error code.
  278. */
  279. #define IPRIPLOG_CREATE_SOCKET_FAILED_2 (IPRIPLOG_BASE + 48)
  280. /*
  281. * IPRIPv2 was unable to create a socket for the local interface
  282. * with IP address %1.
  283. * The data is the error code.
  284. */
  285. #define IPRIPLOG_ENABLE_BROADCAST_FAILED (IPRIPLOG_BASE + 49)
  286. /*
  287. * IPRIPv2 could not enable broadcasting on the socket for
  288. * the local interface with IP address %1.
  289. * The data is the error code.
  290. */
  291. #define IPRIPLOG_BIND_FAILED (IPRIPLOG_BASE + 50)
  292. /*
  293. * IPRIPv2 could not bind to port 520 on the socket for
  294. * the local interface with IP address %1.
  295. * The data is the error code.
  296. */
  297. #define IPRIPLOG_SET_MCAST_IF_FAILED (IPRIPLOG_BASE + 51)
  298. /*
  299. * IPRIPv2 could not request multicasting on the local interface
  300. * with IP address %1.
  301. * The data is the error code.
  302. */
  303. #define IPRIPLOG_JOIN_GROUP_FAILED (IPRIPLOG_BASE + 52)
  304. /*
  305. * IPRIPv2 could not join the multicast group 224.0.0.9
  306. * on the local interface with IP address %1.
  307. * The data is the error code.
  308. */
  309. #define IPRIPLOG_INVALID_PORT (IPRIPLOG_BASE + 53)
  310. /*
  311. * IPRIPv2 discarded a response packet from a neighbor with IP address %1.
  312. * The packet was not sent from the standard IP RIP port (520).
  313. */
  314. #define IPRIPLOG_REGISTER_WAIT_FAILED (IPRIPLOG_BASE + 54)
  315. /*
  316. * IPRIPv2 could not register an event with the Ntdll wait thread.
  317. * The data is the error code.
  318. */
  319. #define IPRIPLOG_CREATE_TIMER_QUEUE_FAILED (IPRIPLOG_BASE + 55)
  320. /*
  321. * IPRIPv2 could not register a timer queue with the Ntdll thread.
  322. * The data is the error code.
  323. */
  324. #define IPRIPLOG_INVALID_IF_CONFIG (IPRIPLOG_BASE + 56)
  325. /*
  326. * IPRIPV2 could not be enabled on the interface.
  327. * Parameter %1 has an invalid value %2.
  328. */
  329. #define IPRIPLOG_PREVIOUS_SENDTO_FAILED (IPRIPLOG_BASE + 57)
  330. /*
  331. * Peer with IP address %1 was unable to receive RIP message sent out
  332. * from interface with IP address %2.
  333. * The peer might be rebooting, or Routing and Remote Access service
  334. * might not be running on the peer.
  335. */