Searched refs:ip_sum (Results 1 – 4 of 4) sorted by relevance
526 uint16_t sum, ip_sum; in ip_print() local627 ip_sum = EXTRACT_16BITS(&ipds->ip->ip_sum); in ip_print()628 ND_PRINT((ndo, ", bad cksum %x (->%x)!", ip_sum, in ip_print()629 in_cksum_shouldbe(ip_sum, sum))); in ip_print()
67 uint16_t ip_sum; /* checksum */ member
212 ip.ip_sum = 0; in send_via_bpf()217 ip.ip_sum = (sum == 0xffff) ? sum : ~sum; in send_via_bpf()
1633 ip->ip_sum = checksum(ip, sizeof(*ip)); in dhcp_makeudppacket()3236 p.ip.ip_sum = 0; in valid_udp_packet()