types

package
v0.0.3-pre4.0...-0ec3cfc Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AreaID

type AreaID []byte

AreaID is an ISIS Area ID

type MACAddress

type MACAddress [6]byte

MACAddress is an Ethernet MAC address

type SourceID

type SourceID struct {
	SystemID  SystemID
	CircuitID uint8
}

SourceID is a source ID

func NewSourceID

func NewSourceID(sysID SystemID, circuitID uint8) SourceID

NewSourceID creates a new SourceID

func (*SourceID) Serialize

func (srcID *SourceID) Serialize() []byte

Serialize serializes a source ID

type SystemID

type SystemID [6]byte

SystemID is an ISIS System ID

func (*SystemID) String

func (sysID *SystemID) String() string

Jump to

Keyboard shortcuts

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