17#define IP4_ETHER_PROTO 0x0800
19#define DHCP4_OPCODE_REQUEST 1
20#define DHCP4_MAGIC 0x63538263
21#define DHCP4_TAG_EOP 255
23#define DHCP4_TAG_TYPE 53
24#define DHCP4_MSG_REQUEST 3
25#define DHCP4_MSG_INFORM 8
27#define DHCP4_TAG_PARA_LIST 55
28#define DHCP4_TAG_DNS_SERVER 6
30#define DHCP6_TAG_DNS_REQUEST 6
31#define DHCP6_TAG_DNS_SERVER 23
33#define DNS_CHECK_MEDIA_GET_DHCP_WAITING_TIME EFI_TIMER_PERIOD_SECONDS(20)
114 OUT UINT32 *DnsServerCount,
136 OUT UINT32 *DnsServerCount,
EFI_STATUS ParseDhcp4Ack(IN EFI_DHCP4_PROTOCOL *Dhcp4, IN EFI_DHCP4_PACKET *Packet, IN DNS4_SERVER_INFOR *DnsServerInfor)
EFI_STATUS GetDns4ServerFromDhcp4(IN DNS_INSTANCE *Instance, OUT UINT32 *DnsServerCount, OUT EFI_IPv4_ADDRESS **DnsServerList)
EFI_STATUS GetDns6ServerFromDhcp6(IN EFI_HANDLE Image, IN EFI_HANDLE Controller, OUT UINT32 *DnsServerCount, OUT EFI_IPv6_ADDRESS **DnsServerList)
EFI_STATUS EFIAPI ParseDhcp6Ack(IN EFI_DHCP6_PROTOCOL *This, IN VOID *Context, IN EFI_DHCP6_PACKET *Packet)