+enum {
+ dhcp_msgtype_none_e = 0,
+ dhcp_msgtype_discover_e = DHCPDISCOVER,
+ dhcp_msgtype_offer_e = DHCPOFFER,
+ dhcp_msgtype_request_e = DHCPREQUEST,
+ dhcp_msgtype_decline_e = DHCPDECLINE,
+ dhcp_msgtype_ack_e = DHCPACK,
+ dhcp_msgtype_nak_e = DHCPNAK,
+ dhcp_msgtype_release_e = DHCPRELEASE,
+ dhcp_msgtype_inform_e = DHCPINFORM,
+};
+
+typedef uint8_t dhcp_msgtype_t;
+