Documentation ¶
Index ¶
Constants ¶
View Source
const ( CmnHdrLen = 8 // Bytes SCIONVersion = 0 )
Variables ¶
View Source
var ErrUnsupportedVersion = serrors.New("unsupported SCION version")
ErrUnsupportedVersion indicates an unsupported SCION version.
Functions ¶
Types ¶
type CmnHdr ¶
type CmnHdr struct { Ver uint8 DstType addr.HostAddrType SrcType addr.HostAddrType TotalLen uint16 HdrLen uint8 CurrInfoF uint8 CurrHopF uint8 NextHdr common.L4ProtocolType }
func CmnHdrFromRaw ¶
func (*CmnHdr) HdrLenBytes ¶
func (*CmnHdr) HopFOffBytes ¶
func (*CmnHdr) InfoFOffBytes ¶
func (*CmnHdr) UpdatePathOffsets ¶
type ScnPkt ¶
type ScnPkt struct { DstIA addr.IA SrcIA addr.IA DstHost addr.HostAddr SrcHost addr.HostAddr Path *spath.Path HBHExt []common.Extension E2EExt []common.Extension L4 l4.L4Header Pld common.Payload }
SCION Packet structure.
Click to show internal directories.
Click to hide internal directories.