From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4DFAE1A1E28 for ; Thu, 27 Oct 2016 03:51:42 -0700 (PDT) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP; 27 Oct 2016 03:51:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,404,1473145200"; d="scan'208";a="24313876" Received: from sfu5-mobl3.ccr.corp.intel.com ([10.239.192.133]) by fmsmga005.fm.intel.com with ESMTP; 27 Oct 2016 03:51:41 -0700 From: Fu Siyuan To: edk2-devel@lists.01.org Date: Thu, 27 Oct 2016 18:51:36 +0800 Message-Id: <1477565499-11764-1-git-send-email-siyuan.fu@intel.com> X-Mailer: git-send-email 2.7.4.windows.1 Subject: [PATCH v2 0/3] classless address network unicast check X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2016 10:51:42 -0000 V2 update: Keep the zero address and broadcast check if network mask is not available. The classful addressing (IP class A/B/C) has been deprecated according to RFC4632. This patch updates the NetLib and network drivers for the unicast check in classless network. Fu Siyuan (3): MdeModulePkg: Update NetLib interface to support classless addressing. MdeModulePkg: Update IP4 stack drivers for classless address unicast check. NetworkPkg: Update IP4 stack drivers for classless address unicast check. MdeModulePkg/Include/Library/IpIoLib.h | 4 ++- MdeModulePkg/Include/Library/NetLib.h | 23 ++++++++----- MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c | 9 ++++- MdeModulePkg/Library/DxeNetLib/DxeNetLib.c | 26 +++++++------- MdeModulePkg/Universal/Network/ArpDxe/ArpImpl.c | 4 +-- .../Universal/Network/Dhcp4Dxe/Dhcp4Impl.c | 28 ++------------- MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Io.c | 6 +--- .../Universal/Network/IScsiDxe/IScsiConfig.c | 15 +++++--- .../Universal/Network/Ip4Dxe/Ip4Config2Impl.c | 9 +++-- .../Universal/Network/Ip4Dxe/Ip4Config2Nv.c | 24 ++++++------- MdeModulePkg/Universal/Network/Ip4Dxe/Ip4If.c | 7 +--- .../Universal/Network/Mtftp4Dxe/Mtftp4Impl.c | 8 ++--- MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Main.c | 6 ++-- MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c | 9 +++-- MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Main.c | 8 ++--- .../Universal/Network/UefiPxeBcDxe/PxeBcImpl.c | 24 ++++++++----- NetworkPkg/IScsiDxe/IScsiConfig.c | 16 ++++++--- NetworkPkg/TcpDxe/TcpMain.c | 6 ++-- NetworkPkg/UefiPxeBcDxe/PxeBcImpl.c | 40 +++++++++++++++------- NetworkPkg/UefiPxeBcDxe/PxeBcSupport.c | 4 ++- 20 files changed, 146 insertions(+), 130 deletions(-) -- 2.7.4.windows.1