Searched refs:th_sum (Results 1 - 11 of 11) sorted by relevance

/xnu-2782.1.97/bsd/netinet/
H A Dtcpip.h98 #define ti_sum ti_t.th_sum
H A Dtcp.h106 unsigned short th_sum; /* checksum */ member in struct:tcphdr
H A Dtcp_subr.c534 tcp_hdr->th_sum = in6_pseudo(&inp->in6p_laddr, &inp->in6p_faddr,
551 tcp_hdr->th_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr,
756 nth->th_sum = 0;
757 nth->th_sum = in6_pseudo(&ip6->ip6_src, &ip6->ip6_dst,
760 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
768 nth->th_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr,
771 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
H A Dtcp_output.c1822 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
1824 th->th_sum = in_addword(th->th_sum,
1831 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
1833 th->th_sum = in_addword(th->th_sum,
H A Dtcp_input.c5574 th->th_sum = m->m_pkthdr.csum_rx_val;
5606 th->th_sum = in_pseudo(ip->ip_src.s_addr,
5610 th->th_sum ^= 0xffff;
5624 th->th_sum = in_cksum(m, len);
5643 th->th_sum = m->m_pkthdr.csum_rx_val;
5675 th->th_sum = in6_pseudo(
5679 th->th_sum ^= 0xffff;
5682 th->th_sum = in6_cksum(m, IPPROTO_TCP, off, tlen);
5692 if (th->th_sum != 0) {
H A Dip_compat.h547 __u16 th_sum;
H A Dip_fw2.c1879 tcp->th_sum = in_cksum(m, m->m_pkthdr.len);
/xnu-2782.1.97/bsd/dev/dtrace/scripts/
H A Dtcp.d138 tcp_checksum = ntohs(T->th_sum);
/xnu-2782.1.97/bsd/net/
H A Dpf_norm.c2198 th->th_sum = pf_cksum_fixup(th->th_sum, ov, nv, 0);
2204 th->th_sum = pf_cksum_fixup(th->th_sum, th->th_urp, 0, 0);
2422 &th->th_sum,
2438 &th->th_sum, htonl(tsecr),
2782 th->th_sum = pf_cksum_fixup(th->th_sum,
H A Dpf.c2348 pf_change_a(&sack.start, &th->th_sum,
2351 pf_change_a(&sack.end, &th->th_sum,
2521 th->th_sum = in_cksum(m, len);
2546 th->th_sum = in6_cksum(m, IPPROTO_TCP,
4157 &th->th_sport, pd->ip_sum, &th->th_sum,
4255 &th->th_dport, pd->ip_sum, &th->th_sum,
4473 &th->th_sum, &pd->baddr,
4546 &th->th_sum, &pd->baddr,
4880 pf_change_a(&th->th_seq, &th->th_sum,
5064 &th->th_sum,
[all...]
H A Dpacket_mangler.c1019 tcp->th_sum = 0;
1022 tcp->th_sum = tsum;

Completed in 175 milliseconds