p2p_structs.h¶
P2P-RPL data structs.
Header file, which defines all structs used by P2P-RPL.
-
GNRC_RPL_P2P_ADDR_VEC_NUMOF¶ Address vector length in RDO DIO options and maximal hop count for the P2P-DODAG.
1
(8)
-
struct
gnrc_rpl_p2p_opt_rdo_t¶ P2P Route Discovery Object (RDO) Option.
-
uint8_t
type¶ Option Type: 0x0a.
-
uint8_t
length¶ length of option, not including first two bytes
-
uint8_t
compr_flags¶ flags and number of elided prefix octets
-
uint8_t
lmn¶ lifetime, maxrank/nexthop
-
ipv6_addr_t
target¶ target address
-
uint8_t
-
struct
gnrc_rpl_p2p_dro_t¶ P2P Discovery Reply Object (P2P-DRO)
-
uint8_t
instance_id¶ id of the instance
-
uint8_t
version_number¶ version number of the DODAG
-
byteorder.h::network_uint16_tflags_rev¶ flags and reserved
-
ipv6_addr_t
dodag_id¶ id of the dodag
-
uint8_t
-
struct
gnrc_rpl_p2p_dro_ack_t¶ P2P Discovery Reply Object Acknowledgement (P2P-DRO-ACK)
-
uint8_t
instance_id¶ id of the instance
-
uint8_t
version_number¶ version number of the DODAG
-
byteorder.h::network_uint16_tseq_rev¶ sequence number and reserved
-
ipv6_addr_t
dodag_id¶ id of the dodag
-
uint8_t
-
struct
gnrc_rpl_p2p_ext_t¶ Extended DODAG information for P2P-RPL.
-
bool
state¶ state: used / unused
-
structs.h::gnrc_rpl_dodag_t*dodag¶ DODAG, which owns this P2P extension.
-
uint8_t
compr¶ number of elided prefix octets
-
uint8_t
routes_numof¶ number of requested routes
-
bool
hop_by_hop¶ request hop-by-hop routes or source routes
-
bool
stop¶ stop route discovery
-
bool
reply¶ request P2P-DRO
-
bool
dro_ack¶ request P2P-DRO-ACK
-
uint8_t
lifetime_enc¶ encoded lifetime of the P2P-DODAG
-
int8_t
lifetime_sec¶ lifetime of the P2P-DODAG in seconds
-
uint8_t
maxrank¶ maximum rank the P2P-DODAG should span
-
uint8_t
dro_seq¶ sequence number of the P2P-DRO
-
ipv6_addr_t
target¶ target of the P2P route discovery
-
bool
for_me¶ true if this node is the target
-
uint8_t
addr_numof¶ number of addresses in the address vector
-
int8_t
dro_delay¶ delay DRO after it was requested in seconds
-
ipv6_addr_t
addr_vec()¶ address vector
-
bool