summaryrefslogtreecommitdiff
path: root/NetworkPkg/DnsDxe/DnsDriver.h
diff options
context:
space:
mode:
authorJiaxin Wu <jiaxin.wu@intel.com>2017-11-16 14:28:33 +0800
committerJiaxin Wu <jiaxin.wu@intel.com>2017-12-12 19:08:48 +0800
commitcd2a6240714749be3cb788a915684533540913ca (patch)
treee1e1c0cb6495a15bd0d324c46b884d5fed757293 /NetworkPkg/DnsDxe/DnsDriver.h
parent1b59de8444ac70ec1d4876ec8d6e7d957d5b6ed1 (diff)
downloadedk2-cd2a6240714749be3cb788a915684533540913ca.zip
edk2-cd2a6240714749be3cb788a915684533540913ca.tar.gz
edk2-cd2a6240714749be3cb788a915684533540913ca.tar.bz2
NetworkPkg/DnsDxe: Update RetryCount/RetryInterval to comply with UEFI spec.
According to UEFI spec: "Retry number if no response received after RetryInterval. If zero, use the parameter configured through Dns.Configure() interface." "Minimum interval of retry is 2 second. If the retry interval is less than 2 second, then use the 2 second. If zero, use the parameter configured through Dns.Configure() interface." For both DNS.HostNameToIp and DNS.GeneralLookUp, the value of RetryCount / RetryInterval need to be updated to comply with UEFI spec. Cc: Ye Ting <ting.ye@intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Cc: Wang Fan <fan.wang@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Diffstat (limited to 'NetworkPkg/DnsDxe/DnsDriver.h')
-rw-r--r--NetworkPkg/DnsDxe/DnsDriver.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/NetworkPkg/DnsDxe/DnsDriver.h b/NetworkPkg/DnsDxe/DnsDriver.h
index 6632bb2..49f6a1d 100644
--- a/NetworkPkg/DnsDxe/DnsDriver.h
+++ b/NetworkPkg/DnsDxe/DnsDriver.h
@@ -1,7 +1,7 @@
/** @file
The header files of the driver binding and service binding protocol for DnsDxe driver.
-Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -89,8 +89,6 @@ struct _DNS_INSTANCE {
NET_MAP Dns4TxTokens;
NET_MAP Dns6TxTokens;
- UINT32 MaxRetry;
-
UDP_IO *UdpIo;
};