Skip to main content

Crate scion_proto

Crate scion_proto 

Source
Expand description

Protocol-level types for an endhost in the SCION Internet architecture

SCION is an Internet architecture that provides path-aware, end-to-end communication, with failure isolation and explicit trust information. Within the SCION network, autonomous systems (ASes), in which endhosts reside, are organized into independent routing groups called isolation domains (ISDs).

This crate provides Rust implementations of the core types used by endhosts within the SCION network:

  • addresses which identify ISDs, ASes, and endhosts;
  • paths which allow a user to choose the route taken by their packets through the network and provide information about those routes;
  • SCION packet and UDP datagram implementations for encoding packets on the wire;
  • control messages for sending informational and error control messages to endhosts and routers in the network; and
  • parsing logic for the endhost-to-SCION-dispatcher communication.
  • control plane for implementing the SCION control plane.

This crate does not perform any I/O. See the scion crate for (asynchronous) socket implementations that use these types.

Modulesยง

address
SCION addresses for ISDs, ASes, hosts, and sockets.
control_plane
Module for the SCION control plane.
datagram
Representation, encoding, and decoding of UDP datagrams.
packet
Representation of SCION packet and constituent types.
path
SCION path types.
reliable
Protocol including message formats to communicate with the SCION dispatcher.
scmp
Types and conversion for the SCION Control Message Protocol.
test
Test utilities.
wire_encoding
Traits and tools to decode and encode objects.