#[repr(C)]pub struct gnrc_ipv6_nib_nc_t {
pub ipv6: ipv6_addr_t,
pub l2addr: [u8; 8],
pub info: u16,
pub l2addr_len: u8,
}
Expand description
@brief Neighbor cache entry view on NIB
Fields§
§ipv6: ipv6_addr_t
< Neighbor’s IPv6 address
l2addr: [u8; 8]
@brief Neighbor’s link-layer address
info: u16
@brief Neighbor information as defined in @ref net_gnrc_ipv6_nib_nc_info “info values”
l2addr_len: u8
< Length of gnrc_ipv6_nib_nc_t::l2addr in bytes
Trait Implementations§
Source§impl Clone for gnrc_ipv6_nib_nc_t
impl Clone for gnrc_ipv6_nib_nc_t
Source§fn clone(&self) -> gnrc_ipv6_nib_nc_t
fn clone(&self) -> gnrc_ipv6_nib_nc_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_nc_t
impl Debug for gnrc_ipv6_nib_nc_t
Source§impl Default for gnrc_ipv6_nib_nc_t
impl Default for gnrc_ipv6_nib_nc_t
impl Copy for gnrc_ipv6_nib_nc_t
Auto Trait Implementations§
impl Freeze for gnrc_ipv6_nib_nc_t
impl RefUnwindSafe for gnrc_ipv6_nib_nc_t
impl Send for gnrc_ipv6_nib_nc_t
impl Sync for gnrc_ipv6_nib_nc_t
impl Unpin for gnrc_ipv6_nib_nc_t
impl UnwindSafe for gnrc_ipv6_nib_nc_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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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: 28 bytes