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

Internal globals for RPL. More...

Detailed Description

Internal globals for RPL.

Author
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 globals.h.

#include "evtimer.h"
+ Include dependency graph for globals.h:

Go to the source code of this file.

Macros

#define GNRC_RPL_PARENT_PROBE_INTERVAL   (2 * MS_PER_SEC)
 Interval in milliseconds to probe a parent with DIS messages.
 

Events for RPL.

#define GNRC_RPL_MSG_TYPE_PARENT_TIMEOUT   (0x0904)
 Message type for parent timeouts.
 
#define GNRC_RPL_MSG_TYPE_INSTANCE_CLEANUP   (0x0905)
 Message type for instance cleanup.
 
#define GNRC_RPL_MSG_TYPE_DODAG_DAO_TX   (0x0906)
 Message type for DAO transmissions.
 

State of a RPL parent

#define GNRC_RPL_PARENT_UNUSED   (0)
 Parent is unused.
 
#define GNRC_RPL_PARENT_ACTIVE   (1)
 Parent is active.
 
#define GNRC_RPL_PARENT_STALE   (2)
 Parent is stale.
 
#define GNRC_RPL_PARENT_TIMEOUT
 Parent has timed out.
 
evtimer_msg_t gnrc_rpl_evtimer
 Event queue for msg events.
 

Macro Definition Documentation

◆ GNRC_RPL_MSG_TYPE_DODAG_DAO_TX

#define GNRC_RPL_MSG_TYPE_DODAG_DAO_TX   (0x0906)

Message type for DAO transmissions.

Definition at line 48 of file globals.h.

◆ GNRC_RPL_MSG_TYPE_INSTANCE_CLEANUP

#define GNRC_RPL_MSG_TYPE_INSTANCE_CLEANUP   (0x0905)

Message type for instance cleanup.

Definition at line 44 of file globals.h.

◆ GNRC_RPL_MSG_TYPE_PARENT_TIMEOUT

#define GNRC_RPL_MSG_TYPE_PARENT_TIMEOUT   (0x0904)

Message type for parent timeouts.

Definition at line 40 of file globals.h.

◆ GNRC_RPL_PARENT_ACTIVE

#define GNRC_RPL_PARENT_ACTIVE   (1)

Parent is active.

Definition at line 67 of file globals.h.

◆ GNRC_RPL_PARENT_PROBE_INTERVAL

#define GNRC_RPL_PARENT_PROBE_INTERVAL   (2 * MS_PER_SEC)

Interval in milliseconds to probe a parent with DIS messages.

Definition at line 54 of file globals.h.

◆ GNRC_RPL_PARENT_STALE

#define GNRC_RPL_PARENT_STALE   (2)

Parent is stale.

Definition at line 71 of file globals.h.

◆ GNRC_RPL_PARENT_TIMEOUT

#define GNRC_RPL_PARENT_TIMEOUT
Value:
#define GNRC_RPL_PARENT_STALE
Parent is stale.
Definition globals.h:71
#define CONFIG_GNRC_RPL_PARENT_TIMEOUT_DIS_RETRIES
Number of DIS retries before parent times out.
Definition rpl.h:562

Parent has timed out.

Definition at line 75 of file globals.h.

◆ GNRC_RPL_PARENT_UNUSED

#define GNRC_RPL_PARENT_UNUSED   (0)

Parent is unused.

Definition at line 63 of file globals.h.