Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fingerprint ¶
Fingerprint creates a unique string representation of a segment based on its hop sequence. It is faster than snet.Fingerprint and truly unique.
Types ¶
type InterfacePath ¶
type InterfacePath struct { // Interfaces is the sequence of ingress-egress interfaces on the path. Interfaces []snet.PathInterface }
InterfacePath is a partial implementation of the snet.Path interface as a work-around for situations where snet.Path is officially required by external code but only the path interfaces are actually needed and accessed behind the scenes.
func (InterfacePath) Copy ¶
func (_ InterfacePath) Copy() snet.Path
func (InterfacePath) Destination ¶
func (_ InterfacePath) Destination() addr.IA
func (InterfacePath) Metadata ¶
func (ip InterfacePath) Metadata() *snet.PathMetadata
func (InterfacePath) Path ¶
func (_ InterfacePath) Path() spath.Path
func (InterfacePath) UnderlayNextHop ¶
func (_ InterfacePath) UnderlayNextHop() *net.UDPAddr
Click to show internal directories.
Click to hide internal directories.