Contiki-NG
Functions
rpl.c File Reference

ContikiRPL, an implementation of RPL: IPv6 Routing Protocol for Low-Power and Lossy Networks (IETF RFC 6550) More...

#include "net/routing/rpl-lite/rpl.h"
#include "net/routing/routing.h"
#include "sys/log.h"

Go to the source code of this file.

Functions

int rpl_lollipop_greater_than (int a, int b)
 Greater-than function for a lollipop counter. More...
 
const uip_ipaddr_t * rpl_get_global_address (void)
 Get one of the node's global addresses. More...
 
void rpl_link_callback (const linkaddr_t *addr, int status, int numtx)
 Called by lower layers after every packet transmission. More...
 
int rpl_has_joined (void)
 Tells whether the node has joined a network or not. More...
 
int rpl_is_reachable (void)
 Get the RPL's best guess on if we are reachable via have downward route or not. More...
 
void rpl_reset_prefix (rpl_prefix_t *last_prefix)
 Removes current prefx. More...
 
int rpl_set_prefix_from_addr (uip_ipaddr_t *addr, unsigned len, uint8_t flags)
 Set prefix from an IPv6 address. More...
 
int rpl_set_prefix (rpl_prefix_t *prefix)
 Set prefix from an prefix data structure (from DIO) More...
 
void rpl_set_leaf_only (uint8_t value)
 Changes the value of the rpl_leaf_only flag, which determines if a node acts only as a leaf in the network. More...
 
uint8_t rpl_get_leaf_only (void)
 Get the value of the rpl_leaf_only flag. More...
 

Detailed Description

ContikiRPL, an implementation of RPL: IPv6 Routing Protocol for Low-Power and Lossy Networks (IETF RFC 6550)

Author
Joakim Eriksson joaki.nosp@m.me@s.nosp@m.ics.s.nosp@m.e, Nicolas Tsiftes nvt@s.nosp@m.ics..nosp@m.se Simon Duquennoy simon.nosp@m..duq.nosp@m.uenno.nosp@m.y@in.nosp@m.ria.f.nosp@m.r

Definition in file rpl.c.