From 5a4789573d804ab539e201969d1e46b4984bf2bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cenk=20G=C3=BCndo=C4=9Fan?= Date: Sun, 18 Oct 2015 21:00:30 +0200 Subject: [PATCH] fib: add flag to mark RPL routes --- sys/include/net/fib.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/include/net/fib.h b/sys/include/net/fib.h index 59a3cc5991..c05167f2a5 100644 --- a/sys/include/net/fib.h +++ b/sys/include/net/fib.h @@ -62,6 +62,11 @@ typedef struct fib_destination_set_entry_t { */ #define FIB_LIFETIME_NO_EXPIRE (0xFFFFFFFFffffffff) +/** + * @brief flag to identify if a route was set by RPL + */ +#define FIB_FLAG_RPL_ROUTE (1UL << 0) + /** * @brief initializes all FIB entries with 0 *