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

source§

fn clone(&self) -> gnrc_netif_ipv6_t

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for gnrc_netif_ipv6_t

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for gnrc_netif_ipv6_t

source§

fn default() -> Self

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

impl Copy for gnrc_netif_ipv6_t

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.