const fn possible_icmp_payload_length(mtu: usize) -> usize {
    mtu - packet_formats::ipv4::testutil::IPV4_MIN_HDR_LEN
        - packet_formats::ethernet::testutil::ETHERNET_HDR_LEN_NO_TAG
        - ping::ICMP_HEADER_LEN
}
/// Returns the maximum number of bytes that an ICMP packet body could
/// potentially fill given an `mtu`.
///
/// The returned value excludes the relevant headers.
Returns the maximum number of bytes that an ICMP packet body could
potentially fill given an `mtu`.

The returned value excludes the relevant headers.
Returns the maximum number of bytes that an ICMP packet body could potentially fill given an ` mtu ` . The returned value excludes the relevant headers .
const fn possible_icmp_payload_length(mtu: usize) -> usize {
    mtu - packet_formats::ipv4::testutil::IPV4_MIN_HDR_LEN
        - packet_formats::ethernet::testutil::ETHERNET_HDR_LEN_NO_TAG
        - ping::ICMP_HEADER_LEN
}
const fn possible_icmp_payload_length ( mtu : usize ) -> usize { mtu - packet_formats :: ipv4 :: testutil :: IPV4_MIN_HDR_LEN - packet_formats :: ethernet :: testutil :: ETHERNET_HDR_LEN_NO_TAG - ping :: ICMP_HEADER_LEN }
Returns the maximum number of bytes that an ICMP packet body could
potentially fill given an `mtu`.
Returns the maximum number of bytes that an ICMP packet body could potentially fill given an ` mtu ` .
mtu
usize
mtu
usize