summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiaxin Wu <jiaxin.wu@intel.com>2016-02-01 01:36:25 +0000
committerjiaxinwu <jiaxinwu@Edk2>2016-02-01 01:36:25 +0000
commit4c4cbee95637758c57c07ad5548a7f671caa5c1e (patch)
treefc90c48f09cc75baa9e7b39dd9ec87f014c1d98a
parent33e0f9a7dfa536fc90c0d21be8ccf0483d751a48 (diff)
downloadedk2-4c4cbee95637758c57c07ad5548a7f671caa5c1e.tar.gz
edk2-4c4cbee95637758c57c07ad5548a7f671caa5c1e.tar.bz2
edk2-4c4cbee95637758c57c07ad5548a7f671caa5c1e.zip
MdePkg: Correct inconsistent function descriptions in DNS
This patch is used to correct inconsistent function descriptions in Dns4.h and Dns6.h. Cc: Fu Siyuan <siyuan.fu@intel.com> Cc: Ye Ting <ting.ye@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com> Reviewed-by: Siyuan Fu <siyuan.fu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19780 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdePkg/Include/Protocol/Dns4.h5
-rw-r--r--MdePkg/Include/Protocol/Dns6.h8
2 files changed, 6 insertions, 7 deletions
diff --git a/MdePkg/Include/Protocol/Dns4.h b/MdePkg/Include/Protocol/Dns4.h
index 3e7cdaaf2c..24892687be 100644
--- a/MdePkg/Include/Protocol/Dns4.h
+++ b/MdePkg/Include/Protocol/Dns4.h
@@ -4,7 +4,7 @@
DNSv4 Service Binding Protocol (DNSv4SB)
DNSv4 Protocol (DNSv4)
- Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2015 - 2016, 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
@@ -339,7 +339,7 @@ EFI_STATUS
type A query is used to get the one or more IP addresses for this host.
@param[in] This Pointer to EFI_DNS4_PROTOCOL instance.
- @param[in] Hostname Host name.
+ @param[in] HostName Host name.
@param[in] Token Point to the completion token to translate host name
to host address.
@@ -380,7 +380,6 @@ EFI_STATUS
IpAddress is not valid IP address .
@retval EFI_NO_MAPPING There's no source address is available for use.
@retval EFI_ALREADY_STARTED This Token is being used in another DNS session.
- @retval EFI_NOT_STARTED This instance has not been started.
@retval EFI_OUT_OF_RESOURCES Failed to allocate needed resources.
**/
typedef
diff --git a/MdePkg/Include/Protocol/Dns6.h b/MdePkg/Include/Protocol/Dns6.h
index 03cdf6a514..1ea85bc5a8 100644
--- a/MdePkg/Include/Protocol/Dns6.h
+++ b/MdePkg/Include/Protocol/Dns6.h
@@ -4,7 +4,7 @@
DNSv6 Service Binding Protocol (DNSv6SB)
DNSv6 Protocol (DNSv6)
- Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2015 - 2016, 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
@@ -301,7 +301,7 @@ EFI_STATUS
@retval EFI_SUCCESS The operation completed successfully.
@retval EFI_INVALID_PARAMTER This is NULL.
- The StationIp address provided in DnsConfigData is not a valid unicast.
+ The StationIp address provided in DnsConfigData is not zero and not a valid unicast.
DnsServerList is NULL while DnsServerList Count is not ZERO.
DnsServerList Count is ZERO while DnsServerList is not NULL.
@retval EFI_OUT_OF_RESOURCES The DNS instance data or required space could not be allocated.
@@ -323,10 +323,10 @@ EFI_STATUS
Host name to host address translation.
The HostNameToIp () function is used to translate the host name to host IP address. A
- type A query is used to get the one or more IPv6 addresses for this host.
+ type AAAA query is used to get the one or more IPv6 addresses for this host.
@param[in] This Pointer to EFI_DNS6_PROTOCOL instance.
- @param[in] Hostname Host name.
+ @param[in] HostName Host name.
@param[in] Token Point to the completion token to translate host name
to host address.