Struct riot_sys::gnrc_ipv6_nib_pl_t
source · #[repr(C)]pub struct gnrc_ipv6_nib_pl_t {
pub pfx: ipv6_addr_t,
pub pfx_len: u8,
pub iface: u16,
pub valid_until: u32,
pub pref_until: u32,
}
Expand description
@brief Prefix list entry view on NIB
Fields§
§pfx: ipv6_addr_t
< prefix
pfx_len: u8
< length of gnrc_ipv6_nib_pl_t::pfx in bits
iface: u16
< interface gnrc_ipv6_nib_pl_t::pfx is assigned to
valid_until: u32
< timestamp (in ms) until which the prefix is valid
pref_until: u32
< timestamp (in ms) until which the prefix is preferred
Trait Implementations§
source§impl Clone for gnrc_ipv6_nib_pl_t
impl Clone for gnrc_ipv6_nib_pl_t
source§fn clone(&self) -> gnrc_ipv6_nib_pl_t
fn clone(&self) -> gnrc_ipv6_nib_pl_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for gnrc_ipv6_nib_pl_t
impl Debug for gnrc_ipv6_nib_pl_t
source§impl Default for gnrc_ipv6_nib_pl_t
impl Default for gnrc_ipv6_nib_pl_t
impl Copy for gnrc_ipv6_nib_pl_t
Auto Trait Implementations§
impl RefUnwindSafe for gnrc_ipv6_nib_pl_t
impl Send for gnrc_ipv6_nib_pl_t
impl Sync for gnrc_ipv6_nib_pl_t
impl Unpin for gnrc_ipv6_nib_pl_t
impl UnwindSafe for gnrc_ipv6_nib_pl_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
Mutably borrows from an owned value. Read more