Loading...
Searching...
No Matches
gnrc_netif_ipv6_t Struct Reference

IPv6 component for gnrc_netif_t. More...

Detailed Description

IPv6 component for gnrc_netif_t.

Note
only available with IPv6.

Definition at line 78 of file ipv6.h.

#include <ipv6.h>

Data Fields

uint8_t addrs_flags [CONFIG_GNRC_NETIF_IPV6_ADDRS_NUMOF]
 Flags for gnrc_netif_t::ipv6_addrs.
 
ipv6_addr_t addrs [CONFIG_GNRC_NETIF_IPV6_ADDRS_NUMOF]
 IPv6 unicast and anycast addresses of the interface.
 
ipv6_addr_t groups [GNRC_NETIF_IPV6_GROUPS_NUMOF]
 IPv6 multicast groups of the interface.
 
void(* route_info_cb )(unsigned type, const ipv6_addr_t *ctx_addr, const void *ctx)
 Route info callback.
 
evtimer_msg_event_t snd_mc_ra
 Event for GNRC_IPV6_NIB_SND_MC_RA.
 
evtimer_msg_event_t recalc_reach_time
 Event for GNRC_IPV6_NIB_RECALC_REACH_TIME.
 
evtimer_msg_event_t search_rtr
 Event for GNRC_IPV6_NIB_SEARCH_RTR.
 
evtimer_msg_event_t addrs_timers [CONFIG_GNRC_NETIF_IPV6_ADDRS_NUMOF]
 Timers for address re-registration.
 
uint32_t last_ra
 Timestamp in milliseconds of last unsolicited router advertisement.
 
uint32_t reach_time_base
 Base for random reachable time calculation and advertised reachable time in ms (if GNRC_NETIF_FLAGS_IPV6_RTR_ADV is set)
 
uint32_t reach_time
 Reachable time (in ms)
 
uint32_t retrans_time
 Retransmission time and advertised retransmission time (in ms)
 
uint16_t rtr_ltime
 (Advertised) Router lifetime (default 1800).
 
uint8_t ra_sent
 number of unsolicited router advertisements sent
 
uint8_t rs_sent
 number of unsolicited router solicitations scheduled
 
uint8_t na_sent
 number of unsolicited neighbor advertisements scheduled
 
uint8_t aac_mode
 IPv6 auto-address configuration mode flags.
 
uint16_t mtu
 Maximum transmission unit (MTU) for IPv6 packets.
 

Field Documentation

◆ aac_mode

uint8_t gnrc_netif_ipv6_t::aac_mode

IPv6 auto-address configuration mode flags.

Note
Only available with module gnrc_ipv6

Definition at line 250 of file ipv6.h.

◆ addrs

IPv6 unicast and anycast addresses of the interface.

Note
Only available with module gnrc_ipv6.

Definition at line 93 of file ipv6.h.

◆ addrs_flags

uint8_t gnrc_netif_ipv6_t::addrs_flags[CONFIG_GNRC_NETIF_IPV6_ADDRS_NUMOF]

Flags for gnrc_netif_t::ipv6_addrs.

See also
net_gnrc_netif_ipv6_addrs_flags
Note
Only available with module gnrc_ipv6.

Definition at line 86 of file ipv6.h.

◆ addrs_timers

evtimer_msg_event_t gnrc_netif_ipv6_t::addrs_timers[CONFIG_GNRC_NETIF_IPV6_ADDRS_NUMOF]

Timers for address re-registration.

Note
Only available with module gnrc_ipv6 and NIB and if CONFIG_GNRC_IPV6_NIB_6LN != 0 or CONFIG_GNRC_IPV6_NIB_SLAAC != 0
Might also be usable in the later default SLAAC implementation for NS retransmission timers.

Definition at line 165 of file ipv6.h.

◆ groups

ipv6_addr_t gnrc_netif_ipv6_t::groups[GNRC_NETIF_IPV6_GROUPS_NUMOF]

IPv6 multicast groups of the interface.

Note
Only available with module gnrc_ipv6.

Definition at line 100 of file ipv6.h.

◆ last_ra

uint32_t gnrc_netif_ipv6_t::last_ra

Timestamp in milliseconds of last unsolicited router advertisement.

