[PATCH 0/2] net: DHCPv6 protocol and commands

seanedmond at linux.microsoft.com seanedmond at linux.microsoft.com
Thu Feb 2 01:26:24 CET 2023


From: Sean Edmond <seanedmond at 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



More information about the U-Boot mailing list