Struct netsim_embed::icmpv6::ndp::Redirect [−][src]
pub struct Redirect {
pub icmpv6_type: Icmpv6Type,
pub icmpv6_code: Icmpv6Code,
pub checksum: u16,
pub reserved: u32,
pub target_addr: Ipv6Addr,
pub dest_addr: Ipv6Addr,
pub options: Vec<NdpOption, Global>,
pub payload: Vec<u8, Global>,
}Redirect Message Format RFC 4861 § 4.5
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Code | Checksum |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Reserved |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
+ +
| |
+ Target Address +
| |
+ +
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
+ +
| |
+ Destination Address +
| |
+ +
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Options ...
+-+-+-+-+-+-+-+-+-+-+-+-
Fields
icmpv6_type: Icmpv6Typeicmpv6_code: Icmpv6Codechecksum: u16reserved: u32target_addr: Ipv6Addrdest_addr: Ipv6Addroptions: Vec<NdpOption, Global>payload: Vec<u8, Global>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Redirect
impl RefUnwindSafe for Redirectimpl UnwindSafe for Redirect
impl UnwindSafe for RedirectBlanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,