Microchip® Advanced Software Framework

rpl.c File Reference

    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
#include "uip.h"
#include "tcpip.h"
#include "uip-ds6.h"
#include "uip-icmp6.h"
#include "rpl-private.h"
#include "uip-mcast6.h"
#include "net/ip/uip-debug.h"
#include <limits.h>
#include <string.h>

Macros

#define _DEBUG_   DEBUG_NONE
 

Functions

uip_ds6_route_trpl_add_route (rpl_dag_t *dag, uip_ipaddr_t *prefix, int prefix_len, uip_ipaddr_t *next_hop)
 
enum rpl_mode rpl_get_mode (void)
 Get the RPL mode. More...
 
void rpl_init (void)
 
void rpl_ipv6_neighbor_callback (uip_ds6_nbr_t *nbr)
 
void rpl_link_neighbor_callback (const linkaddr_t *addr, int status, int numtx)
 
void rpl_purge_routes (void)
 
void rpl_remove_routes (rpl_dag_t *dag)
 
void rpl_remove_routes_by_nexthop (uip_ipaddr_t *nexthop, rpl_dag_t *dag)
 
enum rpl_mode rpl_set_mode (enum rpl_mode m)
 Set the RPL mode. More...
 

Variables

static enum rpl_mode mode = RPL_MODE_MESH