Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VendorSubOption ¶
VendorSubOption a data structure that defines a DHCP type 43 vendor sub option
func (*VendorSubOption) ByteString ¶
func (vo *VendorSubOption) ByteString(delim string) string
ByteString returns a string representation of base 10 bytes delim the deliminator between bytes
func (*VendorSubOption) Bytes ¶
func (vo *VendorSubOption) Bytes() []byte
Bytes returns the structure as []byte
func (*VendorSubOption) Hex ¶
func (vo *VendorSubOption) Hex(hex bool, delim string) string
Hex returns a hex-encoded string hex bool returns hex encoded with 0x delim the deliminator between hex bytes
func (*VendorSubOption) SetOption ¶
func (vo *VendorSubOption) SetOption(code uint8, data []byte)
SetOption sets the option, data, and length of the VendorSubOption
func (*VendorSubOption) String ¶
func (vo *VendorSubOption) String() string
String returns the string representation of the VendorSubOption
Click to show internal directories.
Click to hide internal directories.