ifid

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package ifid contains the Go representation of an IFID keepalive packet.

IFID keepalive messages are sent from the beacon server on all links to the neighboring ASes using a one-hop path. The keepalive contains origin IFID which specifies the interface it was sent on. This allows beacon servers to discover the remote IFIDs of links, a crucial information for the beaconing process.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IFID

type IFID struct {
	// OrigiIfid is the egress interface a keepalive was sent on.
	OrigIfID common.IFIDType `capnp:"origIF"`
}

IFID is the ifid keepalive message.

func NewFromRaw

func NewFromRaw(b common.RawBytes) (*IFID, error)

func (*IFID) ProtoId

func (i *IFID) ProtoId() proto.ProtoIdType

func (*IFID) String

func (i *IFID) String() string

func (*IFID) Write

func (i *IFID) Write(b common.RawBytes) (int, error)

Jump to

Keyboard shortcuts

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