Struct riot_sys::gnrc_netif_ipv6_t[][src]

#[repr(C)]
pub struct gnrc_netif_ipv6_t {
Show 13 fields pub addrs_flags: [u8; 2], pub addrs: [ipv6_addr_t; 2], pub groups: [ipv6_addr_t; 3], pub recalc_reach_time: evtimer_msg_event_t, pub search_rtr: evtimer_msg_event_t, pub addrs_timers: [evtimer_msg_event_t; 2], pub reach_time_base: u32, pub reach_time: u32, pub retrans_time: u32, pub rs_sent: u8, pub na_sent: u8, pub aac_mode: u8, pub mtu: u16,
}
Expand description

@brief IPv6 component for @ref gnrc_netif_t

@note only available with @ref net_gnrc_ipv6.

Fields

addrs_flags: [u8; 2]

@brief Flags for gnrc_netif_t::ipv6_addrs

@see net_gnrc_netif_ipv6_addrs_flags

@note Only available with module @ref net_gnrc_ipv6 “gnrc_ipv6”.

addrs: [ipv6_addr_t; 2]

@brief IPv6 unicast and anycast addresses of the interface

@note Only available with module @ref net_gnrc_ipv6 “gnrc_ipv6”.

groups: [ipv6_addr_t; 3]

@brief IPv6 multicast groups of the interface

@note Only available with module @ref net_gnrc_ipv6 “gnrc_ipv6”.

recalc_reach_time: evtimer_msg_event_t

@brief Event for @ref GNRC_IPV6_NIB_RECALC_REACH_TIME

@note Only available with module @ref net_gnrc_ipv6 “gnrc_ipv6”. and @ref net_gnrc_ipv6_nib “NIB” and if @ref CONFIG_GNRC_IPV6_NIB_ARSM != 0

search_rtr: evtimer_msg_event_t

@brief Event for @ref GNRC_IPV6_NIB_SEARCH_RTR

@note Only available with module @ref net_gnrc_ipv6 “gnrc_ipv6”. and @ref net_gnrc_ipv6_nib “NIB”

addrs_timers: [evtimer_msg_event_t; 2]

@brief Timers for address re-registration

@note Only available with module @ref net_gnrc_ipv6 “gnrc_ipv6” and @ref net_gnrc_ipv6_nib “NIB” and if @ref CONFIG_GNRC_IPV6_NIB_6LN != 0 or @ref CONFIG_GNRC_IPV6_NIB_SLAAC != 0 @note Might also be usable in the later default SLAAC implementation for NS retransmission timers.

reach_time_base: u32

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

@note Only available with module @ref net_gnrc_ipv6 “gnrc_ipv6”. and @ref net_gnrc_ipv6_nib “NIB” and if @ref CONFIG_GNRC_IPV6_NIB_ARSM != 0

reach_time: u32

@brief Reachable time (in ms)

@note Only available with module @ref net_gnrc_ipv6 “gnrc_ipv6”. and @ref net_gnrc_ipv6_nib “NIB” and if @ref CONFIG_GNRC_IPV6_NIB_ARSM != 0

retrans_time: u32

@brief Retransmission time and advertised retransmission time (in ms)

@note Only available with module @ref net_gnrc_ipv6 “gnrc_ipv6” and @ref net_gnrc_ipv6_nib “NIB”

rs_sent: u8

@brief number of unsolicited router solicitations scheduled

@note Only available with module @ref net_gnrc_ipv6 “gnrc_ipv6” and @ref net_gnrc_ipv6_nib “NIB”

na_sent: u8

@brief number of unsolicited neighbor advertisements scheduled

@note Only available with module @ref net_gnrc_ipv6 “gnrc_ipv6” and @ref net_gnrc_ipv6_nib “NIB”

aac_mode: u8

@brief IPv6 auto-address configuration mode flags

@note Only available with module @ref net_gnrc_ipv6 “gnrc_ipv6”

mtu: u16

@brief Maximum transmission unit (MTU) for IPv6 packets

@note Only available with module @ref net_gnrc_ipv6 “gnrc_ipv6”.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.