#[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§
source§impl Clone for gnrc_netif_ipv6_t
impl Clone for gnrc_netif_ipv6_t
source§fn clone(&self) -> gnrc_netif_ipv6_t
fn clone(&self) -> gnrc_netif_ipv6_t
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for gnrc_netif_ipv6_t
impl Debug for gnrc_netif_ipv6_t
source§impl Default for gnrc_netif_ipv6_t
impl Default for gnrc_netif_ipv6_t
impl Copy for gnrc_netif_ipv6_t
Auto Trait Implementations§
impl Freeze for gnrc_netif_ipv6_t
impl RefUnwindSafe for gnrc_netif_ipv6_t
impl !Send for gnrc_netif_ipv6_t
impl !Sync for gnrc_netif_ipv6_t
impl Unpin for gnrc_netif_ipv6_t
impl UnwindSafe for gnrc_netif_ipv6_t
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 168 bytes