Contiki-NG
Data Structures | Typedefs | Functions
uip-sr.h File Reference

Source routing support. More...

#include "contiki.h"
#include "net/ipv6/uip.h"

Go to the source code of this file.

Data Structures

struct  uip_sr_node
 A node in a source routing graph, stored at the root and representing all child-parent relationship. More...
 

Typedefs

typedef struct uip_sr_node uip_sr_node_t
 A node in a source routing graph, stored at the root and representing all child-parent relationship. More...
 

Functions

int uip_sr_num_nodes (void)
 Tells how many nodes are currently stored in the graph. More...
 
void uip_sr_expire_parent (void *graph, const uip_ipaddr_t *child, const uip_ipaddr_t *parent)
 Expires a given child-parent link. More...
 
uip_sr_node_tuip_sr_update_node (void *graph, const uip_ipaddr_t *child, const uip_ipaddr_t *parent, uint32_t lifetime)
 Updates a child-parent link. More...
 
uip_sr_node_tuip_sr_node_head (void)
 Returns the head of the non-storing node list. More...
 
uip_sr_node_tuip_sr_node_next (uip_sr_node_t *item)
 Returns the next element of the non-storing node list. More...
 
uip_sr_node_tuip_sr_get_node (void *graph, const uip_ipaddr_t *addr)
 Looks up for a source routing node from its IPv6 global address. More...
 
int uip_sr_is_addr_reachable (void *graph, const uip_ipaddr_t *addr)
 Telle whether an address is reachable, i.e. More...
 
void uip_sr_periodic (unsigned seconds)
 A function called periodically. More...
 
void uip_sr_init (void)
 Initialize this module.
 
void uip_sr_free_all (void)
 Deallocate all neighbors.
 
int uip_sr_link_snprint (char *buf, int buflen, uip_sr_node_t *link)
 Print a textual description of a source routing link. More...
 

Detailed Description

Source routing support.

Author
Simon Duquennoy simon.nosp@m..duq.nosp@m.uenno.nosp@m.y@in.nosp@m.ria.f.nosp@m.r

Definition in file uip-sr.h.