Searched refs:th_sum (Results 26 - 41 of 41) sorted by relevance

12

/netbsd-current/sys/net/npf/
H A Dnpf_inet.c760 ocksum = &th->th_sum;
/netbsd-current/sys/dev/pci/
H A Dif_bge.c5264 th.th_sum = in_cksum_phdr(ip.ip_src.s_addr,
5267 m_copyback(m0, hlen + offsetof(struct tcphdr, th_sum),
5268 sizeof(th.th_sum), &th.th_sum);
5292 th->th_sum = 0;
5299 th->th_sum = in_cksum_phdr(ip->ip_src.s_addr,
H A Dif_wm.c8686 th.th_sum = in_cksum_phdr(ip.ip_src.s_addr,
8696 th.th_sum = in6_cksum_phdr(&ip6.ip6_src,
8699 m_copyback(m0, hlen + offsetof(struct tcphdr, th_sum),
8700 sizeof(th.th_sum), &th.th_sum);
8716 th->th_sum = in_cksum_phdr(ip->ip_src.s_addr,
8724 th->th_sum = in6_cksum_phdr(&ip6->ip6_src,
8779 WTX_TCPIP_TUCSO(offset + offsetof(struct tcphdr, th_sum)) |
9354 th.th_sum = in_cksum_phdr(ip.ip_src.s_addr,
9364 th.th_sum
[all...]
H A Dif_vmx.c3019 csum_off = offsetof(struct tcphdr, th_sum);
3041 tcp->th_sum = in_cksum_phdr(ip->ip_src.s_addr,
3047 tcp->th_sum = in6_cksum_phdr(&ip6->ip6_src,
H A Dif_dge.c1133 DGE_TCPIP_TUCSO(offset + offsetof(struct tcphdr, th_sum)) |
/netbsd-current/sys/kern/
H A Duipc_mbufdebug.c835 (*pr)("TCP: checksum = 0x%04x\n", ntohs(tcp.th_sum));
/netbsd-current/sys/external/bsd/ipf/netinet/
H A Dip_state.c3420 ipf_fix_outcksum(0, &tcp->th_sum, is->is_sumd[0], 0);
3428 ipf_fix_outcksum(0, &tcp->th_sum, is->is_sumd[1], 0);
3457 ipf_fix_incksum(0, &tcp->th_sum, is->is_sumd[0], 0);
3465 ipf_fix_incksum(0, &tcp->th_sum, is->is_sumd[1], 0);
H A Dip_nat.c3755 csump = (u_short *)&tcp->th_sum;
5741 csump = &tcp->th_sum;
H A Dfil.c3446 csump = &((tcphdr_t *)l4hdr)->th_sum;
6521 csump = &((tcphdr_t *)fin->fin_dp)->th_sum;
H A Dip_nat6.c1592 csump = (u_short *)&tcp->th_sum;
/netbsd-current/external/bsd/ipf/dist/tools/
H A Dipftest.c843 csump += offsetof(tcphdr_t, th_sum);
/netbsd-current/sys/dev/pci/ixgbe/
H A Dix_txrx.c1032 th->th_sum = in_cksum_phdr(ip->ip_src.s_addr,
1048 th->th_sum = in6_cksum_phdr(&ip6->ip6_src,
/netbsd-current/external/bsd/ipf/dist/ipsend/
H A Diptests.c965 t->th_sum = 0;
/netbsd-current/sys/dev/pci/igc/
H A Dif_igc.c3337 * others aren't. th->th_sum may be adjusted.
3398 th->th_sum = in_cksum_phdr(ip->ip_src.s_addr, ip->ip_dst.s_addr,
3415 th->th_sum = in6_cksum_phdr(&ip6->ip6_src, &ip6->ip6_dst, 0,
/netbsd-current/sys/netinet/
H A Dtcp_input.c3054 th0.th_sum = 0;
/netbsd-current/external/bsd/ipf/dist/
H A Dip_nat6.c1631 csump = (u_short *)&tcp->th_sum;

Completed in 296 milliseconds

12