csnet
Loading...
Searching...
No Matches
Data Fields
scion_path_metadata Struct Reference

The metadata of a SCION path. More...

#include <scion.h>

Collaboration diagram for scion_path_metadata:
Collaboration graph
[legend]

Data Fields

scion_iaases
 
size_t ases_len
 
struct scion_path_interfaceinterfaces
 
size_t interfaces_len
 
uint32_t mtu
 
int64_t expiry
 
struct timeval * latencies
 
uint64_t * bandwidths
 
struct scion_geo_coordinatesgeo
 
enum scion_link_typelink_types
 
uint32_t * internal_hops
 
char ** notes
 

Detailed Description

The metadata of a SCION path.

Field Documentation

◆ ases

scion_ia* scion_path_metadata::ases

All ASes on the path.

◆ interfaces

struct scion_path_interface* scion_path_metadata::interfaces

All interfaces on the path.

◆ mtu

uint32_t scion_path_metadata::mtu

Maximum transmission unit for the path, in bytes.

◆ expiry

int64_t scion_path_metadata::expiry

Expiration time of the path.

◆ latencies

struct timeval* scion_path_metadata::latencies

List of latencies between any two consecutive interfaces. Entry i describes the latency between interface i and i+1. Consequently, there are N-1 entries for N interfaces. SCION_PATH_METADATA_LATENCY_IS_UNSET can be used to check whether an entry is set or not.

◆ bandwidths

uint64_t* scion_path_metadata::bandwidths

List of bandwidths between any two consecutive interfaces, in Kbit/s. Entry i describes the bandwidth between interfaces i and i+1. A 0-value indicates that the AS did not announce a bandwidth for this hop. SCION_PATH_METADATA_BANDWIDTH_IS_UNSET can be used to check whether an entry is set or not.

◆ geo

struct scion_geo_coordinates* scion_path_metadata::geo

Geographical positions of the border routers along the path. Entry i describes the position of the router for interface i. A 0-value indicates that the AS did not announce a position for this router. SCION_PATH_METADATA_GEO_IS_UNSET can be used to check whether an entry is set or not.

◆ link_types

enum scion_link_type* scion_path_metadata::link_types

Link types of inter-domain links. Entry i describes the link between interfaces 2*i and 2*i+1.

◆ internal_hops

uint32_t* scion_path_metadata::internal_hops

Numbers of AS internal hops for the ASes on path. Entry i describes the hop between interfaces 2*i+1 and 2*i+2 in the same AS. Consequently, there are no entries for the first and last ASes, as these are not traversed completely by the path. SCION_PATH_METADATA_INTERNAL_HOPS_IS_UNSET can be used to check whether an entry is set or not.

◆ notes

char** scion_path_metadata::notes

Notes added by ASes on the path, in the order of occurrence. Entry i is the note of AS i on the path.


The documentation for this struct was generated from the following file: