Function etherparse::checksum::u64_16bit_word::ones_complement
source ยท pub fn ones_complement(sum: u64) -> u16
Expand description
Converts summed up words from an u64 to an u16 which can be used in a ipv4.