![]() |
Contiki-NG
|
Header file for rpl-neighbor module. More...
#include "net/routing/rpl-lite/rpl.h"#include "lib/list.h"#include "net/ipv6/uip.h"#include "net/ipv6/uip-ds6.h"#include "sys/ctimer.h"Go to the source code of this file.
Functions | |
| void | rpl_neighbor_init (void) |
| Initialize rpl-dag-neighbor module. | |
| int | rpl_neighbor_is_parent (rpl_nbr_t *nbr) |
| Tells whether a neighbor is in the parent set. | |
| void | rpl_neighbor_set_preferred_parent (rpl_nbr_t *nbr) |
| Set current RPL preferred parent and update DS6 default route accordingly. | |
| int | rpl_neighbor_is_fresh (rpl_nbr_t *nbr) |
| Tells wether we have fresh link information towards a given neighbor. | |
| int | rpl_neighbor_is_acceptable_parent (rpl_nbr_t *nbr) |
| Tells whether a nbr is acceptable as per the OF's definition. | |
| uint16_t | rpl_neighbor_get_link_metric (rpl_nbr_t *nbr) |
| Returns a neighbor's link metric. | |
| rpl_rank_t | rpl_neighbor_rank_via_nbr (rpl_nbr_t *nbr) |
| Returns our rank if selecting a given parent as preferred parent. | |
| const linkaddr_t * | rpl_neighbor_get_lladdr (rpl_nbr_t *nbr) |
| Returns a neighbors's link-layer address. | |
| const struct link_stats * | rpl_neighbor_get_link_stats (rpl_nbr_t *nbr) |
| Returns a neighbor's link statistics. | |
| uip_ipaddr_t * | rpl_neighbor_get_ipaddr (rpl_nbr_t *nbr) |
| Returns a neighbor's (link-local) IPv6 address. | |
| rpl_nbr_t * | rpl_neighbor_get_from_lladdr (uip_lladdr_t *addr) |
| Returns a neighbor from its link-layer address. | |
| rpl_nbr_t * | rpl_neighbor_get_from_ipaddr (uip_ipaddr_t *addr) |
| Returns a neighbor from its link-local IPv6 address. | |
| int | rpl_neighbor_count (void) |
| Returns the number of nodes in the RPL neighbor table. | |
| void | rpl_neighbor_print_list (const char *str) |
| Prints a summary of all RPL neighbors and their properties. | |
| void | rpl_neighbor_remove_all (void) |
| Empty the RPL neighbor table. | |
| rpl_nbr_t * | rpl_neighbor_select_best (void) |
| Returns the best candidate for preferred parent. | |
| int | rpl_neighbor_snprint (char *buf, int buflen, rpl_nbr_t *nbr) |
| Print a textual description of RPL neighbor into a string. | |
Header file for rpl-neighbor module.
Definition in file rpl-neighbor.h.