Struct riot_sys::ndp_rtr_adv_t[][src]

#[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

@see RFC 4861, section 4.2

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.