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.

122 lines
3.9 KiB

  1. /*++
  2. Copyright (c) 1998, Microsoft Corporation
  3. Module Name:
  4. dhcplog.h
  5. Abstract:
  6. This module contains text messages used to generate event-log entries
  7. by the component.
  8. Author:
  9. Abolade Gbadegesin (aboladeg) 14-Mar-1998
  10. Revision History:
  11. --*/
  12. #define IP_AUTO_DHCP_LOG_BASE 30000
  13. #define IP_AUTO_DHCP_LOG_SENDARP_FAILED (IP_AUTO_DHCP_LOG_BASE+1)
  14. /*
  15. * The DHCP allocator was unable to check whether the IP address %1
  16. * is in use on the network for local IP address %2.
  17. * This error may indicate lack of support for address-resolution on the
  18. * network, or an error condition on the local machine.
  19. * The data is the error code.
  20. */
  21. #define IP_AUTO_DHCP_LOG_ACTIVATE_FAILED (IP_AUTO_DHCP_LOG_BASE+2)
  22. /*
  23. * The DHCP allocator was unable to bind to the IP address %1.
  24. * This error may indicate a problem with TCP/IP networking.
  25. * The data is the error code.
  26. */
  27. #define IP_AUTO_DHCP_LOG_ALLOCATION_FAILED (IP_AUTO_DHCP_LOG_BASE+3)
  28. /*
  29. * The DHCP allocator was unable to allocate %1 bytes of memory.
  30. * This may indicate that the system is low on virtual memory,
  31. * or that the memory-manager has encountered an internal error.
  32. */
  33. #define IP_AUTO_DHCP_LOG_INVALID_BOOTP_OPERATION (IP_AUTO_DHCP_LOG_BASE+4)
  34. /*
  35. * The DHCP allocator received a message containing an unrecognized code (%1).
  36. * The message was neither a BOOTP request nor a BOOTP reply, and was ignored.
  37. */
  38. #define IP_AUTO_DHCP_LOG_DUPLICATE_SERVER (IP_AUTO_DHCP_LOG_BASE+5)
  39. /*
  40. * The DHCP allocator has detected a DHCP server with IP address %1
  41. * on the same network as the interface with IP address %2.
  42. * The allocator has disabled itself on the interface in order to avoid
  43. * confusing DHCP clients.
  44. */
  45. #define IP_AUTO_DHCP_LOG_DETECTION_UNAVAILABLE (IP_AUTO_DHCP_LOG_BASE+6)
  46. /*
  47. * The DHCP allocator encountered a network error while attempting to detect
  48. * existing DHCP servers on the network of the interface with IP address %1.
  49. * The data is the error code.
  50. */
  51. #define IP_AUTO_DHCP_LOG_MESSAGE_TOO_SMALL (IP_AUTO_DHCP_LOG_BASE+7)
  52. /*
  53. * The DHCP allocator received a message smaller than the minimum message size.
  54. * The message has been discarded.
  55. */
  56. #define IP_AUTO_DHCP_LOG_INVALID_FORMAT (IP_AUTO_DHCP_LOG_BASE+8)
  57. /*
  58. * The DHCP allocator received a message whose format was invalid.
  59. * The message has been discarded.
  60. */
  61. #define IP_AUTO_DHCP_LOG_REPLY_FAILED (IP_AUTO_DHCP_LOG_BASE+9)
  62. /*
  63. * The DHCP allocator encountered a network error while attempting to reply
  64. * on IP address %1 to a request from a client.
  65. * The data is the error code.
  66. */
  67. #define IP_AUTO_DHCP_LOG_INVALID_DHCP_MESSAGE_TYPE (IP_AUTO_DHCP_LOG_BASE+10)
  68. /*
  69. * The DHCP allocator received a DHCP message containing an unrecognized
  70. * message type (%1) in the DHCP message type option field.
  71. * The message has been discarded.
  72. */
  73. #define IP_AUTO_DHCP_LOG_RECEIVE_FAILED (IP_AUTO_DHCP_LOG_BASE+11)
  74. /*
  75. * The DHCP allocator encountered a network error while attempting to
  76. * receive messages on the interface with IP address %1.
  77. * The data is the error code.
  78. */
  79. #define IP_AUTO_DHCP_LOG_NAT_INTERFACE_IGNORED (IP_AUTO_DHCP_LOG_BASE+12)
  80. /*
  81. * The DHCP allocator detected network address translation (NAT) enabled
  82. * on the interface with index '%1'.
  83. * The allocator has disabled itself on the interface in order to avoid
  84. * confusing DHCP clients.
  85. */
  86. #define IP_AUTO_DHCP_LOG_NON_SCOPE_ADDRESS (IP_AUTO_DHCP_LOG_BASE+13)
  87. /*
  88. * The DHCP allocator has disabled itself on IP address %1,
  89. * since the IP address is outside the %2/%3 scope
  90. * from which addresses are being allocated to DHCP clients.
  91. * To enable the DHCP allocator on this IP address,
  92. * please change the scope to include the IP address,
  93. * or change the IP address to fall within the scope.
  94. */
  95. #define IP_AUTO_DHCP_LOG_END (IP_AUTO_DHCP_LOG_BASE+999)
  96. /*
  97. * end.
  98. */