ethernet_types

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL