1 #ifndef GNUNET_VPN_CHECKSUM_H
3 #define GNUNET_VPN_CHECKSUM_H
7 uint32_t calculate_checksum_update (uint32_t sum, uint16_t * hdr, short len);
9 uint16_t calculate_checksum_end (uint32_t sum);
12 * Calculate the checksum of an IPv4-Header
14 uint16_t calculate_ip_checksum (uint16_t * hdr, short len);
16 #endif /* end of include guard: GNUNET-VPN-CHECKSUM_H */