From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1cKLch-0000h9-G0 for mharc-grub-devel@gnu.org; Fri, 23 Dec 2016 03:54:43 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKLca-0000f7-A8 for grub-devel@gnu.org; Fri, 23 Dec 2016 03:54:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKLcY-0005Sm-Kj for grub-devel@gnu.org; Fri, 23 Dec 2016 03:54:36 -0500 Received: from g2t2352.austin.hpe.com ([15.233.44.25]:44531) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cKLcY-0005Pe-GE for grub-devel@gnu.org; Fri, 23 Dec 2016 03:54:34 -0500 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2352.austin.hpe.com (Postfix) with ESMTP id 6C29454; Fri, 23 Dec 2016 08:54:26 +0000 (UTC) Received: from hpe.com (hpe.asiapacific.hpqcorp.net [16.159.110.186]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id F3F693D; Fri, 23 Dec 2016 08:54:24 +0000 (UTC) From: Keng-Yu Lin To: grub-devel@gnu.org Cc: mchang@suse.com, ken.lin@hpe.com, ljk@hpe.com, michael.ruan@hpe.com, clayc@hpe.com, kengyu@hpe.com Subject: [PATCH v2 0/9] Add UEFI HTTP Boot support for IPv4 and IPv6 Date: Fri, 23 Dec 2016 16:54:03 +0800 Message-Id: <1482483252-8710-1-git-send-email-kengyu@hpe.com> X-Mailer: git-send-email 2.7.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 15.233.44.25 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 08:54:38 -0000 The patchset is a follow-up to the previous one sent in Auguest. After talking with Michael Chang, he is happy that we pick up this. This patchset was tested on a machine with EDK2-derived ROM. Both ipv4 and ipv6 are tested. The default http port (80) and a specified port (we chose 79) are also tested. All passed. See below for more explanation for each patch. Aaron Miller (1): net: read bracketed ipv6 addrs and port numbers Keng-Yu Lin (1): Add default port in grub_net_app_protocol This one is the main one in reply the last review. Besides adding the default port grub_net_app_protocol, this patch also shortened the port string and add a comment to the code for adding the brackets for un-brackted ipv6 address. The brackets are required based on the testing result on the real machine. For port 0, this is not realistic for the real use, because there is no way for the http server to know in advance which port the client will get. However, I removed all port 0 checking. From the source-level, port 0 should work. Michael Chang (6): bootp: New net_bootp6 command efinet: UEFI IPv6 PXE support grub.texi: Add net_bootp6 doument bootp: Add processing DHCPACK packet from HTTP Boot efinet: Setting network from UEFI device path efinet: Setting DNS server from UEFI protocol Vladimir Serbinenko (1): strtoull: Fix behaviour on chars between '9' and 'a'. Dropped Aaron Miller's patch and use this one since it is now in the grub/next branch. One thing to notice is that the test case is missing. It causes compiling to fail. We teporarily removed the test case from grub-core/Makefile.core.def in our testing. docs/grub.texi | 17 + grub-core/Makefile.core.def | 5 + grub-core/kern/misc.c | 13 +- grub-core/net/bootp.c | 975 +++++++++++++++++++++++++++++++++- grub-core/net/drivers/efi/efinet.c | 445 +++++++++++++++- grub-core/net/http.c | 21 +- grub-core/net/ip.c | 39 ++ grub-core/net/net.c | 91 +++- grub-core/net/tftp.c | 9 +- grub-core/tests/lib/functional_test.c | 13 +- include/grub/efi/api.h | 142 ++++- include/grub/net.h | 75 +++ 12 files changed, 1809 insertions(+), 36 deletions(-) -- 1.8.3.1