dhcp

package
v0.0.0-...-f48b563 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2018 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start()

Start is used by cobra to launch programm

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

Handler is struct containing server information

func (*Handler) ServeDHCP

func (h *Handler) ServeDHCP(p dhcp4.Packet, msgType dhcp4.MessageType, options dhcp4.Options) (d dhcp4.Packet)

ServeDHCP is a state machine for dhcp response

Jump to

Keyboard shortcuts

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