libpacket::icmp
pub fn checksum(packet: &IcmpPacket<'_>) -> u16be
Calculates a checksum of an ICMP packet.