package
0.0.0-20200221232812-81b9770086ea
Repository: https://github.com/elastic/dhcp.git
Documentation: pkg.go.dev
# Functions
ConfigureInterface configures a network interface with the configuration held by a NetConf structure.
ConversationToNetconf extracts network configuration and boot file URL from a DHCPv6 4-way conversation and returns them, or an error if any.
ConversationToNetconfv4 extracts network configuration and boot file URL from a DHCPv4 4-way conversation and returns them, or an error if any.
GetNetConfFromPacketv4 extracts network configuration information from a DHCPv4 Reply packet and returns a populated NetConf structure.
GetNetConfFromPacketv6 extracts network configuration information from a DHCPv6 Reply packet and returns a populated NetConf structure.
IfUp brings up an interface by name, and waits for it to come up until a timeout expires.
RequestNetbootv4 sends a netboot request via DHCPv4 and returns the exchanged packets.
RequestNetbootv6 sends a netboot request via DHCPv6 and returns the exchanged packets.