/freebsd-9.3-release/sys/netinet/ |
H A D | tcpip.h | 56 #define ti_sum ti_t.th_sum
|
H A D | tcp_lro.c | 118 ch = th->th_sum = 0x0000; 275 th->th_sum = (le->ulp_csum & 0xffff); 276 th->th_sum = ~th->th_sum; 278 th->th_sum = TCP_LRO_INVALID_CSUM; 454 csum = th->th_sum; 606 th->th_sum = csum; /* Restore checksum on first packet. */
|
H A D | tcp.h | 76 u_short th_sum; /* checksum */ member in struct:tcphdr
|
H A D | tcp_timewait.c | 578 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum); 582 th->th_sum = in6_cksum_pseudo(ip6, 595 th->th_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr,
|
H A D | tcp_subr.c | 447 th->th_sum = 0; /* in_pseudo() is called later for ipv4 */ 624 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum); 628 nth->th_sum = in6_cksum_pseudo(ip6, 640 nth->th_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr, 1863 * When called from tcp_input(), we can be sure that th_sum has been 2011 savecsum = th->th_sum; 2012 th->th_sum = 0; 2014 th->th_sum = savecsum;
|
H A D | tcp_input.c | 622 th->th_sum = m->m_pkthdr.csum_data; 624 th->th_sum = in6_cksum_pseudo(ip6, tlen, 626 th->th_sum ^= 0xffff; 628 th->th_sum = in6_cksum(m, IPPROTO_TCP, off0, tlen); 629 if (th->th_sum) { 675 th->th_sum = m->m_pkthdr.csum_data; 677 th->th_sum = in_pseudo(ip->ip_src.s_addr, 682 th->th_sum ^= 0xffff; 695 th->th_sum = in_cksum(m, len); 697 if (th->th_sum) { [all...] |
/freebsd-9.3-release/sys/netinet/libalias/ |
H A D | alias_skinny.c | 218 tc->th_sum = 0; 222 tc->th_sum = TcpChecksum(pip); 261 tc->th_sum = 0; 265 tc->th_sum = TcpChecksum(pip); 293 tc->th_sum = 0; 297 tc->th_sum = TcpChecksum(pip);
|
H A D | alias_smedia.c | 419 tc->th_sum = 0; 423 tc->th_sum = TcpChecksum(pip); 467 tc->th_sum = 0; 471 tc->th_sum = TcpChecksum(pip);
|
H A D | alias_irc.c | 461 tc->th_sum = 0; 465 tc->th_sum = TcpChecksum(pip);
|
H A D | alias_pptp.c | 350 ADJUST_CHECKSUM(accumulate, tc->th_sum); 422 ADJUST_CHECKSUM(accumulate, tc->th_sum);
|
H A D | alias_ftp.c | 764 tc->th_sum = 0; 768 tc->th_sum = TcpChecksum(pip);
|
H A D | alias_proxy.c | 372 tc->th_sum = 0; 376 tc->th_sum = TcpChecksum(pip);
|
/freebsd-9.3-release/contrib/ipfilter/ipsend/ |
H A D | tcpip.h | 83 #define ti_sum ti_t.th_sum
|
H A D | ip.c | 294 t2->th_sum = 0; 295 t2->th_sum = chksum((u_short *)ip2, thlen + sizeof(ip_t));
|
/freebsd-9.3-release/contrib/tcpdump/ |
H A D | tcp.h | 50 u_int16_t th_sum; /* checksum */ member in struct:tcphdr
|
H A D | print-tcp.c | 400 tcp_sum = EXTRACT_16BITS(&tp->th_sum); 414 tcp_sum = EXTRACT_16BITS(&tp->th_sum); 798 savecsum = tp1.th_sum; 799 tp1.th_sum = 0; 801 tp1.th_sum = savecsum;
|
/freebsd-9.3-release/usr.sbin/ppp/ |
H A D | tcpmss.c | 136 ADJUST_CHECKSUM(accumulate, tc->th_sum);
|
H A D | slcompress.c | 378 deltaA = ntohs(th->th_sum); 503 th->th_sum = htons((*cp << 8) | cp[1]);
|
/freebsd-9.3-release/contrib/ipfilter/ipsd/Celler/ |
H A D | ip_compat.h | 148 __u16 th_sum; member in struct:__anon1598
|
/freebsd-9.3-release/contrib/ipfilter/ipsend/.OLD/ |
H A D | ip_compat.h | 150 __u16 th_sum; member in struct:__anon1605
|
/freebsd-9.3-release/sys/netgraph/ |
H A D | ng_tcpmss.c | 435 sum = be16dec(&tc->th_sum); 437 be16enc(&tc->th_sum, sum);
|
H A D | ng_nat.c | 806 th->th_sum = in_pseudo(ip->ip_src.s_addr, 812 th_sum);
|
/freebsd-9.3-release/sys/net/ |
H A D | slcompress.c | 368 deltaA = ntohs(th->th_sum); 535 th->th_sum = htons((*cp << 8) | cp[1]);
|
/freebsd-9.3-release/sys/netpfil/ipfw/ |
H A D | ip_fw_nat.c | 360 th->th_sum = cksum; 362 offsetof(struct tcphdr, th_sum);
|
/freebsd-9.3-release/sys/contrib/pf/net/ |
H A D | pf_norm.c | 1660 th->th_sum = pf_proto_cksum_fixup(m, th->th_sum, ov, nv, 0); 1666 th->th_sum = pf_proto_cksum_fixup(m, th->th_sum, th->th_urp, 1894 &th->th_sum, 1910 &th->th_sum, htonl(tsecr), 2290 th->th_sum = pf_proto_cksum_fixup(m, 2291 th->th_sum, *mss, htons(r->max_mss), 0);
|