public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: seanedmond@linux.microsoft.com
To: u-boot@lists.denx.de
Cc: joe.hershberger@ni.com, rfried.dev@gmail.com, sjg@chromium.org,
	v.v.mitrofanov@yadro.com, seanedmond@microsoft.com
Subject: [PATCH 0/2] net: DHCPv6 protocol and commands
Date: Wed,  1 Feb 2023 16:26:24 -0800	[thread overview]
Message-ID: <20230202002626.32335-1-seanedmond@linux.microsoft.com> (raw)

From: Sean Edmond <seanedmond@microsoft.com>

The recently integrated IPv6 patch series relies on the link-local address,
or a statically assigned IPv6 address for network operations.  This patch
series adds IPv6 address assignment through DHCPv6.

The implementation meets the requirements in RFC 8415 for "Client/Server
Exchanges Involving Four Messages":
https://www.rfc-editor.org/rfc/rfc8415

The implementation sends/receives the minimum required DHCPv6 options to 
network boot.

A new command (dhcp6) will execute the protocol.  In addition, IPv6
functionality has been extended to the existing pxe commands ("pxe get"
and "pxe boot").

Sean Edmond (2):
  net: dhcp6: Add DHCPv6 (DHCP for IPv6)
  net: dhcp6: pxe: Add DHCP/PXE commands for IPv6

 boot/bootmeth_distro.c |   2 +-
 boot/bootmeth_pxe.c    |   4 +-
 boot/pxe_utils.c       |   3 +-
 cmd/Kconfig            |  26 ++
 cmd/net.c              |  22 ++
 cmd/pxe.c              |  86 ++++-
 cmd/sysboot.c          |   2 +-
 include/net.h          |  10 +-
 include/net6.h         |   2 -
 include/pxe_utils.h    |  10 +-
 net/Makefile           |   1 +
 net/dhcpv6.c           | 741 +++++++++++++++++++++++++++++++++++++++++
 net/dhcpv6.h           | 212 ++++++++++++
 net/net.c              |  12 +
 14 files changed, 1113 insertions(+), 20 deletions(-)
 create mode 100644 net/dhcpv6.c
 create mode 100644 net/dhcpv6.h

-- 
2.39.0


             reply	other threads:[~2023-02-02  0:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-02  0:26 seanedmond [this message]
2023-02-02  0:26 ` [PATCH 1/2] net: dhcp6: Add DHCPv6 (DHCP for IPv6) seanedmond
2023-02-02 17:12   ` Simon Glass
2023-02-03 22:12     ` Tom Rini
2023-03-05 11:41   ` Vyacheslav V. Mitrofanov
2023-02-02  0:26 ` [PATCH 2/2] net: dhcp6: pxe: Add DHCP/PXE commands for IPv6 seanedmond
2023-03-05 11:44   ` Vyacheslav V. Mitrofanov
2023-03-05 11:39 ` [PATCH 0/2] net: DHCPv6 protocol and commands Vyacheslav V. Mitrofanov

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=20230202002626.32335-1-seanedmond@linux.microsoft.com \
    --to=seanedmond@linux.microsoft.com \
    --cc=joe.hershberger@ni.com \
    --cc=rfried.dev@gmail.com \
    --cc=seanedmond@microsoft.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=v.v.mitrofanov@yadro.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