Documentation
¶
Overview ¶
Package underlay holds the facts of the UDP/IP network beneath SCION that the data plane shares with the node's sockets: the end-host port, the largest datagram, the underlay types, and the resolution of underlay addresses. A shared library: no loops of its own, no policy.
Index ¶
Constants ¶
const ( UDPIPv4Name = "UDP/IPv4" UDPIPv6Name = "UDP/IPv6" UDPIPv46Name = "UDP/IPv4+6" )
const BufferSize = 9000
BufferSize is the largest datagram the underlay carries, a jumbo frame: the data plane's packet buffers and the SCION sockets' reads are this size.
const ( // EndhostPort is the underlay port that SCION binds to on non-routers. Subject to // change during standardisation. EndhostPort = 30041 )
Variables ¶
This section is empty.
Functions ¶
func ResolveAddrPort ¶
ResolveAddrPort resolves a "host:port" address whose host names an address. IPv4 addresses in the v4-mapped IPv6 form are normalized to plain IPv4.
func ResolveAddrPortDefault ¶ added in v0.0.2
ResolveAddrPortDefault resolves an address as ResolveAddrPort does, a form without a port naming the given default port instead.
Types ¶
type Type ¶
type Type int