csnet
|
The metadata of a SCION path. More...
#include <scion.h>
Data Fields | |
scion_ia * | ases |
size_t | ases_len |
struct scion_path_interface * | interfaces |
size_t | interfaces_len |
uint32_t | mtu |
int64_t | expiry |
struct timeval * | latencies |
uint64_t * | bandwidths |
struct scion_geo_coordinates * | geo |
enum scion_link_type * | link_types |
uint32_t * | internal_hops |
char ** | notes |
The metadata of a SCION path.
scion_ia* scion_path_metadata::ases |
All ASes on the path.
struct scion_path_interface* scion_path_metadata::interfaces |
All interfaces on the path.
uint32_t scion_path_metadata::mtu |
Maximum transmission unit for the path, in bytes.
int64_t scion_path_metadata::expiry |
Expiration time of the path.
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.
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.
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.
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.
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.
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.