Documentation ¶
Index ¶
Constants ¶
View Source
const ChecksumLength = 5
View Source
const MaxLengthLinuxNetworkDeviceName = 15
Variables ¶
This section is empty.
Functions ¶
func GenerateHardwareAddress ¶
func GenerateHardwareAddress(id string) net.HardwareAddr
func IsConflicting ¶
func StructLinuxNetdevName ¶
TrimNetdevName trim network device name because Linux network device can use 15 characters. コンフリクトを抑制するために末尾 4 bytes を乱数にする
Types ¶
type IPv4Cidr ¶
type IPv4Cidr struct {
// contains filtered or unexported fields
}
func (IPv4Cidr) SubnetMaskBits ¶
func (IPv4Cidr) SubnetMaskIP ¶
Click to show internal directories.
Click to hide internal directories.