audk/MdeModulePkg/Library/DxeNetLib
Fu Siyuan 29788f178e MdeModulePkg: Update IP4 stack to support point-to-point link with 31-bit mask.
V2 update: Directly use NetIp4IsUnicast() to check station address in IP driver.

This patch is to follow RFC3021 which allows to use 31-bit mask
in point-to-point link.
If a 31-bit subnet mask is assigned to a point-to-point link, it
leaves the <Host-number> with only 1 bit.  Consequently, only two
possible addresses may result:
  {<Network-number>, 0} and {<Network-number>, -1}
These addresses have historically been associated with network and
broadcast addresses (see Section 2.2).  In a point-to-point link with
a 31-bit subnet mask, the two addresses above MUST be interpreted as
host addresses.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
2017-11-13 13:52:17 +08:00
..
DxeNetLib.c MdeModulePkg: Update IP4 stack to support point-to-point link with 31-bit mask. 2017-11-13 13:52:17 +08:00
DxeNetLib.inf MdeModulePkg: Add SMBIOS 3.0 support in NetLibGetSystemGuid. 2015-09-30 01:06:57 +00:00
DxeNetLib.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
NetBuffer.c MdeModulePkg/DxeNetLib: Check the actual packet size before trim data from Nbuf. 2017-09-28 15:36:49 +08:00