![]() |
Contiki-NG
|
Source routing support. More...
#include "contiki.h"#include "net/ipv6/uip-sr.h"#include "net/ipv6/uiplib.h"#include "net/routing/routing.h"#include "lib/list.h"#include "lib/memb.h"#include "sys/log.h"Go to the source code of this file.
Functions | |
| int | uip_sr_num_nodes (void) |
| Tells how many nodes are currently stored in the graph. | |
| uip_sr_node_t * | uip_sr_get_node (const void *graph, const uip_ipaddr_t *addr) |
| Looks up for a source routing node from its IPv6 global address. | |
| int | uip_sr_is_addr_reachable (const void *graph, const uip_ipaddr_t *addr) |
| Telle whether an address is reachable, i.e. | |
| void | uip_sr_expire_parent (const void *graph, const uip_ipaddr_t *child, const uip_ipaddr_t *parent) |
| Expires a given child-parent link. | |
| uip_sr_node_t * | uip_sr_update_node (void *graph, const uip_ipaddr_t *child, const uip_ipaddr_t *parent, uint32_t lifetime) |
| Updates a child-parent link. | |
| void | uip_sr_init (void) |
| Initialize this module. | |
| uip_sr_node_t * | uip_sr_node_head (void) |
| Returns the head of the non-storing node list. | |
| uip_sr_node_t * | uip_sr_node_next (const uip_sr_node_t *item) |
| Returns the next element of the non-storing node list. | |
| void | uip_sr_periodic (unsigned seconds) |
| A function called periodically. | |
| void | uip_sr_free_all (void) |
| Deallocate all neighbors. | |
| int | uip_sr_link_snprint (char *buf, int buflen, const uip_sr_node_t *link) |
| Print a textual description of a source routing link. | |
Source routing support.
Definition in file uip-sr.c.