Struct riot_sys::ndp_rtr_adv_t
source · #[repr(C, packed)]pub struct ndp_rtr_adv_t {
pub type_: u8,
pub code: u8,
pub csum: network_uint16_t,
pub cur_hl: u8,
pub flags: u8,
pub ltime: network_uint16_t,
pub reach_time: network_uint32_t,
pub retrans_timer: network_uint32_t,
}
Expand description
@brief Router advertisement message format. @extends icmpv6_hdr_t
Fields§
§type_: u8
< message type
code: u8
< message code
csum: network_uint16_t
< checksum
cur_hl: u8
< current hop limit
flags: u8
< flags
ltime: network_uint16_t
< router lifetime
reach_time: network_uint32_t
< reachable time
retrans_timer: network_uint32_t
< retransmission timer
Trait Implementations§
source§impl Clone for ndp_rtr_adv_t
impl Clone for ndp_rtr_adv_t
source§fn clone(&self) -> ndp_rtr_adv_t
fn clone(&self) -> ndp_rtr_adv_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 more