Microchip® Advanced Software Framework

route.h File Reference

    Header file for the Rime route table
Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se
#include "net/linkaddr.h"

Data Structures

struct  route_entry
 

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_entryroute_get (int num)
 
void route_init (void)
 
struct route_entryroute_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)