Documentation ¶
Index ¶
Constants ¶
View Source
const PathLen = path.InfoLen + 2*path.HopLen
PathLen is the length of a serialized one hop path in bytes.
View Source
const PathType path.Type = 2
Variables ¶
This section is empty.
Functions ¶
func RegisterPath ¶
func RegisterPath()
Types ¶
type Path ¶
Path encodes a one hop path. A one hop path is a special path that is created by a SCION router in the first AS and completed by a SCION router in the second AS. It is used during beaconing when there is not yet any other path segment available.
func (*Path) DecodeFromBytes ¶
func (*Path) SerializeTo ¶
func (*Path) ToSCIONDecoded ¶
ToSCIONDecoded converts the one hop path in to a normal SCION path in the decoded format.
Click to show internal directories.
Click to hide internal directories.