Skip to content
Snippets Groups Projects
Commit c2ae6a86 authored by Cenk Gündoğan's avatar Cenk Gündoğan
Browse files

Merge pull request #4242 from BytesGalore/rpl_parent_reorder

Reordered RPL parent struct to save bytes due to alignment
parents 3153389e f7166bbf
No related branches found
No related tags found
No related merge requests found
......@@ -174,8 +174,8 @@ struct gnrc_rpl_parent {
gnrc_rpl_parent_t *next; /**< pointer to the next parent */
uint8_t state; /**< 0 for unsued, 1 for used */
ipv6_addr_t addr; /**< link-local IPv6 address of this parent */
uint16_t rank; /**< rank of the parent */
uint8_t dtsn; /**< last seen dtsn of this parent */
uint16_t rank; /**< rank of the parent */
gnrc_rpl_dodag_t *dodag; /**< DODAG the parent belongs to */
uint32_t lifetime; /**< lifetime of this parent in seconds */
double link_metric; /**< metric of the link */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment