]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.h
MdeModulePkg Ip4Dxe: Ip4Config2 to request DHCP Option6 DNS server IP
[mirror_edk2.git] / MdeModulePkg / Universal / Network / Ip4Dxe / Ip4Config2Impl.h
index e74b9ae407440e35739ae90ab8e78c7cbef19fdb..ab72525646772388e92ee05d2fce8a861b1b02e0 100644 (file)
@@ -2,6 +2,7 @@
   Definitions for EFI IPv4 Configuration II Protocol implementation.\r
 \r
   Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+  (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -27,7 +28,7 @@
 #define DHCP_TAG_PARA_LIST             55\r
 #define DHCP_TAG_NETMASK               1\r
 #define DHCP_TAG_ROUTER                3\r
-\r
+#define DHCP_TAG_DNS_SERVER            6\r
 \r
 #define DATA_ATTRIB_SET(Attrib, Bits)       (BOOLEAN)((Attrib) & (Bits))\r
 #define SET_DATA_ATTRIB(Attrib, Bits)       ((Attrib) |= (Bits))\r
@@ -207,6 +208,7 @@ struct _IP4_CONFIG2_INSTANCE {
 typedef struct {\r
   EFI_DHCP4_PACKET_OPTION Head;\r
   UINT8                   Route;\r
+  UINT8                   Dns;\r
 } IP4_CONFIG2_DHCP4_OPTION;\r
 #pragma pack()\r
 \r