The route module handles the route table in Rime.
Data Structures | |
struct | route_entry |
Files | |
file | route.h |
Header file for the Rime route table | |
Functions | |
int | route_add (const linkaddr_t *dest, const linkaddr_t *nexthop, uint8_t cost, uint8_t seqno) |
void | route_decay (struct route_entry *e) |
void | route_flush_all (void) |
struct route_entry * | route_get (int num) |
void | route_init (void) |
struct route_entry * | route_lookup (const linkaddr_t *dest) |
int | route_num (void) |
void | route_refresh (struct route_entry *e) |
void | route_remove (struct route_entry *e) |
void | route_set_lifetime (int seconds) |
int route_add | ( | const linkaddr_t * | dest, |
const linkaddr_t * | nexthop, | ||
uint8_t | cost, | ||
uint8_t | seqno | ||
) |
Referenced by recv_data().
void route_decay | ( | struct route_entry * | e | ) |
Referenced by new_route(), and uip_over_mesh_send().
void route_flush_all | ( | void | ) |
struct route_entry* route_get | ( | int | num | ) |
void route_init | ( | void | ) |
Referenced by uip_over_mesh_init().
struct route_entry* route_lookup | ( | const linkaddr_t * | dest | ) |
Referenced by new_route(), recv_data(), and uip_over_mesh_send().
int route_num | ( | void | ) |
void route_refresh | ( | struct route_entry * | e | ) |
Referenced by recv_data().
void route_remove | ( | struct route_entry * | e | ) |
void route_set_lifetime | ( | int | seconds | ) |
Referenced by uip_over_mesh_init().