All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

IPv6 definitions for Network interface API. More...

Detailed Description

IPv6 definitions for Network interface API.

Author
Martine Lenders mlend.nosp@m.ers@.nosp@m.inf.f.nosp@m.u-be.nosp@m.rlin..nosp@m.de

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)
 
#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.
 

Macro Definition Documentation

◆ GNRC_NETIF_IPV6_ADDRS_FLAGS_ANYCAST

#define GNRC_NETIF_IPV6_ADDRS_FLAGS_ANYCAST   (0x20U)

Address is an anycast address.

Definition at line 70 of file ipv6.h.

◆ GNRC_NETIF_IPV6_ADDRS_FLAGS_STATE_DEPRECATED

#define GNRC_NETIF_IPV6_ADDRS_FLAGS_STATE_DEPRECATED   (0x08U)

Deprecated address state (still valid, but not preferred)

Definition at line 60 of file ipv6.h.

◆ GNRC_NETIF_IPV6_ADDRS_FLAGS_STATE_MASK

#define GNRC_NETIF_IPV6_ADDRS_FLAGS_STATE_MASK   (0x1fU)

Mask for the address' state.

Definition at line 46 of file ipv6.h.

◆ GNRC_NETIF_IPV6_ADDRS_FLAGS_STATE_TENTATIVE

#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.

Definition at line 55 of file ipv6.h.

◆ GNRC_NETIF_IPV6_ADDRS_FLAGS_STATE_VALID

#define GNRC_NETIF_IPV6_ADDRS_FLAGS_STATE_VALID   (0x10U)

Valid address state.

Definition at line 65 of file ipv6.h.