Function is_icmp_error
pub fn is_icmp_error(packet: IpPacket<'_>) -> boolAvailable on crate feature
net only.Expand description
Whether a packet carries an ICMP error (rather than an informational message). Returns false if fragmentation prevents inspecting the type.