#define DHCP_SERVICE_SIGNATURE SIGNATURE_32 ('D', 'H', 'C', 'P')\r
#define DHCP_PROTOCOL_SIGNATURE SIGNATURE_32 ('d', 'h', 'c', 'p')\r
\r
-typedef enum {\r
- //\r
- // The state of the DHCP service. It starts as UNCONFIGED. If\r
- // and active child configures the service successfully, it\r
- // goes to CONFIGED. If the active child configures NULL, it\r
- // goes back to UNCONFIGED. It becomes DESTORY if it is (partly)\r
- // destoried.\r
- //\r
- DHCP_UNCONFIGED = 0,\r
- DHCP_CONFIGED,\r
- DHCP_DESTORY\r
-} DHCP_STATE;\r
+\r
+//\r
+// The state of the DHCP service. It starts as UNCONFIGED. If\r
+// and active child configures the service successfully, it\r
+// goes to CONFIGED. If the active child configures NULL, it\r
+// goes back to UNCONFIGED. It becomes DESTORY if it is (partly)\r
+// destoried.\r
+//\r
+#define DHCP_UNCONFIGED 0\r
+#define DHCP_CONFIGED 1\r
+#define DHCP_DESTORY 2\r
+\r
\r
struct _DHCP_PROTOCOL {\r
UINT32 Signature;\r