Home | History | Annotate | Download | only in npf

Lines Matching refs:cksum

106 	uint16_t cksum = ip->ip_sum;
118 cksum = npf_fixup16_cksum(cksum, oid, nid);
126 cksum = npf_fixup16_cksum(cksum, ip_off, nip_off);
132 cksum = npf_fixup16_cksum(cksum, ttl, minttl);
137 ip->ip_sum = cksum;
148 uint16_t cksum, mss, maxmss = np->n_maxmss;
195 cksum = th->th_sum;
196 cksum = npf_fixup16_cksum(cksum, old[0], new[0]);
197 cksum = npf_fixup16_cksum(cksum, old[1], new[1]);
199 cksum = npf_fixup16_cksum(th->th_sum, mss, maxmss);
201 th->th_sum = cksum;