ip_cksum
ip->ip_sum = ip_cksum(ip, sizeof(*ip));
if (hlen != sizeof(*ip) || ip_cksum(ip, hlen) != 0) {
int ip_cksum(const void *, size_t);