Lines Matching defs:sum
678 u_short sum = 0;
834 sum = ip_cksum(m, hlen);
835 if (sum) {
1240 sum = IPREASS_HASH(ip->ip_src.s_addr, ip->ip_id);
1245 for (fp = ipq[sum].next; fp != &ipq[sum]; fp = fp->next)
1302 m = ip_reass(m, fp, &ipq[sum],
1305 m = ip_reass(m, fp, &ipq[sum]);
2848 u_short sum;
2861 sum = !(m->m_pkthdr.csum_flags & CSUM_IP_VALID);
2871 sum = in_cksum(m, hlen);
2879 sum = 0;
2885 if (sum) {
2889 return sum;