65 uint8_t default_lifetime;
66 uint16_t lifetime_unit;
67 rpl_rank_t dag_max_rankinc;
68 rpl_rank_t dag_min_hoprankinc;
73 typedef struct rpl_dio rpl_dio_t;
77 uip_ipaddr_t parent_addr;
85 typedef struct rpl_dao rpl_dao_t;
static uip_ds6_addr_t * addr
Pointer to a nbr cache entry.
IPv6 Neighbor cache (link-layer/IPv6 address mapping)
void rpl_icmp6_dao_output(uint8_t lifetime)
Creates an ICMPv6 DAO packet and sends it to the root, advertising the current preferred parent...
Header file for IPv6-related data structures.
uip_ds6_nbr_t * rpl_icmp6_update_nbr_table(uip_ipaddr_t *from, nbr_table_reason_t reason, void *data)
Updates IPv6 neighbor cache on incoming link-local RPL ICMPv6 messages.
Logical representation of a DAG Metric Container.
Header file for the uIP TCP/IP stack.
void rpl_icmp6_dao_ack_output(uip_ipaddr_t *dest, uint8_t sequence, uint8_t status)
Creates an ICMPv6 DAO-ACK packet and sends it to the originator of the ACK.
void rpl_icmp6_dio_output(uip_ipaddr_t *uc_addr)
Creates an ICMPv6 DIO packet and sends it.
void rpl_icmp6_init()
Initializes rpl-icmp6 module, registers ICMPv6 handlers for all RPL ICMPv6 messages: DIO...
An entry in the nbr cache.
void rpl_icmp6_dis_output(uip_ipaddr_t *addr)
Creates an ICMPv6 DIS packet and sends it.