Microchip® Advanced Software Framework

collect-neighbor.h File Reference

    Header file for the Contiki radio neighborhood management
Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se

Data Structures

struct  collect_neighbor
 
struct  collect_neighbor_list
 

Functions

void collect_neighbor_init (void)
 
int collect_neighbor_is_congested (struct collect_neighbor *n)
 
uint16_t collect_neighbor_link_estimate (struct collect_neighbor *n)
 
list_t collect_neighbor_list (struct collect_neighbor_list *neighbor_list)
 
int collect_neighbor_list_add (struct collect_neighbor_list *neighbor_list, const linkaddr_t *addr, uint16_t rtmetric)
 
struct collect_neighborcollect_neighbor_list_best (struct collect_neighbor_list *neighbor_list)
 
struct collect_neighborcollect_neighbor_list_find (struct collect_neighbor_list *neighbor_list, const linkaddr_t *addr)
 
struct collect_neighborcollect_neighbor_list_get (struct collect_neighbor_list *neighbor_list, int num)
 
void collect_neighbor_list_new (struct collect_neighbor_list *neighbor_list)
 
int collect_neighbor_list_num (struct collect_neighbor_list *neighbor_list)
 
void collect_neighbor_list_purge (struct collect_neighbor_list *neighbor_list)
 
void collect_neighbor_list_remove (struct collect_neighbor_list *neighbor_list, const linkaddr_t *addr)
 
uint16_t collect_neighbor_rtmetric (struct collect_neighbor *n)
 
uint16_t collect_neighbor_rtmetric_link_estimate (struct collect_neighbor *n)
 
void collect_neighbor_rx (struct collect_neighbor *n)
 
void collect_neighbor_set_congested (struct collect_neighbor *n)
 
void collect_neighbor_tx (struct collect_neighbor *n, uint16_t num_tx)
 
void collect_neighbor_tx_fail (struct collect_neighbor *n, uint16_t num_tx)
 
void collect_neighbor_update_rtmetric (struct collect_neighbor *n, uint16_t rtmetric)