audk/NetworkPkg
Jiaxin Wu 0a92ac8802 NetworkPkg: Correct the DNS token return status by RCODE
When HostNameToIp() and GeneralLookUp() are called with a invalid
host name, RCODE (4 bit field is set as part of responses) error
will returned in packet to identify the domain name referenced in
the query does not exist. So, EFI_NOT_FOUND should be returned
directly.

Current implementation only check the RCODE in successful condition.
Need update the code for more error check according to RFC 1035 4.1.1
section.

Cc: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com>
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>
Tested-by: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com>
Reviewed-by: Sriram Subramanian <sriram-s@hpe.com>
2016-09-20 09:12:20 +08:00
..
Application NetworkPkg: Replace UnicodeStrToAsciiStr/AsciiStrToUnicodeStr 2016-06-21 12:46:24 +08:00
Dhcp6Dxe NetworkPkg: Add missed character in copyright. 2016-08-01 10:21:04 +08:00
DnsDxe NetworkPkg: Correct the DNS token return status by RCODE 2016-09-20 09:12:20 +08:00
HttpBootDxe Fix IPv6 HTTPClient vendor class data 2016-07-22 10:16:49 +08:00
HttpDxe NetworkPkg: Fix typos in comments 2016-07-11 10:29:50 +08:00
HttpUtilitiesDxe NetworkPkg:HttpDxe:Consume DxeHttpLib API changes 2016-04-27 10:43:18 +08:00
IScsiDxe NetworkPkg: Fix assert issue in iSCSI driver 2016-08-18 13:54:07 +08:00
Include/Guid NetworkPkg: Add URI configuration form to HTTP boot driver. 2016-03-07 09:12:14 +08:00
Ip6Dxe NetworkPkg: Fix typos in comments 2016-07-11 10:29:50 +08:00
IpSecDxe NetworkPkg/IpSecDxe: Generate SPI randomly and correct IKE_SPI_BASE value 2016-09-06 19:01:04 +08:00
Mtftp6Dxe NetworkPkg:Fix Network memory leak when calling GetModeData interface 2016-01-28 02:32:43 +00:00
TcpDxe NetworkPkg: Add missed character in copyright. 2016-08-01 10:21:04 +08:00
Udp6Dxe NetworkPkg: Add missed character in copyright. 2016-08-01 10:21:04 +08:00
UefiPxeBcDxe NetworkPkg UefiPxeBcDxe: Fix build error for lastest VS2015 compiler 2016-07-26 13:44:01 +08:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
NetworkPkg.dec NetworkPkg: Add URI configuration form to HTTP boot driver. 2016-03-07 09:12:14 +08:00
NetworkPkg.dsc NetworkPkg DSC: Add build option to disable deprecated APIs 2016-08-08 11:00:08 +08:00
NetworkPkg.uni NetworkPkg: Update NetworkPkg.uni to UTF-8 file format 2015-12-23 07:55:27 +00:00
NetworkPkgExtra.uni NetworkPkg: Convert all .uni files to utf-8 2015-12-15 04:56:57 +00:00