The core of the routing system, the routing table lists a route's destinations. More...
Public Attributes | |
int | id |
int | type_id |
The type-id associated with the destinations in this table. More... | |
pthread_rwlock_t | rwlock |
Protects access to the destinations so they cannot be changed while they are being read. More... | |
int | n_endpoints |
The number of destinations this route contains. More... | |
uint32_t | keys [128] |
The keys associated with each of the destinations. More... | |
struct msu_endpoint | endpoints [128] |
The destinations themselves. More... | |
The core of the routing system, the routing table lists a route's destinations.
The routing_table is kept private so the rwlock can be enfoced. All destinations in a routing table must have the same type_id.
struct msu_endpoint routing_table::endpoints[128] |
uint32_t routing_table::keys[128] |
int routing_table::n_endpoints |
pthread_rwlock_t routing_table::rwlock |
int routing_table::type_id |