Documentation ¶
Overview ¶
Package path implements snet.Path with full metadata This is used by libraries that provide paths for applications to use, such as the path combinator and the SCION Daemon API. Applications using snet will not usually make use of this package directly.
TODO(matzf): perhaps moving empty path and partial path here too could be a nice cleanup.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EPIC ¶
type OneHop ¶
type Path ¶
type Path struct { Src addr.IA Dst addr.IA DataplanePath snet.DataplanePath NextHop *net.UDPAddr Meta snet.PathMetadata }
Path is an snet.Path with full metadata
func (Path) Dataplane ¶
func (p Path) Dataplane() snet.DataplanePath
func (Path) Destination ¶
func (Path) Metadata ¶
func (p Path) Metadata() *snet.PathMetadata
func (Path) UnderlayNextHop ¶
type SCION ¶
type SCION struct { // Raw is the raw representation of this path. This data should not be // modified because it is potentially shared. Raw []byte }
func NewSCIONFromDecoded ¶
NewSCIONFromDecoded serializes the decoded SCION path into a dataplane path.
Click to show internal directories.
Click to hide internal directories.