Documentation ¶
Overview ¶
Package common contains common Machine Database functions.
Package common contains common Machine Database functions.
Index ¶
Constants ¶
View Source
const MaxMAC48 = MAC48(1<<48 - 1)
MaxMAC48 is the largest possible MAC-48 address.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPv4 ¶
type IPv4 uint32
IPv4 represents an IPv4 address.
type MAC48 ¶
type MAC48 uint64
MAC48 represents a MAC-48 address.
func ParseMAC48 ¶
ParseMAC48 returns a MAC-48 address from the given string.
Click to show internal directories.
Click to hide internal directories.