Module checksum

Module checksum 

Source
Expand description

Internet checksum calculation.

Functionsยง

internet_checksum
Calculates the internet checksum for the provided buf via the method described in https://www.ietf.org/rfc/rfc1071.txt.
internet_checksum_intermediary
Calculates the intermediary internet checksum for the provided buf via the method described in https://www.ietf.org/rfc/rfc1071.txt without finalizing the checksum.
internet_checksum_up_to_64_bytes
Calculates the internet checksum for buffers up to and including 64 bytes.