Struct xenet_packet::icmpv6::ndp::NdpOption
source · pub struct NdpOption {
pub option_type: NdpOptionType,
pub length: u8,
pub data: Vec<u8>,
}
Expand description
Neighbor Discovery Option RFC 4861 § 4.6
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
~ ... ~
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Fields§
§option_type: NdpOptionType
§length: u8
§data: Vec<u8>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for NdpOption
impl Send for NdpOption
impl Sync for NdpOption
impl Unpin for NdpOption
impl UnwindSafe for NdpOption
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