Struct riot_sys::ndp_opt_ri_t
source · #[repr(C, packed(1))]pub struct ndp_opt_ri_t {
pub type_: u8,
pub len: u8,
pub prefix_len: u8,
pub flags: u8,
pub route_ltime: network_uint32_t,
pub prefix: ipv6_addr_t,
}
Expand description
@brief Route information option format @extends ndp_opt_t
Fields§
§type_: u8
< option type
len: u8
< length in units of 8 octets
prefix_len: u8
< prefix length
flags: u8
< flags
route_ltime: network_uint32_t
< route lifetime
prefix: ipv6_addr_t
< prefix
Trait Implementations§
source§impl Clone for ndp_opt_ri_t
impl Clone for ndp_opt_ri_t
source§fn clone(&self) -> ndp_opt_ri_t
fn clone(&self) -> ndp_opt_ri_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 ndp_opt_ri_t
impl Debug for ndp_opt_ri_t
source§impl Default for ndp_opt_ri_t
impl Default for ndp_opt_ri_t
impl Copy for ndp_opt_ri_t
Auto Trait Implementations§
impl RefUnwindSafe for ndp_opt_ri_t
impl Send for ndp_opt_ri_t
impl Sync for ndp_opt_ri_t
impl Unpin for ndp_opt_ri_t
impl UnwindSafe for ndp_opt_ri_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