Struct libpacket::icmpv6::ndp::NdpOption [−][src]
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>