2012-01-19 17:35:50 +01:00
|
|
|
#include <stdint.h>
|
|
|
|
#include <vtimer.h>
|
|
|
|
#include <mutex.h>
|
|
|
|
#include "sys/net/sixlowpan/sixlowip.h"
|
|
|
|
#include "rpl_dodag.h"
|
|
|
|
|
2012-01-26 20:26:55 +01:00
|
|
|
#define RPL_PKT_RECV_BUF_SIZE 20
|
|
|
|
#define RPL_PROCESS_STACKSIZE 3072
|
|
|
|
|
2012-01-19 17:35:50 +01:00
|
|
|
void rpl_init();
|
|
|
|
void rpl_init_root();
|
2012-01-26 20:26:55 +01:00
|
|
|
rpl_of_t *rpl_get_of_for_ocp(uint16_t ocp);
|
|
|
|
|
2012-01-19 17:35:50 +01:00
|
|
|
|
2012-01-26 20:26:55 +01:00
|
|
|
void rpl_process(void);
|
2012-01-19 17:35:50 +01:00
|
|
|
void recv_rpl_dio(void);
|
|
|
|
void recv_rpl_dao(void);
|
2012-01-31 19:36:26 +01:00
|
|
|
void send_DIO(ipv6_addr_t *destination);
|
|
|
|
void send_DIS(ipv6_addr_t *destination);
|