1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

rpl: moved headers to sys/net/include

This commit is contained in:
Oleg Hahm 2014-08-06 13:48:18 +02:00
parent 4e39f68dd4
commit 8b34d323e2
12 changed files with 26 additions and 16 deletions

View File

@ -25,7 +25,7 @@
#include "sixlowpan/ip.h"
#include "transceiver.h"
#include "ieee802154_frame.h"
#include "rpl_structs.h"
#include "rpl/rpl_structs.h"
#include "rpl_udp.h"

View File

@ -26,7 +26,7 @@
#include "sixlowpan.h"
#include "destiny.h"
#include "rpl.h"
#include "rpl_dodag.h"
#include "rpl/rpl_dodag.h"
#include "rpl_udp.h"
#include "transceiver.h"

View File

@ -33,7 +33,7 @@
#include <mutex.h>
#include <transceiver.h>
#include "ipv6.h"
#include "rpl_dodag.h"
#include "rpl/rpl_dodag.h"
#undef CC1100_RADIO_MODE
#define CC1100_RADIO_MODE CC1100_MODE_WOR

View File

@ -1,4 +1,9 @@
#include "rpl_structs.h"
#include "rpl_config.h"
#ifndef OF0_H
#define OF0_H
#include "rpl/rpl_structs.h"
#include "rpl/rpl_config.h"
rpl_of_t *rpl_get_of0(void);
#endif /* OF0_H */

View File

@ -1,36 +1,41 @@
#include "rpl_structs.h"
#include "rpl_config.h"
#ifndef OF_MRHOF_H
#define OF_MRHOF_H
/*
#include "rpl/rpl_structs.h"
#include "rpl/rpl_config.h"
/**
* Disallow links with greater than 4 expected
* transmission counts on the selected path.
*/
#define MAX_LINK_METRIC (512)
/*
/**
* Disallow paths with greater than 256
* expected transmission counts.
*/
#define MAX_PATH_COST (0x8000)
/*
/**
* Switch to a new path only if it is
* expected to require at least 1.5 fewer transmissions than the
* current path.
*/
#define PARENT_SWITCH_THRESHOLD (192)
/*
/**
* Do not allow a node to become a floating root.
* (Currently unused, since the RPL-implementation does not allow for floating
* roots).
*/
#define ALLOW_FLOATING_ROOT (0)
/*
/**
* While assigning Rank when using ETX, use the representation of ETX described
* in [RFC6551], i.e., assign Rank equal to ETX * 128.
*/
#define ETX_RANK_MULTIPLIER (0x80)
rpl_of_t *rpl_get_of_mrhof(void);
#endif /* OF_MRHOF_H */

View File

@ -33,9 +33,9 @@
/* You can only run Storing Mode by now. Other unsupported modes lead to default (Storing Mode) */
#if RPL_DEFAULT_MOP == RPL_STORING_MODE_NO_MC
#include "rpl_storing.h"
#include "rpl/rpl_storing.h"
#else
#include "rpl_storing.h"
#include "rpl/rpl_storing.h"
#endif
#define ENABLE_DEBUG (0)

View File

@ -19,7 +19,7 @@
#include <string.h>
#include <stdio.h>
#include "rpl_dodag.h"
#include "rpl/rpl_dodag.h"
#include "trickle.h"
#include "rpl.h"

View File

@ -15,7 +15,7 @@
* @}
*/
#include "rpl_storing.h"
#include "rpl/rpl_storing.h"
#include "msg.h"
#include "trickle.h"