package
4.0.0+incompatible
Repository: https://github.com/fhs/u-root.git
Documentation: pkg.go.dev

# Functions

New returns a new DHCPv6 client based on the given parameters.
NewPacket creates a new DHCPv6 packet using the given message type and options.
NewRapidSolicit returns a Solicit packet with the RapidCommit option.
NewSolicitPacket returns a Solicit packet.
RequestIANAFrom returns a Request packet to request an IANA from the server that sent the given `ad` Advertisement.
SuitableReply validates whether a pkt is a valid Reply message as defined by RFC 3315, Section 18.1.8.
WithRetry configures the retransmission counts.
WithTimeout configures the retransmission timeout.

# Constants

ClientPort is the port clients use to listen for DHCP messages.
ServerPort is the port servers and relay agents use to listen for DHCP messages.

# Variables

AllServers is all DHCP servers and relay agents on the local network segment (RFC 3315, Section 5.1.).
DefaultServers is the default AllServers IP combined with the ServerPort.

# Structs

Client is a simple DHCPv6 client implementing RFC 3315.
ClientError is an error that occurred on the associated interface.
ClientPacket is a DHCP packet and the interface it corresponds to.

# Type aliases

ClientOpt is a function that configures the client.