IPv6 definitions for Network interface API. More...
IPv6 definitions for Network interface API.
Definition in file ipv6.h.
#include "modules.h"#include "evtimer_msg.h"#include "net/ipv6/addr.h"#include "net/gnrc/netapi.h"#include "net/gnrc/netif/conf.h"
Include dependency graph for ipv6.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | gnrc_netif_ipv6_t |
| IPv6 component for gnrc_netif_t. More... | |
IPv6 unicast and anycast address flags | |
| #define | GNRC_NETIF_IPV6_ADDRS_FLAGS_STATE_MASK (0x1fU) |
| Mask for the address' state. | |
| #define | GNRC_NETIF_IPV6_ADDRS_FLAGS_STATE_TENTATIVE (0x07U) |
| Tentative states (with encoded DAD retransmissions) More... | |
| #define | GNRC_NETIF_IPV6_ADDRS_FLAGS_STATE_DEPRECATED (0x08U) |
| Deprecated address state (still valid, but not preferred) | |
| #define | GNRC_NETIF_IPV6_ADDRS_FLAGS_STATE_VALID (0x10U) |
| Valid address state. | |
| #define | GNRC_NETIF_IPV6_ADDRS_FLAGS_ANYCAST (0x20U) |
| Address is an anycast address. | |
| #define GNRC_NETIF_IPV6_ADDRS_FLAGS_STATE_TENTATIVE (0x07U) |
Tentative states (with encoded DAD retransmissions)
The retransmissions of DAD transmits can be decoded from this state by applying it as a mask to the [flags](gnrc_netif_ipv6_t::addrs_flags) of the address.