Searched refs:ipv4cksum (Results 1 – 4 of 4) sorted by relevance
81 if (ipv4cksum((uint16_t *)icmphp, icmp_len) != 0) { in icmp4()123 icmphp->icmp_cksum = ipv4cksum((uint16_t *)icmphp, in icmp4()
746 if (ipv4cksum((uint16_t *)iphp, iphlen) != 0) { in ipv4_input()1050 iphp->ip_sum = ipv4cksum((uint16_t *)iphp, sizeof (struct ip)); in ipv4_output()1099 iph->ip_sum = ipv4cksum((uint16_t *)iph, sizeof (struct ip)); in ipv4_tcp_output()
46 extern uint16_t ipv4cksum(uint16_t *, uint16_t);
36 ipv4cksum(uint16_t *cp, uint16_t count) in ipv4cksum() function