Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Collect neighbor management

The neighbor module manages the neighbor table that is used by the Collect module.

Data Structures

struct  collect_neighbor
 
struct  collect_neighbor_list
 

Files

file  collect-neighbor.h
 
    Header file for the Contiki radio neighborhood management

 

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)
 

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_neighbor* collect_neighbor_list_best ( struct collect_neighbor_list neighbor_list)
struct collect_neighbor* collect_neighbor_list_find ( struct collect_neighbor_list neighbor_list,
const linkaddr_t addr 
)
struct collect_neighbor* collect_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 
)