[−][src]Struct capsule::packets::icmp::v6::TimeExceeded
Time Exceeded Message defined in IETF RFC 4443.
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type | Code | Checksum | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Unused | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | As much of invoking packet | + as possible without the ICMPv6 packet + | exceeding the minimum IPv6 MTU [IPv6] |
Implementations
impl<E: Ipv6Packet> TimeExceeded<E>
[src]
Trait Implementations
impl<E: Ipv6Packet> Debug for TimeExceeded<E>
[src]
impl<E: Ipv6Packet> Icmpv6Message for TimeExceeded<E>
[src]
type Envelope = E
The preceding packet type that encapsulates this message.
fn msg_type() -> Icmpv6Type
[src]
fn icmp(&self) -> &Icmpv6<Self::Envelope>
[src]
fn icmp_mut(&mut self) -> &mut Icmpv6<Self::Envelope>
[src]
fn into_icmp(self) -> Icmpv6<Self::Envelope>
[src]
unsafe fn clone(&self, internal: Internal) -> Self
[src]
fn try_parse(
icmp: Icmpv6<Self::Envelope>,
_internal: Internal
) -> Fallible<Self>
[src]
icmp: Icmpv6<Self::Envelope>,
_internal: Internal
) -> Fallible<Self>
fn try_push(icmp: Icmpv6<Self::Envelope>, _internal: Internal) -> Fallible<Self>
[src]
fn reconcile(&mut self)
[src]
Reconciles the derivable header fields against the changes made to the packet.
- the whole packet is truncated so it doesn't exceed the minimum IPv6 MTU.
checksum
is computed based on the pseudo-header and theTimeExceeded
message.
impl<E: Ipv6Packet> Icmpv6Packet for TimeExceeded<E>
[src]
fn msg_type(&self) -> Icmpv6Type
[src]
fn code(&self) -> u8
[src]
fn set_code(&mut self, code: u8)
[src]
fn checksum(&self) -> u16
[src]
impl<E: Ipv6Packet> Packet for TimeExceeded<E>
[src]
type Envelope = E
The preceding packet type that encapsulates this packet. Read more
fn envelope(&self) -> &Self::Envelope
[src]
fn envelope_mut(&mut self) -> &mut Self::Envelope
[src]
fn offset(&self) -> usize
[src]
fn header_len(&self) -> usize
[src]
unsafe fn clone(&self, internal: Internal) -> Self
[src]
fn try_parse(envelope: Self::Envelope, _internal: Internal) -> Fallible<Self>
[src]
fn try_push(envelope: Self::Envelope, internal: Internal) -> Fallible<Self>
[src]
fn deparse(self) -> Self::Envelope
[src]
fn reconcile(&mut self)
[src]
fn mbuf(&self) -> &Mbuf
[src]
fn mbuf_mut(&mut self) -> &mut Mbuf
[src]
fn payload_offset(&self) -> usize
[src]
fn len(&self) -> usize
[src]
fn payload_len(&self) -> usize
[src]
fn parse<T: Packet<Envelope = Self>>(self) -> Fallible<T> where
Self: Sized,
[src]
Self: Sized,
fn peek<T: Packet<Envelope = Self>>(&self) -> Fallible<Immutable<T>> where
Self: Sized,
[src]
Self: Sized,
fn push<T: Packet<Envelope = Self>>(self) -> Fallible<T> where
Self: Sized,
[src]
Self: Sized,
fn remove(self) -> Fallible<Self::Envelope> where
Self: Sized,
[src]
Self: Sized,
fn remove_payload(&mut self) -> Fallible<()>
[src]
fn reset(self) -> Mbuf where
Self: Sized,
[src]
Self: Sized,
fn reconcile_all(&mut self)
[src]
Auto Trait Implementations
impl<E> RefUnwindSafe for TimeExceeded<E> where
E: RefUnwindSafe,
E: RefUnwindSafe,
impl<E> !Send for TimeExceeded<E>
impl<E> !Sync for TimeExceeded<E>
impl<E> Unpin for TimeExceeded<E> where
E: Unpin,
E: Unpin,
impl<E> UnwindSafe for TimeExceeded<E> where
E: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,