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

# Functions

Configure4 adds IP addresses, routes, and DNS servers to the system.
Configure6 adds IPv6 addresses, routes, and DNS servers to the system.
IfUp ensures the given network interface is up and returns the link object.
Interfaces takes an RE and returns a []netlink.Link that matches it, or an error.
NewPacket4 wraps a DHCPv4 packet with some convenience methods.
NewPacket6 wraps a DHCPv6 packet with some convenience methods.
SendRequests coordinates soliciting DHCP configuration on all ifs.
WriteDNSSettings writes the given nameservers, search list, and domain to resolv.conf.

# Constants

LogLevel are the levels.
LogLevel are the levels.
LogLevel are the levels.

# Variables

ErrNoBootFile represents that no pxe boot file was found.
ErrNoServerHostName represents that no pxe boot server was found.

# Structs

Config is a DHCP client configuration.
Packet4 implements convenience functions for DHCPv4 packets.
Packet6 implements Packet for IPv6 DHCP.
Result is the result of a particular DHCP attempt.

# Interfaces

Lease is a network configuration obtained by DHCP.

# Type aliases

LogLevel is the amount of information to log.