From: Andrei Borzenkov <arvidjaar@gmail.com>
To: Michael Chang <mchang@suse.com>
Cc: grub-devel@gnu.org
Subject: Re: [PATCH v1] Support DHCPv6 and UEFI IPv6 PXE
Date: Fri, 15 May 2015 09:40:26 +0300 [thread overview]
Message-ID: <20150515094026.22c4e669@opensuse.site> (raw)
In-Reply-To: <1431420590-7245-1-git-send-email-mchang@suse.com>
В Tue, 12 May 2015 16:49:47 +0800
Michael Chang <mchang@suse.com> пишет:
> This patch set tries to make support of configuring IPv6 network interface
> through the DHCPv6 protocol. A new command, net_bootp6, is therefore introduced
> to serve the purpose. You can think it as DHCPv6/IPv6 version of the existing
> net_bootp command.
>
Note that spec actually suggests (requires?) that DHCPv6 transaction is
triggered by receiving Router Advertisement with M/O bits set.
> In addition to that, the UEFI IPv6 PXE support can be easily done by sharing
> the same routine with net_bootp6 to parse DHCPv6 Reply packet cached in the
> firmware.
>
Looking in EFI spec I do not see it explaining what content this
dhcp_ack packet has for IPv6. I mean, DHCPv6 has neither Discover not
Acknowledge, and full DHCPv6 transaction requires *two* packets - one
for getting address and one for getting other options (DNS/boot
server). Let's see how it works in real world :)
> changes in v1:
> - Added upper boundary check in find_dhcpv6_option
> - Fix memory leak and freeing NULL pointer
> - Improved error message logging to not get lost
> - Use grub_cpu_to_be16_compile_time for endianess conversion when appropriate
> - Removed grub_dhcpv6_dns_servers structure and use 16 bytes blocks
> - Avoud magic numbers and use more descriptive sizeof when populating netbuff
> - Move include/grub/efi/api.h to UEFI IPv6 PXE support patch
> - Document the net_bootp6 command
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
next prev parent reply other threads:[~2015-05-15 6:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-12 8:49 [PATCH v1] Support DHCPv6 and UEFI IPv6 PXE Michael Chang
2015-05-12 8:49 ` [PATCH 1/3] Added net_bootp6 command Michael Chang
2015-05-15 6:26 ` Andrei Borzenkov
2015-05-15 13:57 ` Michael Chang
2015-05-16 5:42 ` Andrei Borzenkov
2015-05-19 8:42 ` Michael Chang
2015-05-30 7:25 ` Andrei Borzenkov
2015-05-12 8:49 ` [PATCH 2/3] UEFI IPv6 PXE support Michael Chang
2015-05-12 8:49 ` [PATCH 3/3] Update document for net_bootp6 command Michael Chang
2015-05-15 6:40 ` Andrei Borzenkov [this message]
2015-05-15 14:15 ` [PATCH v1] Support DHCPv6 and UEFI IPv6 PXE Michael Chang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150515094026.22c4e669@opensuse.site \
--to=arvidjaar@gmail.com \
--cc=grub-devel@gnu.org \
--cc=mchang@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).