mirror of https://github.com/acidanthera/audk.git
MdePkg/DevicePath.h: Add DNS Device Path definition
This patch adds the DNS device path node definition. Cc: Ye Ting <ting.ye@intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com>
This commit is contained in:
parent
b92efc9fe5
commit
ecbabb7f8b
|
@ -817,6 +817,22 @@ typedef struct {
|
|||
UINT64 NamespaceUuid;
|
||||
} NVME_NAMESPACE_DEVICE_PATH;
|
||||
|
||||
///
|
||||
/// DNS Device Path SubType
|
||||
///
|
||||
#define MSG_DNS_DP 0x1F
|
||||
typedef struct {
|
||||
EFI_DEVICE_PATH_PROTOCOL Header;
|
||||
///
|
||||
/// Indicates the DNS server address is IPv4 or IPv6 address.
|
||||
///
|
||||
UINT8 IsIPv6;
|
||||
///
|
||||
/// Instance of the DNS server address.
|
||||
///
|
||||
EFI_IP_ADDRESS DnsServerIp[];
|
||||
} DNS_DEVICE_PATH;
|
||||
|
||||
///
|
||||
/// Uniform Resource Identifiers (URI) Device Path SubType
|
||||
///
|
||||
|
@ -1252,6 +1268,7 @@ typedef union {
|
|||
SAS_DEVICE_PATH Sas;
|
||||
SASEX_DEVICE_PATH SasEx;
|
||||
NVME_NAMESPACE_DEVICE_PATH NvmeNamespace;
|
||||
DNS_DEVICE_PATH Dns;
|
||||
URI_DEVICE_PATH Uri;
|
||||
BLUETOOTH_DEVICE_PATH Bluetooth;
|
||||
WIFI_DEVICE_PATH WiFi;
|
||||
|
@ -1309,6 +1326,7 @@ typedef union {
|
|||
SAS_DEVICE_PATH *Sas;
|
||||
SASEX_DEVICE_PATH *SasEx;
|
||||
NVME_NAMESPACE_DEVICE_PATH *NvmeNamespace;
|
||||
DNS_DEVICE_PATH *Dns;
|
||||
URI_DEVICE_PATH *Uri;
|
||||
BLUETOOTH_DEVICE_PATH *Bluetooth;
|
||||
WIFI_DEVICE_PATH *WiFi;
|
||||
|
|
Loading…
Reference in New Issue