# Functions
AddrFromString converts an address string of format isd-as,[ipaddr]:port (e.g., 1-ff00:0:300,[192.168.1.1]:80) to a SCION address.
DialSCION calls DialSCION with infinite timeout on the default networking context.
DialSCIONWithBindSVC calls DialSCIONWithBindSVC with infinite timeout on the default networking context.
IA returns the default ISD-AS.
Init initializes the default SCION networking context.
InitWithNetwork initializes snet with the provided SCION networking context.
ListenSCION calls ListenSCION with infinite timeout on the default networking context.
ListenSCIONWithBindSVC calls ListenSCIONWithBindSVC with infinite timeout on the default networking context.
NewCustomNetwork is similar to NewNetwork, except it gives control over the packet processing socket in the snet backend.
NewCustomNetworkWithPR is similar to NewNetworkWithPR, while giving control over packet processing via pktDispatcher.
NewNetwork creates a new networking context, on which future Dial or Listen calls can be made.
NewNetworkWithPR creates a new networking context with path resolver pr.
NewSCIONPacketConn creates a new conn with packet serialization/decoding support that transfers data over conn.
NewSCMPHandler creates a default SCMP handler that forwards revocations to the revocation handler.
PathReplyEntryFromPath extracts PathReplyEntry.
StableSortExtensions sorts the extensions in data in place.
# Constants
BufSize is the receive and send buffer sizes.
No description provided by the author
Possible write errors.
Possible write errors.
Possible write errors.
Possible write errors.
Possible write errors.
Possible write errors.
Possible write errors.
Possible write errors.
# Variables
DefNetwork is the default SCION networking context for package-level Dial and Listen.
# Structs
No description provided by the author
BaseRouter is a path router implementation that uses a path resolver to query SCIOND for paths, or returns empty paths if a path resolver is not specified.
DefaultPacketDispatcherService parses/serializes packets received from / sent to the dispatcher.
LocalMachine describes aspects of the host system and its network.
No description provided by the author
SCIONAddress is the fully-specified address of a host.
No description provided by the author
SCIONNetwork is the SCION networking context, containing local ISD-AS, SCIOND, Dispatcher and Path resolver.
No description provided by the author
SCIONPacketConn gives applications full control over the content of valid SCION packets.
SCIONPacketInfo contains the data needed to construct a SCION packet.
No description provided by the author
# Interfaces
Conn represents a SCION connection.
No description provided by the author
No description provided by the author
PacketConn gives applications easy access to writing and reading custom SCION packets.
PacketDispatcherService constructs SCION sockets where applications have fine-grained control over header fields.
Path is an abstract representation of a path.
RevocationHandler is called by the default SCMP Handler whenever revocations are encountered.
Router performs path resolution for SCION-speaking applications.
SCMPHandler customizes the way snet connections deal with SCMP.
# Type aliases
Bytes contains the raw slices of data related to a packet.