Loading...
Searching...
No Matches
structs.h File Reference

RPL data structs. More...

Detailed Description

RPL data structs.

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 cenk..nosp@m.guen.nosp@m.dogan.nosp@m.@haw.nosp@m.-hamb.nosp@m.urg..nosp@m.de

Definition in file structs.h.

#include "byteorder.h"
#include "net/ipv6/addr.h"
#include "evtimer.h"
#include "evtimer_msg.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_opt_dis_solicited_t
 DIS Solicited Information option. 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...
 
struct  gnrc_rpl_internal_opt_t
 internal unpacked struct type for option insertion More...
 
struct  gnrc_rpl_internal_opt_dis_solicited_t
 internal unpacked struct type for DIS solicited option insertion More...
 

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.
 

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)
 

Macro Definition Documentation

◆ GNRC_RPL_DAO_ACK_D_BIT

#define GNRC_RPL_DAO_ACK_D_BIT   (1 << 7)

Definition at line 59 of file structs.h.

◆ GNRC_RPL_DAO_D_BIT

#define GNRC_RPL_DAO_D_BIT   (1 << 6)

Definition at line 51 of file structs.h.

◆ GNRC_RPL_DAO_K_BIT

#define GNRC_RPL_DAO_K_BIT   (1 << 7)

Definition at line 52 of file structs.h.

◆ GNRC_RPL_OPT_DODAG_CONF_LEN

#define GNRC_RPL_OPT_DODAG_CONF_LEN   (14)

Definition at line 41 of file structs.h.

◆ GNRC_RPL_OPT_PREFIX_INFO_LEN

#define GNRC_RPL_OPT_PREFIX_INFO_LEN   (30)

Definition at line 42 of file structs.h.

◆ GNRC_RPL_OPT_TARGET_LEN

#define GNRC_RPL_OPT_TARGET_LEN   (18)

Definition at line 43 of file structs.h.

◆ GNRC_RPL_OPT_TRANSIT_INFO_LEN

#define GNRC_RPL_OPT_TRANSIT_INFO_LEN   (4)

Definition at line 44 of file structs.h.

◆ GNRC_RPL_REQ_DIO_OPT_DODAG_CONF

#define GNRC_RPL_REQ_DIO_OPT_DODAG_CONF   (1 << GNRC_RPL_REQ_DIO_OPT_DODAG_CONF_SHIFT)

Definition at line 68 of file structs.h.

◆ GNRC_RPL_REQ_DIO_OPT_DODAG_CONF_SHIFT

#define GNRC_RPL_REQ_DIO_OPT_DODAG_CONF_SHIFT   (0)

Definition at line 67 of file structs.h.

◆ GNRC_RPL_REQ_DIO_OPT_PREFIX_INFO

#define GNRC_RPL_REQ_DIO_OPT_PREFIX_INFO   (1 << GNRC_RPL_REQ_DIO_OPT_PREFIX_INFO_SHIFT)

Definition at line 70 of file structs.h.

◆ GNRC_RPL_REQ_DIO_OPT_PREFIX_INFO_SHIFT

#define GNRC_RPL_REQ_DIO_OPT_PREFIX_INFO_SHIFT   (1)

Definition at line 69 of file structs.h.

Typedef Documentation

◆ gnrc_rpl_dodag_t

typedef struct gnrc_rpl_dodag gnrc_rpl_dodag_t

DODAG representation.

Definition at line 225 of file structs.h.

◆ gnrc_rpl_instance_t

typedef struct gnrc_rpl_instance gnrc_rpl_instance_t

Instance representation.

Definition at line 235 of file structs.h.

◆ gnrc_rpl_parent_t

typedef struct gnrc_rpl_parent gnrc_rpl_parent_t

Parent representation.

Definition at line 230 of file structs.h.