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 ¶ added in v0.7.0
type EPIC struct { AuthPHVF []byte AuthLHVF []byte SCION []byte // contains filtered or unexported fields }
func NewEPICDataplanePath ¶ added in v0.7.0
type OneHop ¶ added in v0.7.0
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 ¶ added in v0.7.0
func (p Path) Dataplane() snet.DataplanePath
func (Path) Destination ¶
func (Path) Metadata ¶
func (p Path) Metadata() *snet.PathMetadata
func (Path) UnderlayNextHop ¶
type SCION ¶ added in v0.7.0
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 ¶ added in v0.7.0
NewSCIONFromDecoded serializes the decoded SCION path into a dataplane path.
Click to show internal directories.
Click to hide internal directories.