Go to the documentation of this file.
21 #ifndef NET_GNRC_RPL_P2P_STRUCTS_H
22 #define NET_GNRC_RPL_P2P_STRUCTS_H
34 #define GNRC_RPL_P2P_ADDR_VEC_NUMOF (8)
42 typedef struct __attribute__((packed)) {
56 typedef struct __attribute__((packed)) {
69 typedef struct __attribute__((packed)) {
uint8_t lifetime_enc
encoded lifetime of the P2P-DODAG
gnrc_rpl_dodag_t * dodag
DODAG, which owns this P2P extension.
uint8_t lmn
lifetime, maxrank/nexthop
uint8_t maxrank
maximum rank the P2P-DODAG should span
uint8_t compr_flags
flags and number of elided prefix octets
A 16 bit integer in big endian aka network byte order.
Data type to represent an IPv6 address.
network_uint16_t seq_rev
sequence number and reserved
Definitions for IPv6 addresses.
bool hop_by_hop
request hop-by-hop routes or source routes
uint8_t version_number
version number of the DODAG
bool dro_ack
request P2P-DRO-ACK
P2P Discovery Reply Object (P2P-DRO)
uint8_t version_number
version number of the DODAG
network_uint16_t flags_rev
flags and reserved
ipv6_addr_t dodag_id
id of the dodag
Extended DODAG information for P2P-RPL.
ipv6_addr_t dodag_id
id of the dodag
int8_t dro_delay
delay DRO after it was requested in seconds
bool for_me
true if this node is the target
bool reply
request P2P-DRO
uint8_t instance_id
id of the instance
uint8_t routes_numof
number of requested routes
bool state
state: used / unused
uint8_t length
length of option, not including first two bytes
P2P Discovery Reply Object Acknowledgement (P2P-DRO-ACK)
uint8_t compr
number of elided prefix octets
uint8_t dro_seq
sequence number of the P2P-DRO
ipv6_addr_t target
target address
uint8_t addr_numof
number of addresses in the address vector
bool stop
stop route discovery
uint8_t type
Option Type: 0x0a.
P2P Route Discovery Object (RDO) Option.
#define GNRC_RPL_P2P_ADDR_VEC_NUMOF
Address vector length in RDO DIO options and maximal hop count for the P2P-DODAG.
ipv6_addr_t target
target of the P2P route discovery
uint8_t instance_id
id of the instance
struct gnrc_rpl_dodag gnrc_rpl_dodag_t
DODAG representation.
int8_t lifetime_sec
lifetime of the P2P-DODAG in seconds