pub fn ipv4_checksum( packet: &TcpPacket<'_>, source: &Ipv4Addr, destination: &Ipv4Addr, ) -> u16
Calculate a checksum for a packet built on IPv4.