![]() |
Contiki-NG
|
RPL types and macros. More...
Go to the source code of this file.
Data Structures | |
| struct | rpl_metric_object_energy |
| Structure for RPL energy metric. More... | |
| struct | rpl_metric_container |
| Logical representation of a DAG Metric Container. More... | |
| struct | rpl_prefix |
| RPL prefix information. More... | |
| struct | rpl_nbr |
| All information related to a RPL neighbor. More... | |
| struct | rpl_of |
| API for RPL objective functions (OF) More... | |
| struct | rpl_dag |
| RPL DAG structure. More... | |
| struct | rpl_instance |
| RPL instance structure. More... | |
Macros | |
| #define | uip_create_linklocal_rplnodes_mcast(addr) uip_ip6addr((addr), 0xff02, 0, 0, 0, 0, 0, 0, 0x001a) |
| Set IP address addr to the link-local, all-rpl-nodes multicast address. | |
| #define | uip_is_addr_linklocal_rplnodes_mcast(addr) |
| Is IPv6 address addr the link-local, all-RPL-nodes multicast address? | |
| #define | RPL_LIFETIME(lifetime) |
| Compute lifetime, accounting for the lifetime unit. | |
| #define | ROOT_RANK curr_instance.min_hoprankinc |
| Rank of a root node. | |
| #define | DAG_RANK(fixpt_rank) ((fixpt_rank) / curr_instance.min_hoprankinc) |
| Return DAG RANK as per RFC 6550 (rank divided by min_hoprankinc) | |
Enumerations | |
| enum | rpl_dag_state |
| RPL DAG states. | |
RPL types and macros.
Definition in file rpl-types.h.