package
0.0.0-20200221232812-81b9770086ea
Repository: https://github.com/elastic/dhcp.git
Documentation: pkg.go.dev
# Functions
IsMessageType returns a matcher that checks for the message type.
New returns a new DHCPv6 client for the given network interface.
NewIPv6UDPConn returns a UDP connection bound to both the interface and port given based on a IPv6 DGRAM socket.
NewWithConn creates a new DHCP client that sends and receives packets on the given interface.
WithBroadcastAddr configures the address to broadcast to.
WithConn configures the packet connection to use.
WithDebugLogger logs multi-line full DHCPv6 messages when sent & received.
WithRetry configures the number of retransmissions to attempt.
WithSummaryLogger logs one-line DHCPv6 message summarys when sent & received.
WithTimeout configures the retransmission timeout.
# Variables
Broadcast destination IP addresses as defined by RFC 3315.
Broadcast destination IP addresses as defined by RFC 3315.
ErrNoResponse is returned when no response packet is received.