Documentation
¶
Overview ¶
Package hpkt (Host Packet) contains low level primitives for parsing and creating end-host SCION messages.
Currently supports SCION/UDP and SCION/SCMP packets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseScnPkt ¶
ParseScnPkt populates the SCION fields in s with information from b
func ValidateExtensions ¶ added in v0.4.0
ValidateExtensions checks that the sequence of extension in argument extns conforms to the SCION protocol specification.
The function returns the sequence of HBH exntensions and the sequence of E2E extensions. If an error occurred, both slices are nil, and error is non-nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.