package
0.0.0-20241104101831-1454e04fdb07
Repository: https://github.com/kairos-io/netboot.git
Documentation: pkg.go.dev
# Functions
NewConn creates a Conn bound to the given UDP ip:port.
NewSnooperConn creates a Conn that listens on the given UDP ip:port.
Unmarshal parses a DHCP message and returns a Packet.
# Constants
Message types as described in RFC 2131.
Message types as described in RFC 2131.
Message types as described in RFC 2131.
Message types as described in RFC 2131.
Message types as described in RFC 2131.
Message types as described in RFC 2131.
Message types as described in RFC 2131.
Message types as described in RFC 2131.
string.
uint16.
IP.
string.
Some of the more commonly seen DHCP options.
byte.
IPs.
string.
string.
string.
uint16.
uint32.
uint16.
string.
IP.
byte.
uint32.
uint32.
IP.
[]byte.
IPs.
IP.
IPMask.
string.
int32.
.
string.
[]byte.
# Type aliases
MessageType is the type of a DHCP message.
Option is a DHCP option.
Options stores DHCP options.