#include "Dhcp4Option.h"\r
#include "Dhcp4Io.h"\r
\r
-enum {\r
- DHCP_SERVICE_SIGNATURE = EFI_SIGNATURE_32 ('D', 'H', 'C', 'P'),\r
- DHCP_PROTOCOL_SIGNATURE = EFI_SIGNATURE_32 ('d', 'h', 'c', 'p'),\r
+#define DHCP_SERVICE_SIGNATURE EFI_SIGNATURE_32 ('D', 'H', 'C', 'P')\r
+#define DHCP_PROTOCOL_SIGNATURE EFI_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
DHCP_UNCONFIGED = 0,\r
DHCP_CONFIGED,\r
DHCP_DESTORY\r
-};\r
+} DHCP_STATE;\r
\r
struct _DHCP_PROTOCOL {\r
UINT32 Signature;\r
\r
extern EFI_DHCP4_PROTOCOL mDhcp4ProtocolTemplate;\r
\r
+/**\r
+ Give up the control of the DHCP service to let other child\r
+ resume. Don't change the service's DHCP state and the Client\r
+ address and option list configure as required by RFC2131.\r
+\r
+ @param DhcpSb The DHCP service instance.\r
+\r
+ @return None\r
+\r
+**/\r
VOID\r
DhcpYieldControl (\r
IN DHCP_SERVICE *DhcpSb\r