Searched refs:th_sum (Results 1 - 7 of 7) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/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_subr.c | 404 tcp_hdr->th_sum = 0; 420 tcp_hdr->th_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr, 624 nth->th_sum = 0; 625 nth->th_sum = in6_cksum(m, IPPROTO_TCP, 635 nth->th_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr, 638 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
|
H A D | tcp_output.c | 1317 th->th_sum = in6_cksum(m, IPPROTO_TCP, sizeof(struct ip6_hdr), 1323 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum); 1325 th->th_sum = in_addword(th->th_sum,
|
H A D | ip_compat.h | 547 __u16 th_sum;
|
H A D | tcp_input.c | 668 th->th_sum = in_addword(pseudo, (m->m_pkthdr.csum_data & 0xFFFF)); 671 th->th_sum = m->m_pkthdr.csum_data; 673 th->th_sum = in_pseudo(ip->ip_src.s_addr, 677 th->th_sum ^= 0xffff; 691 th->th_sum = in_cksum(m, len); 699 if (th->th_sum) {
|
H A D | ip_fw2.c | 1302 tcp->th_sum = in_cksum(m, m->m_pkthdr.len);
|
Completed in 43 milliseconds