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