audk/NetworkPkg
fanwang2 42f0586d61 NetworkPkg: Add old IPv4_DEVICE_PATH and IPv6_DEVICE_PATH support
GatewayIpAddress and SubnetMask do not exist in old IPv4_DEVICE_PATH,
IPAddressOrigin, PrefixLength and GatewayIPAddress do not exist in old
IPv6_DEVICE_PATH. This will lead new IScsiDxe to error without updating
IPv4_DEVICE_PATH and IPv6_DEVICE_PATH in system.

Following UEFI2.5 spec of IPv4_DEVICE_PATH do a check before accessing
fields only defined in new version's IPv4_DEVICE_PATH, and revise the same
issue for IPv6_DEVICE_PATH in Iscsi driver.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: fanwang2 <fan.wang@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
[lersek@redhat.com: rewrapped commit message]
Signed-off-by: Laszlo Ersek <lersek@redhat.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18056 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-26 08:03:59 +00:00
..
Application NetworkPkg: Fix an error that return type differs from the left one when assigned. 2015-07-10 06:50:41 +00:00
Dhcp6Dxe NetworkPkg: Add a comment to pcd field 2015-07-15 02:44:12 +00:00
DnsDxe NetworkPkg: Add the unspecified address check for DNS6 StationIp. 2015-07-16 02:37:53 +00:00
HttpBootDxe NetworkPkg: Fix an error that the call function declared implicitly. 2015-07-14 04:02:35 +00:00
HttpDxe NetworkPkg: Code logic optimization for DnsDxe and HttpDxe driver 2015-07-10 09:00:33 +00:00
IScsiDxe NetworkPkg: Add old IPv4_DEVICE_PATH and IPv6_DEVICE_PATH support 2015-07-26 08:03:59 +00:00
Include/Guid Clean up the private GUID definition in module Level. 2011-09-18 12:27:49 +00:00
Ip6Dxe Remove Framework HII "class\subclass" in all VFR 2015-05-21 07:58:12 +00:00
IpSecDxe NetworkPkg: Fix bug in IpSecImpl.c caused by missing parentheses 2015-07-26 08:03:05 +00:00
Mtftp6Dxe NetworkPkg: Fix an error that return type differs from the left one when assigned. 2015-07-10 06:50:41 +00:00
TcpDxe Fix some grammar and converge formatting of the two versions of TcpInput.c 2015-04-17 02:25:05 +00:00
Udp6Dxe NetworkPkg: Convert non DOS format files to DOS format 2014-09-03 08:50:27 +00:00
UefiPxeBcDxe NetworkPkg: Fix the issue EfiPxeBcDhcp() may return wrong status. 2015-07-26 08:03:25 +00: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: Fix bios bootup hang issue when enable network. 2015-07-15 03:23:20 +00:00
NetworkPkg.dsc NetworkPkg: Update package DSC file. 2015-07-07 09:29:54 +00:00
NetworkPkg.uni NetworkPkg: Convert non DOS format files to DOS format 2014-09-03 08:50:27 +00:00
NetworkPkgExtra.uni NetworkPkg: INF/DEC file updates to EDK II packages 2014-08-28 05:28:51 +00:00