verify

package
v0.0.0-...-11e78ec Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Failed = iota
	Passed
	IsNack
)

Variables

This section is empty.

Functions

func VerifyOffer

func VerifyOffer(xid uint32) func(dhcpmsg.Message, dhcpmsg.DecodedOptions) State

VerifyOffer verifies that this message was an offer reply with YourIP and a ServerIdentifier.

func VerifyRebindingAck

func VerifyRebindingAck(lm dhcpmsg.Message, lopt dhcpmsg.DecodedOptions, xid uint32) func(dhcpmsg.Message, dhcpmsg.DecodedOptions) State

VerifyRebindingAck checks the ACK message of a DHCPREQUEST while rebinding.

func VerifyRenewingAck

func VerifyRenewingAck(lm dhcpmsg.Message, lopt dhcpmsg.DecodedOptions, xid uint32) func(dhcpmsg.Message, dhcpmsg.DecodedOptions) State

VerifyRenewingAck checks the ACK message of a DHCPREQUEST while renewing.

func VerifySelectingAck

func VerifySelectingAck(lm dhcpmsg.Message, lopt dhcpmsg.DecodedOptions, xid uint32) func(dhcpmsg.Message, dhcpmsg.DecodedOptions) State

VerifySelectingAck checks the ACK message sent to a selecting DHCPREQUEST.

Types

type State

type State int

Jump to

Keyboard shortcuts

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