From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id EFB7982219 for ; Wed, 22 Feb 2017 00:24:31 -0800 (PST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Feb 2017 00:24:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,193,1484035200"; d="scan'208";a="68171729" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga005.fm.intel.com with ESMTP; 22 Feb 2017 00:24:31 -0800 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 22 Feb 2017 00:24:31 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 22 Feb 2017 00:24:31 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.59]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.204]) with mapi id 14.03.0248.002; Wed, 22 Feb 2017 16:24:28 +0800 From: "Ni, Ruiyu" To: "Fu, Siyuan" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] [Patch] Nt32Pkg: Add build flag to enable or disable IPv6 network stack. Thread-Index: AQHSjOPcJGN4DJSo3EuV+sIREvWIxaF0sAEg Date: Wed, 22 Feb 2017 08:24:27 +0000 Deferred-Delivery: Wed, 22 Feb 2017 08:24:00 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5B8AB328@SHSMSX104.ccr.corp.intel.com> References: <1487751301-390392-1-git-send-email-siyuan.fu@intel.com> In-Reply-To: <1487751301-390392-1-git-send-email-siyuan.fu@intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch] Nt32Pkg: Add build flag to enable or disable IPv6 network stack. 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: Wed, 22 Feb 2017 08:24:32 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ruiyu Ni Thanks/Ray > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Fu > Siyuan > Sent: Wednesday, February 22, 2017 4:15 PM > To: edk2-devel@lists.01.org > Cc: Ni, Ruiyu > Subject: [edk2] [Patch] Nt32Pkg: Add build flag to enable or disable IPv6= network > stack. >=20 > Cc: Ruiyu Ni > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Fu Siyuan > --- > Nt32Pkg/Nt32Pkg.dsc | 22 ++++++++++++++++++++-- Nt32Pkg/Nt32Pkg.fdf | > 12 +++++++++++- > 2 files changed, 31 insertions(+), 3 deletions(-) >=20 > diff --git a/Nt32Pkg/Nt32Pkg.dsc b/Nt32Pkg/Nt32Pkg.dsc index > 47e37ec..31a60e2 100644 > --- a/Nt32Pkg/Nt32Pkg.dsc > +++ b/Nt32Pkg/Nt32Pkg.dsc > @@ -71,6 +71,13 @@ > # > DEFINE ALLOW_HTTP_CONNECTIONS =3D TRUE >=20 > + # > + # This flag is to enable or disable IPv6 network stack. > + # These can be changed on the command line. > + # -D FLAG=3DVALUE > + # > + DEFINE NETWORK_IP6_ENABLE =3D TRUE > + >=20 > ################################################################# > ############### > # > # SKU Identification section - list of all SKU IDs supported by this @@ = -135,6 > +142,7 @@ > NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf > IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf > UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf > + TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf > HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf > DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf >=20 > OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/ > OemHookStatusCodeLibNull.inf > @@ -458,12 +466,22 @@ > MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf > MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf > MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf > - MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf > MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf > - MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf > Nt32Pkg/SnpNt32Dxe/SnpNt32Dxe.inf >=20 > +!if $(NETWORK_IP6_ENABLE) =3D=3D TRUE > + NetworkPkg/Ip6Dxe/Ip6Dxe.inf > + NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf > + NetworkPkg/TcpDxe/TcpDxe.inf > + NetworkPkg/Udp6Dxe/Udp6Dxe.inf > + NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf > + NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf > + NetworkPkg/IScsiDxe/IScsiDxe.inf > +!else > + MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf > + MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf > MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf > +!endif >=20 > NetworkPkg/HttpBootDxe/HttpBootDxe.inf > NetworkPkg/DnsDxe/DnsDxe.inf > diff --git a/Nt32Pkg/Nt32Pkg.fdf b/Nt32Pkg/Nt32Pkg.fdf index > bbb4ccc..282e59c 100644 > --- a/Nt32Pkg/Nt32Pkg.fdf > +++ b/Nt32Pkg/Nt32Pkg.fdf > @@ -256,11 +256,21 @@ INF > MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf > INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf > INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf > INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf > -INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf > INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf > INF Nt32Pkg/SnpNt32Dxe/SnpNt32Dxe.inf > +!if $(NETWORK_IP6_ENABLE) =3D=3D TRUE > +INF NetworkPkg/Ip6Dxe/Ip6Dxe.inf > +INF NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf > +INF NetworkPkg/Udp6Dxe/Udp6Dxe.inf > +INF NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf > +INF NetworkPkg/TcpDxe/TcpDxe.inf > +INF NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf > +INF NetworkPkg/IScsiDxe/IScsiDxe.inf > +!else > +INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf > INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf > INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf > +!endif > INF NetworkPkg/HttpBootDxe/HttpBootDxe.inf > INF NetworkPkg/DnsDxe/DnsDxe.inf > INF NetworkPkg/HttpDxe/HttpDxe.inf > -- > 2.7.4.windows.1 >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel