pnet_packet::icmp
pub fn checksum(packet: &IcmpPacket) -> u16be
Calculates a checksum of an ICMP packet.