types

package
v0.6.18 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TagNameSubnetMask = "subnet_mask"
	TagNameRouter     = "router"
	TagNameTimeServer = "time_server"
	TagNameNameServer = "name_server"
	TagNameDomainName = "domain_name"
	TagNameBootfile   = "bootfile"
	TagNameTFTPserver = "tftp_server"
)
View Source
const (
	KeyRole   = "dhcp"
	KeyLeases = "leases"
	KeyScopes = "scopes"
)
View Source
const (
	EventTopicDHCPCreateLease = "roles.dhcp.lease.create"
)
View Source
const (
	EventTopicDHCPLeasePut = "roles.dhcp.lease.put"
)

Variables

https://datatracker.ietf.org/doc/html/rfc2131 https://datatracker.ietf.org/doc/html/rfc2132

Functions

func OptionValue

func OptionValue(input string) *string

Types

type DHCPOption added in v0.3.3

type DHCPOption struct {
	Tag      *uint8   `json:"tag"`
	TagName  string   `json:"tagName"`
	Value    *string  `json:"value"`
	Value64  []string `json:"value64"`
	ValueHex []string `json:"valueHex"`
}

type OptionTagName

type OptionTagName string

Jump to

Keyboard shortcuts

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