Documentation
¶
Index ¶
- Constants
- func Broadcast(b bool) func(*client) error
- func Connection(conn connection) func(*client) error
- func HardwareAddr(h net.HardwareAddr) func(*client) error
- func IgnoreServers(s []net.IP) func(*client) error
- func New(options ...func(*client) error) (*client, error)
- func NewInetSock() (*inetSock, error)
- func NewPacketSock(ifindex int) (*packetSock, error)
- func Timeout(t time.Duration) func(*client) error
Constants ¶
View Source
const (
MaxDHCPLen = 576
)
Variables ¶
This section is empty.
Functions ¶
func Connection ¶
func Connection(conn connection) func(*client) error
func HardwareAddr ¶
func HardwareAddr(h net.HardwareAddr) func(*client) error
func IgnoreServers ¶
func NewInetSock ¶
func NewInetSock() (*inetSock, error)
func NewPacketSock ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.