dhcp

package
v0.0.0-...-285887d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotResponding = errors.New("DHCP not responding")
	ErrNotFound      = errors.New("DNS option not found")
)

Functions

func ListenDHCPClient

func ListenDHCPClient(ctx context.Context, ifaceName string) (net.PacketConn, error)

func ResolveDNSFromDHCP

func ResolveDNSFromDHCP(context context.Context, ifaceName string) ([]net.IP, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL