The friendly Operating System for the Internet of Things
structs.h File Reference

RPL data structs. More...

Detailed Description

Header file, which defines all structs used by RPL.

Author
Eric Engel eric..nosp@m.enge.nosp@m.l@fu-.nosp@m.berl.nosp@m.in.de
Cenk Gündoğan cnkgn.nosp@m.dgn@.nosp@m.gmail.nosp@m..com

Definition in file structs.h.

#include "net/gnrc/ipv6/netif.h"
#include "net/ipv6/addr.h"
#include "xtimer.h"
#include "trickle.h"
+ Include dependency graph for structs.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  gnrc_rpl_opt_t
 RPL-Option Generic Format. More...
 
struct  gnrc_rpl_dio_t
 DIO Base Object. More...
 
struct  gnrc_rpl_opt_dodag_conf_t
 DODAG Configuration Option. More...
 
struct  gnrc_rpl_dis_t
 DODAG Information Solicitation. More...
 
struct  gnrc_rpl_dao_t
 Destination Advertisement Object. More...
 
struct  gnrc_rpl_dao_ack_t
 Destination Advertisement Object Acknowledgement. More...
 
struct  gnrc_rpl_opt_target_t
 Target Option. More...
 
struct  gnrc_rpl_opt_transit_t
 Transit Option. More...
 
struct  gnrc_rpl_opt_prefix_info_t
 Prefix Information Option. More...
 
struct  gnrc_rpl_of_t
 Objective function representation. More...
 

Macros

Option lengths
#define GNRC_RPL_OPT_DODAG_CONF_LEN   (14)
 
#define GNRC_RPL_OPT_PREFIX_INFO_LEN   (30)
 
#define GNRC_RPL_OPT_TARGET_LEN   (18)
 
#define GNRC_RPL_OPT_TRANSIT_INFO_LEN   (4)
 
DAO flag macros
#define GNRC_RPL_DAO_D_BIT   (1 << 6)
 
#define GNRC_RPL_DAO_K_BIT   (1 << 7)
 
DAO-ACK flag macros
#define GNRC_RPL_DAO_ACK_D_BIT   (1 << 7)
 
DIO Options for gnrc_rpl_dodag_t::dio_opts

#define GNRC_RPL_REQ_DIO_OPT_DODAG_CONF_SHIFT   (0)
 
#define GNRC_RPL_REQ_DIO_OPT_DODAG_CONF   (1 << GNRC_RPL_REQ_DIO_OPT_DODAG_CONF_SHIFT)
 
#define GNRC_RPL_REQ_DIO_OPT_PREFIX_INFO_SHIFT   (1)
 
#define GNRC_RPL_REQ_DIO_OPT_PREFIX_INFO   (1 << GNRC_RPL_REQ_DIO_OPT_PREFIX_INFO_SHIFT)
 

Typedefs

typedef struct gnrc_rpl_dodag gnrc_rpl_dodag_t
 DODAG representation.
 
typedef struct gnrc_rpl_parent gnrc_rpl_parent_t
 Parent representation.
 
typedef struct gnrc_rpl_instance gnrc_rpl_instance_t
 Instance representation.