hpkt

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

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

func ParseScnPkt(s *spkt.ScnPkt, b common.RawBytes) error

ParseScnPkt populates the SCION fields in s with information from b

func WriteScnPkt

func WriteScnPkt(s *spkt.ScnPkt, b common.RawBytes) (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL