Struct riot_sys::gnrc_ipv6_nib_nc_t
source · #[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 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