dhcp4client

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2015 License: MIT, MPL-2.0 Imports: 8 Imported by: 0

README

dhcp4client GoDoc Coverage Status Codeship Status for d2g/dhcp4client

DHCP Client

Thanks to:

@eyakubovich For AF_PACKET support.

Documentation

Index

Constants

View Source
const (
	MaxDHCPLen = 576
)

Variables

This section is empty.

Functions

func Broadcast

func Broadcast(b bool) func(*client) error

func Connection

func Connection(conn connection) func(*client) error

func HardwareAddr

func HardwareAddr(h net.HardwareAddr) func(*client) error

func IgnoreServers

func IgnoreServers(s []net.IP) func(*client) error

func New

func New(options ...func(*client) error) (*client, error)

func NewInetSock

func NewInetSock() (*inetSock, error)

func NewPacketSock

func NewPacketSock(ifindex int) (*packetSock, error)

func Timeout

func Timeout(t time.Duration) func(*client) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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