Note
Only available with module gnrc_ipv6. and NIB and if CONFIG_GNRC_IPV6_NIB_ROUTER != 0

Definition at line 177 of file ipv6.h.

◆ mtu

uint16_t gnrc_netif_ipv6_t::mtu

Maximum transmission unit (MTU) for IPv6 packets.

Note
Only available with module gnrc_ipv6.

Definition at line 257 of file ipv6.h.

◆ na_sent

uint8_t gnrc_netif_ipv6_t::na_sent

number of unsolicited neighbor advertisements scheduled

Note
Only available with module gnrc_ipv6 and NIB

Definition at line 242 of file ipv6.h.

◆ ra_sent

uint8_t gnrc_netif_ipv6_t::ra_sent

number of unsolicited router advertisements sent

This only counts up to the first NDP_MAX_INIT_RA_NUMOF on interface initialization. The last NDP_MAX_FIN_RA_NUMOF of an advertising interface are counted from UINT8_MAX - NDP_MAX_FIN_RA_NUMOF + 1.

Note
Only available with module gnrc_ipv6. and NIB and if CONFIG_GNRC_IPV6_NIB_ROUTER != 0

Definition at line 227 of file ipv6.h.

◆ reach_time

uint32_t gnrc_netif_ipv6_t::reach_time

Reachable time (in ms)

Note
Only available with module gnrc_ipv6. and NIB and if CONFIG_GNRC_IPV6_NIB_ARSM != 0

Definition at line 198 of file ipv6.h.

◆ reach_time_base

uint32_t gnrc_netif_ipv6_t::reach_time_base

Base for random reachable time calculation and advertised reachable time in ms (if GNRC_NETIF_FLAGS_IPV6_RTR_ADV is set)

Note
Only available with module gnrc_ipv6. and NIB and if CONFIG_GNRC_IPV6_NIB_ARSM != 0

Definition at line 189 of file ipv6.h.

◆ recalc_reach_time

evtimer_msg_event_t gnrc_netif_ipv6_t::recalc_reach_time

Event for GNRC_IPV6_NIB_RECALC_REACH_TIME.

Note
Only available with module gnrc_ipv6. and NIB and if CONFIG_GNRC_IPV6_NIB_ARSM != 0

Definition at line 145 of file ipv6.h.

◆ retrans_time

uint32_t gnrc_netif_ipv6_t::retrans_time

Retransmission time and advertised retransmission time (in ms)

Note
Only available with module gnrc_ipv6 and NIB

Definition at line 206 of file ipv6.h.

◆ route_info_cb

void(* gnrc_netif_ipv6_t::route_info_cb) (unsigned type, const ipv6_addr_t *ctx_addr, const void *ctx)

Route info callback.

This callback is called by the NIB to inform the routing protocol about state changes, route usages, missing routes etc.

The callback may be NULL if no such behavior is required by the routing protocol (or no routing protocol is present).

Parameters
[in]typeType of the route info.
[in]ctx_addrContext address of the route info.
[in]ctxFurther context of the route info.

Definition at line 126 of file ipv6.h.

◆ rs_sent

uint8_t gnrc_netif_ipv6_t::rs_sent

number of unsolicited router solicitations scheduled

Note
Only available with module gnrc_ipv6 and NIB

Definition at line 235 of file ipv6.h.

◆ rtr_ltime

uint16_t gnrc_netif_ipv6_t::rtr_ltime

(Advertised) Router lifetime (default 1800).

Note
Only available with module gnrc_ipv6. and NIB and if CONFIG_GNRC_IPV6_NIB_ROUTER != 0

Definition at line 215 of file ipv6.h.

◆ search_rtr

evtimer_msg_event_t gnrc_netif_ipv6_t::search_rtr

Event for GNRC_IPV6_NIB_SEARCH_RTR.

Note
Only available with module gnrc_ipv6. and NIB

Definition at line 153 of file ipv6.h.

◆ snd_mc_ra

evtimer_msg_event_t gnrc_netif_ipv6_t::snd_mc_ra

Event for GNRC_IPV6_NIB_SND_MC_RA.

Note
Only available with module gnrc_ipv6. and NIB and if CONFIG_GNRC_IPV6_NIB_ROUTER != 0

Definition at line 135 of file ipv6.h.


The documentation for this struct was generated from the following file: