Searched refs:th_sum (Results 1 - 10 of 10) sorted by relevance
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | tcpip.h | 98 #define ti_sum ti_t.th_sum
|
H A D | tcp.h | 106 unsigned short th_sum; /* checksum */ member in struct:tcphdr
|
H A D | tcp_lro.c | 800 th->th_sum = in_addword(pseudo, (m->m_pkthdr.csum_data & 0xFFFF)); 803 th->th_sum = m->m_pkthdr.csum_data; 805 th->th_sum = in_pseudo(ip->ip_src.s_addr, 809 th->th_sum ^= 0xffff; 822 th->th_sum = in_cksum(m, len); 827 if (th->th_sum) {
|
H A D | tcp_output.c | 1589 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum); 1591 th->th_sum = in_addword(th->th_sum, 1598 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum); 1600 th->th_sum = in_addword(th->th_sum,
|
H A D | tcp_input.c | 1167 th->th_sum = m->m_pkthdr.csum_data; 1177 th->th_sum = 0; 1179 th->th_sum = 0xffff; 1183 th->th_sum ^= 0xffff; 1184 if (th->th_sum) { 1274 th->th_sum = in_addword(pseudo, (m->m_pkthdr.csum_data & 0xFFFF)); 1277 th->th_sum = m->m_pkthdr.csum_data; 1279 th->th_sum = in_pseudo(ip->ip_src.s_addr, 1283 th->th_sum ^= 0xffff; 1296 th->th_sum [all...] |
H A D | tcp_subr.c | 500 tcp_hdr->th_sum = in6_cksum_phdr(&inp->in6p_laddr, 518 tcp_hdr->th_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr, 723 nth->th_sum = 0; 724 nth->th_sum = in6_cksum_phdr(&ip6->ip6_src, 728 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum); 736 nth->th_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr, 739 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
|
H A D | ip_compat.h | 547 __u16 th_sum;
|
H A D | ip_fw2.c | 1799 tcp->th_sum = in_cksum(m, m->m_pkthdr.len);
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | pf_norm.c | 2188 th->th_sum = pf_cksum_fixup(th->th_sum, ov, nv, 0); 2194 th->th_sum = pf_cksum_fixup(th->th_sum, th->th_urp, 0, 0); 2412 &th->th_sum, 2428 &th->th_sum, htonl(tsecr), 2772 th->th_sum = pf_cksum_fixup(th->th_sum,
|
H A D | pf.c | 2319 pf_change_a(&sack.start, &th->th_sum, 2322 pf_change_a(&sack.end, &th->th_sum, 2489 th->th_sum = in_cksum(m, len); 2515 th->th_sum = in6_cksum(m, IPPROTO_TCP, 4112 &th->th_sport, pd->ip_sum, &th->th_sum, 4210 &th->th_dport, pd->ip_sum, &th->th_sum, 4428 &th->th_sum, &pd->baddr, 4501 &th->th_sum, &pd->baddr, 4829 pf_change_a(&th->th_seq, &th->th_sum, 5013 &th->th_sum, [all...] |
Completed in 112 milliseconds