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.

342 lines
10 KiB

  1. /********************************************************************/
  2. /** Copyright(c) 1992 Microsoft Corporation. **/
  3. /********************************************************************/
  4. //***
  5. //
  6. // Filename: errorlog.h
  7. //
  8. // Description:
  9. //
  10. // History:
  11. // Feb. 21,1995. Gurdeep Singh Pall Created original version.
  12. //
  13. //***
  14. // Don't change the comments following the manifest constants without
  15. // understanding how mapmsg works.
  16. //
  17. #define RIPLOG_BASE 29000
  18. #define RIPLOG_SERVICE_STARTED (RIPLOG_BASE + 1)
  19. /*
  20. * Microsoft RIP for Internet Protocol Service started successfully.
  21. */
  22. #define RIPLOG_CANNOT_CREATE_NOTIFICATION_EVENT (RIPLOG_BASE + 2)
  23. /*
  24. * IPRIP was unable to open configuration change event.
  25. * Please try freeing some system resources.
  26. */
  27. #define RIPLOG_REGISTER_FAILED (RIPLOG_BASE + 3)
  28. /*
  29. * IPRIP could not register the service with the Service Control Manager.
  30. * Please make certain the service is correctly installed.
  31. */
  32. #define RIPLOG_SETSTATUS_FAILED (RIPLOG_BASE + 4)
  33. /*
  34. * IPRIP was unable to update the status of the service.
  35. */
  36. #define RIPLOG_CREATEMUTEX_FAILED (RIPLOG_BASE + 5)
  37. /*
  38. * IPRIP was unable to create a mutex for synchronization.
  39. * Please try freeing some system resources.
  40. */
  41. #define RIPLOG_CREATEEVENT_FAILED (RIPLOG_BASE + 6)
  42. /*
  43. * IPRIP was unable to create an event for synchronization.
  44. * Please try freeing some system resources.
  45. */
  46. #define RIPLOG_REGINIT_FAILED (RIPLOG_BASE + 7)
  47. /*
  48. * IPRIP was unable to load some parameters from the registry.
  49. * Please make certain the service is correctly installed.
  50. */
  51. #define RIPLOG_IFINIT_FAILED (RIPLOG_BASE + 8)
  52. /*
  53. * IPRIP was unable to load the list of interfaces on the system:
  54. * either there are insufficient resources, or no network interfaces
  55. * are configured.
  56. */
  57. #define RIPLOG_ROUTEINIT_FAILED (RIPLOG_BASE + 9)
  58. /*
  59. * IPRIP was unable to load the list of routes on the system:
  60. * either there are insufficient resources, or IP routing is disabled.
  61. */
  62. #define RIPLOG_WSOCKINIT_FAILED (RIPLOG_BASE + 10)
  63. /*
  64. * IPRIP was unable to initialize the Windows Sockets DLL.
  65. * Please make certain the correct version of Windows Sockets is installed.
  66. */
  67. #define RIPLOG_CREATESOCK_FAILED_GENERIC (RIPLOG_BASE + 11)
  68. /*
  69. * IPRIP was unable to create a socket. The network subsystem may have failed,
  70. * or there may be insufficient resources to complete the request.
  71. */
  72. #define RIPLOG_BINDSOCK_FAILED (RIPLOG_BASE + 12)
  73. /*
  74. * IPRIP was unable to bind a socket to IP address %1.
  75. * The data is the error code.
  76. */
  77. #define RIPLOG_CREATETHREAD_FAILED (RIPLOG_BASE + 13)
  78. /*
  79. * IPRIP was unable to create a thread.
  80. * Please try freeing some system resources.
  81. */
  82. #define RIPLOG_RECVFROM_FAILED (RIPLOG_BASE + 14)
  83. /*
  84. * IPRIP was unable to receive an incoming RIP packet.
  85. */
  86. #define RIPLOG_RECVSIZE_TOO_GREAT (RIPLOG_BASE + 15)
  87. /*
  88. * A message was received which was too large.
  89. */
  90. #define RIPLOG_FORMAT_ERROR (RIPLOG_BASE + 16)
  91. /*
  92. * A message was received whose formatting was in error.
  93. * Either the version was invalid, or one of the reserved fields
  94. * contained data.
  95. */
  96. #define RIPLOG_INVALIDPORT (RIPLOG_BASE + 17)
  97. /*
  98. * A message was received which was not sent from IPRIP port 520.
  99. */
  100. #define RIPLOG_SERVICE_STOPPED (RIPLOG_BASE + 18)
  101. /*
  102. * IPRIP has stopped.
  103. */
  104. #define RIPLOG_SENDTO_FAILED (RIPLOG_BASE + 19)
  105. /*
  106. * IPRIP was unable to send a RIP message.
  107. */
  108. #define RIPLOG_SOCKINIT_FAILED (RIPLOG_BASE + 20)
  109. /*
  110. * IPRIP was unable to bind to one or more IP addresses.
  111. */
  112. #define RIPLOG_REINIT_FAILED (RIPLOG_BASE + 21)
  113. /*
  114. * IPRIP was unable to re-initialize after an IP address changed.
  115. */
  116. #define RIPLOG_VERSION_ZERO (RIPLOG_BASE + 22)
  117. /*
  118. * IPRIP received a RIP packet with a version field of zero.
  119. * The packet has been discarded.
  120. */
  121. #define RIPLOG_RT_ALLOC_FAILED (RIPLOG_BASE + 23)
  122. /*
  123. * IPRIP was unable to allocate memory for a routing table entry.
  124. */
  125. #define RIPLOG_RTAB_INIT_FAILED (RIPLOG_BASE + 24)
  126. /*
  127. * IPRIP was unable to initialize its routing table.
  128. * The data is the error code.
  129. */
  130. #define RIPLOG_STAT_INIT_FAILED (RIPLOG_BASE + 25)
  131. /*
  132. * IPRIP was unable to initialize its statistics table.
  133. * The data is the error code.
  134. */
  135. #define RIPLOG_READBINDING_FAILED (RIPLOG_BASE + 26)
  136. /*
  137. * IPRIP was unable to read its interface bindings from the registry.
  138. * The data is the error code.
  139. */
  140. #define RIPLOG_IFLIST_ALLOC_FAILED (RIPLOG_BASE + 27)
  141. /*
  142. * IPRIP was unable to allocate memory for its interface list.
  143. * The data is the error code.
  144. */
  145. #define RIPLOG_CREATESOCK_FAILED (RIPLOG_BASE + 28)
  146. /*
  147. * IPRIP was unable to create a socket for address %1.
  148. * The data is the error code.
  149. */
  150. #define RIPLOG_SET_BCAST_FAILED (RIPLOG_BASE + 29)
  151. /*
  152. * IPRIP was unable to enable broadcasting on the socket for address %1.
  153. * The data is the error code.
  154. */
  155. #define RIPLOG_SET_REUSE_FAILED (RIPLOG_BASE + 30)
  156. /*
  157. * IPRIP was unable to enable address re-use on the socket for address %1.
  158. * The data is the error code.
  159. */
  160. #define RIPLOG_ADD_ROUTE_FAILED (RIPLOG_BASE + 31)
  161. /*
  162. * IPRIP was unable to add a route to the system route table.
  163. * The data is the error code.
  164. */
  165. #define RIPLOG_DELETE_ROUTE_FAILED (RIPLOG_BASE + 32)
  166. /*
  167. * IPRIP was unable to delete a route from the system route table.
  168. * The data is the error code.
  169. */
  170. #define RIPLOG_AF_UNKNOWN (RIPLOG_BASE + 33)
  171. /*
  172. * Address family unknown in route to %1 with next-hop %2.
  173. * The route has been discarded.
  174. */
  175. #define RIPLOG_CLASS_INVALID (RIPLOG_BASE + 34)
  176. /*
  177. * Class D or E address are invalid, ignoring route to %1 with next-hop %2.
  178. * The route has been discarded.
  179. */
  180. #define RIPLOG_LOOPBACK_INVALID (RIPLOG_BASE + 35)
  181. /*
  182. * Loop-back addresses are invalid, ignoring route to %1 with next-hop %2.
  183. * The route has been discarded.
  184. */
  185. #define RIPLOG_BROADCAST_INVALID (RIPLOG_BASE + 36)
  186. /*
  187. * Broadcast addresses are invalid, ignoring route to %1 with next-hop %2.
  188. * The route has been discarded.
  189. */
  190. #define RIPLOG_HOST_INVALID (RIPLOG_BASE + 37)
  191. /*
  192. * IPRIP is configured to discard host routes, so a route to %1
  193. * with next-hop %2 has been discarded.
  194. */
  195. #define RIPLOG_DEFAULT_INVALID (RIPLOG_BASE + 38)
  196. /*
  197. * IPRIP is configured to discard default routes, so a route to %1
  198. * with next-hop %2 has been discarded.
  199. */
  200. #define RIPLOG_NEW_LEARNT_ROUTE (RIPLOG_BASE + 39)
  201. /*
  202. * IPRIP has learnt a new route to %1 with next-hop %2 and metric %3.
  203. */
  204. #define RIPLOG_METRIC_CHANGE (RIPLOG_BASE + 40)
  205. /*
  206. * IPRIP's route to %1 with next-hop %2 now has metric %3.
  207. */
  208. #define RIPLOG_ROUTE_REPLACED (RIPLOG_BASE + 41)
  209. /*
  210. * IPRIP's route to %1 now has next-hop %2 and metric %3.
  211. */
  212. #define RIPLOG_ADDRESS_CHANGE (RIPLOG_BASE + 42)
  213. /*
  214. * IPRIP has detected an IP address change, and is reconfiguring.
  215. */
  216. #define RIPLOG_ROUTE_REMOVED (RIPLOG_BASE + 43)
  217. /*
  218. * IPRIP's route to %1 with next-hop %2 is being removed.
  219. */
  220. #define RIPLOG_ROUTE_TIMEOUT (RIPLOG_BASE + 44)
  221. /*
  222. * IPRIP's route to %1 with next-hop %2 has timed-out.
  223. */
  224. #define RIPLOG_FINAL_UPDATES (RIPLOG_BASE + 45)
  225. /*
  226. * IPRIP is sending out final updates.
  227. */
  228. #define RIPLOG_REGISTRY_PARAMETERS (RIPLOG_BASE + 46)
  229. /*
  230. * IPRIP is using the following parameters:
  231. * %1
  232. */
  233. #define RIPLOG_SERVICE_AREADY_STARTED (RIPLOG_BASE + 47)
  234. /*
  235. * RIP listener service has already been started
  236. */
  237. #define RIPLOG_SERVICE_INIT_FAILED (RIPLOG_BASE + 48)
  238. /*
  239. * RIP listener service failed during initialization
  240. */
  241. #define RIPLOG_FILTER_ALLOC_FAILED (RIPLOG_BASE + 49)
  242. /*
  243. * IPRIP was unable to allocate memory for its filter tables.
  244. * The data is the error code
  245. * %1
  246. */
  247. #define RIPLOG_ADDR_ALLOC_FAILED (RIPLOG_BASE + 50)
  248. /*
  249. * IPRIP was unable to allocate memory for its address tables.
  250. * The data is the error code
  251. * %1
  252. */
  253. #define RIPLOG_ADDR_INIT_FAILED (RIPLOG_BASE + 51)
  254. /*
  255. * IPRIP was unable to initialize its address tables.
  256. * The data is the error code
  257. * %1
  258. */
  259. #define RIPLOG_SET_MCAST_IF_FAILED (RIPLOG_BASE + 52)
  260. /*
  261. * IPRIP could not request multicasting on the local interface
  262. * with IP address %1.
  263. * The data is the error code.
  264. */
  265. #define RIPLOG_JOIN_GROUP_FAILED (RIPLOG_BASE + 53)
  266. /*
  267. * IPRIP could not join the multicast group 224.0.0.9
  268. * on the local interface with IP address %1.
  269. * The data is the error code.
  270. */
  271. #define RIPLOG_WSAEVENTSELECT_FAILED (RIPLOG_BASE + 54)
  272. /*
  273. * IPRIP was unable to do WSAEventSelect on a socket
  274. * bound to the local interface with IP address %1.
  275. * The data is the error code.
  276. */
  277. #define RIPLOG_WSAENUMNETWORKEVENTS_FAILED (RIPLOG_BASE + 55)
  278. /*
  279. * IPRIP was unable to enumerate network events on a socket
  280. * bound to the local interface with IP address %1.
  281. * The data is the error code.
  282. */