Documentation ¶
Overview ¶
Package ethernet_types contains generated bindings for API file ethernet_types.api.
Contents:
1 alias
Index ¶
Constants ¶
View Source
const ( APIFile = "ethernet_types" APIVersion = "1.0.0" VersionCrc = 0xf24103d6 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MacAddress ¶
type MacAddress [6]uint8
MacAddress defines alias 'mac_address'.
func ParseMacAddress ¶
func ParseMacAddress(s string) (MacAddress, error)
func (*MacAddress) MarshalText ¶
func (x *MacAddress) MarshalText() ([]byte, error)
func (MacAddress) String ¶
func (x MacAddress) String() string
func (MacAddress) ToMAC ¶
func (x MacAddress) ToMAC() net.HardwareAddr
func (*MacAddress) UnmarshalText ¶
func (x *MacAddress) UnmarshalText(text []byte) error
Click to show internal directories.
Click to hide internal directories.