41#ifndef _DWMIPV4UTILS_HH_
42#define _DWMIPV4UTILS_HH_
56 uint32_t
Sum(
const uint8_t *ptr, uint16_t len);
uint32_t Sum(const uint8_t *ptr, uint16_t len)
Compute the IP sum (part of checksum computation) of the memory at ptr of length len.
void AddCarries(uint32_t &sum)
Part of IP checksum computation... add the carries and do the 1's complement.