-#define DHCP_WAIT_OFFER 3 // Time to wait the offers\r
-#define DHCP_DEFAULT_LEASE 7 *24 *60 *60 // Seven days as default.\r
-#define DHCP_SERVER_PORT 67\r
-#define DHCP_CLIENT_PORT 68\r
-\r
-typedef enum {\r
- //\r
- // BOOTP header "op" field\r
- //\r
- BOOTP_REQUEST = 1,\r
- BOOTP_REPLY = 2\r
-} DHCP_OP_TYPE;\r
-\r
-typedef enum {\r
- //\r
- // DHCP message types\r
- //\r
- DHCP_MSG_DISCOVER = 1,\r
- DHCP_MSG_OFFER = 2,\r
- DHCP_MSG_REQUEST = 3,\r
- DHCP_MSG_DECLINE = 4,\r
- DHCP_MSG_ACK = 5,\r
- DHCP_MSG_NAK = 6,\r
- DHCP_MSG_RELEASE = 7,\r
- DHCP_MSG_INFORM = 8\r
-} DHCP_MSG_TYPE;\r
-\r
-typedef enum {\r
- //\r
- // DHCP notify user type\r
- //\r
- DHCP_NOTIFY_COMPLETION = 1,\r
- DHCP_NOTIFY_RENEWREBIND,\r
- DHCP_NOTIFY_ALL\r
-} DHCP_NOTIFY_TYPE;\r
+#define DHCP_WAIT_OFFER 3 // Time to wait the offers\r
+#define DHCP_DEFAULT_LEASE 7 * 24 * 60 * 60 // Seven days as default.\r
+#define DHCP_SERVER_PORT 67\r
+#define DHCP_CLIENT_PORT 68\r
+\r
+//\r
+// BOOTP header "op" field\r
+//\r
+#define BOOTP_REQUEST 1\r
+#define BOOTP_REPLY 2\r
+\r
+//\r
+// DHCP message types\r
+//\r
+#define DHCP_MSG_DISCOVER 1\r
+#define DHCP_MSG_OFFER 2\r
+#define DHCP_MSG_REQUEST 3\r
+#define DHCP_MSG_DECLINE 4\r
+#define DHCP_MSG_ACK 5\r
+#define DHCP_MSG_NAK 6\r
+#define DHCP_MSG_RELEASE 7\r
+#define DHCP_MSG_INFORM 8\r
+\r
+//\r
+// DHCP notify user type\r
+//\r
+#define DHCP_NOTIFY_COMPLETION 1\r
+#define DHCP_NOTIFY_RENEWREBIND 2\r
+#define DHCP_NOTIFY_ALL 3\r