On Thu, Feb 02, 2023 at 10:12:04AM -0700, Simon Glass wrote:
> Hi,
> 
> On Wed, 1 Feb 2023 at 17:26, <seanedm...@linux.microsoft.com> wrote:
> >
> > From: Sean Edmond <seanedm...@microsoft.com>
> >
> > Adds DHCPv6 protocol to u-boot.
> >
> > Allows for address assignement with DHCPv6 4-message exchange
> > (SOLICIT->ADVERTISE->REQUEST->REPLY).  Includes DHCPv6 options
> > required by RFC 8415.  Also adds DHCPv6 options required
> > for PXE boot.
> >
> > New configs added:
> > - CMD_DHCP6
> > - DHCP6_PXE_CLIENTARCH
> > - DHCP6_PXE_DHCP_OPTION
> > - DHCP6_ENTERPRISE_ID
> >
> > Possible enhancements:
> > - Duplicate address detection on DHCPv6 assigned address
> > - IPv6 address assignement through SLAAC
> > - Sending/parsing other DHCPv6 options (NTP, DNS, etc...)
> >
> > Signed-off-by: Sean Edmond <seanedm...@microsoft.com>
> > ---
> >  cmd/Kconfig   |  26 ++
> >  include/net.h |   8 +-
> >  net/Makefile  |   1 +
> >  net/dhcpv6.c  | 741 ++++++++++++++++++++++++++++++++++++++++++++++++++
> >  net/dhcpv6.h  | 212 +++++++++++++++
> >  net/net.c     |  12 +
> >  6 files changed, 998 insertions(+), 2 deletions(-)
> >  create mode 100644 net/dhcpv6.c
> >  create mode 100644 net/dhcpv6.h
> 
> Can you write a sandbox test for this? See test/dm/eth.c

This should be like our existing dhcp test I think, under
test/py/tests/test_net.py

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to