Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VendorData ¶
type VendorData struct {
VendorName, Model, Serial string
}
VendorData is optional data a particular vendor may or may not include in the Vendor Class options.
func ParseVendorData ¶
func ParseVendorData(packet *dhcpv4.DHCPv4) (*VendorData, error)
ParseVendorData will try to parse dhcp4 options looking for more specific vendor data (like model, serial number, etc).
Click to show internal directories.
Click to hide internal directories.