1. Enable Network stack to pass SCT, currently MNP, ARP, IP4, TCP4 and DHCP4 have passed SCT.
2. Enable Network stack to pass ICC build. 3. Sync Network library instances' module names with their filenames. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3692 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -435,7 +435,7 @@ Ip4Reassemble (
|
||||
}
|
||||
|
||||
NewPacket->Ip = Assemble->Head;
|
||||
CopyMem (IP4_GET_CLIP_INFO (NewPacket), Assemble->Info, sizeof (IP4_CLIP_INFO));
|
||||
CopyMem (IP4_GET_CLIP_INFO (NewPacket), Assemble->Info, sizeof (*IP4_GET_CLIP_INFO (NewPacket)));
|
||||
return NewPacket;
|
||||
}
|
||||
|
||||
@@ -511,7 +511,7 @@ Ip4AccpetFrame (
|
||||
//
|
||||
// Some OS may send IP packets without checksum.
|
||||
//
|
||||
Checksum = ~NetblockChecksum ((UINT8 *) Head, HeadLen);
|
||||
Checksum = (UINT16) (~NetblockChecksum ((UINT8 *) Head, HeadLen));
|
||||
|
||||
if ((Head->Checksum != 0) && (Checksum != 0)) {
|
||||
goto RESTART;
|
||||
|
Reference in New Issue
Block a user