HomeSort by: relevance | last modified time | path
    Searched refs:th_sum (Results 1 - 25 of 32) sorted by relevancy

1 2

  /src/sys/net/npf/
npf_ext_normalize.c 195 cksum = th->th_sum;
199 cksum = npf_fixup16_cksum(th->th_sum, mss, maxmss);
201 th->th_sum = cksum;
npf_sendpkt.c 179 th->th_sum = in_cksum(m, len);
191 th->th_sum = in6_cksum(m, IPPROTO_TCP, sizeof(struct ip6_hdr),
npf_alg_icmp.c 370 l4cksum = th->th_sum;
426 cksum = npf_fixup16_cksum(cksum, l4cksum, th->th_sum);
npf_inet.c 780 ocksum = &th->th_sum;
  /src/sys/net/
ether_sw_offload.c 300 osum = th->th_sum;
301 th->th_sum = sum;
314 th->th_sum = osum;
slcompress.c 380 deltaA = ntohs(th->th_sum);
547 th->th_sum = htons((*cp << 8) | cp[1]);
  /src/sys/netinet/
tcp.h 73 uint16_t th_sum; /* checksum */ member in struct:tcphdr
in_offload.c 152 th->th_sum = phsum;
153 th->th_sum = in4_cksum(n, 0, off + iphlen, thlen + mss);
tcp_output.c 1427 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
1436 th->th_sum = in_cksum_addword(th->th_sum,
1443 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
1452 th->th_sum = in_cksum_addword(th->th_sum,
tcp_syncache.c 1169 /* th_x2, th_sum, th_urp already 0 from memset */
1313 th->th_sum = 0;
1314 th->th_sum = in4_cksum(m, IPPROTO_TCP, hlen, tlen - hlen);
1322 th->th_sum = 0;
1323 th->th_sum = in6_cksum(m, IPPROTO_TCP, hlen, tlen - hlen);
tcp_subr.c 538 n->th_sum = in_cksum_phdr(ipov->ih_src.s_addr,
569 n->th_sum = in6_cksum_phdr(&in6p_laddr(inp),
795 th->th_sum = 0;
796 th->th_sum = in_cksum(m, hlen + tlen);
804 th->th_sum = 0;
805 th->th_sum = in6_cksum(m, IPPROTO_TCP, sizeof(struct ip6_hdr),
tcp_var.h 188 #define ti_sum ti_t.th_sum
  /src/sys/netinet6/
in6_offload.c 149 th->th_sum = phsum;
150 th->th_sum = in6_cksum(n, 0, off + iphlen, thlen + mss);
  /src/sys/arch/xen/xen/
xennet_checksum.c 165 m->m_pkthdr.csum_data = offsetof(struct tcphdr, th_sum);
  /src/sys/dist/pf/net/
pf_norm.c 1361 th->th_sum = pf_cksum_fixup(th->th_sum, ov, nv, 0);
1367 th->th_sum = pf_cksum_fixup(th->th_sum, th->th_urp, 0, 0);
1568 &th->th_sum,
1584 &th->th_sum, htonl(tsecr),
1908 th->th_sum = pf_cksum_fixup(th->th_sum,
pf.c 1623 pf_change_a(&SACK_START, &th->th_sum,
1626 pf_change_a(&SACK_END, &th->th_sum,
1793 th->th_sum = in_cksum(m, len);
1838 th->th_sum = in6_cksum(m, IPPROTO_TCP,
3157 &th->th_sum, &pd->naddr, nport, 0, af);
3215 &th->th_sum, &pd->naddr, nport, 0, af);
3369 pd->ip_sum, &th->th_sum,
3404 pd->ip_sum, &th->th_sum,
3549 pf_change_a(&th->th_seq, &th->th_sum,
3706 pd->ip_sum, &th->th_sum, &pd->baddr
    [all...]
  /src/sys/netipsec/
ipsec_input.c 150 th->th_sum = 0;
151 th->th_sum = in4_cksum(m, IPPROTO_TCP, poff, plen);
  /src/sys/dev/pci/
if_jme.c 1370 th.th_sum = in_cksum_phdr(ip.ip_src.s_addr,
1382 th.th_sum = in6_cksum_phdr(&ip6.ip6_src,
1386 m_copyback(m, hlen + offsetof(struct tcphdr, th_sum),
1387 sizeof(th.th_sum), &th.th_sum);
1404 th->th_sum = in_cksum_phdr(ip->ip_src.s_addr,
1414 th->th_sum = in6_cksum_phdr(&ip6->ip6_src,
if_bge.c 5292 th.th_sum = in_cksum_phdr(ip.ip_src.s_addr,
5295 m_copyback(m0, hlen + offsetof(struct tcphdr, th_sum),
5296 sizeof(th.th_sum), &th.th_sum);
5320 th->th_sum = 0;
5327 th->th_sum = in_cksum_phdr(ip->ip_src.s_addr,
if_wm.c 8687 th.th_sum = in_cksum_phdr(ip.ip_src.s_addr,
8697 th.th_sum = in6_cksum_phdr(&ip6.ip6_src,
8700 m_copyback(m0, hlen + offsetof(struct tcphdr, th_sum),
8701 sizeof(th.th_sum), &th.th_sum);
8717 th->th_sum = in_cksum_phdr(ip->ip_src.s_addr,
8725 th->th_sum = in6_cksum_phdr(&ip6->ip6_src,
8780 WTX_TCPIP_TUCSO(offset + offsetof(struct tcphdr, th_sum)) |
9355 th.th_sum = in_cksum_phdr(ip.ip_src.s_addr,
9365 th.th_sum = in6_cksum_phdr(&ip6.ip6_src
    [all...]
  /src/sys/external/bsd/ipf/netinet/
ip_proxy.c 1025 u_short sum = ntohs(tcp->th_sum);
1027 tcp->th_sum = htons(sum);
1029 tcp->th_sum = fr_cksum(fin, ip,
ip_fil_netbsd.c 804 tcp2->th_sum = 0;
815 tcp2->th_sum = in6_cksum(m, IPPROTO_TCP,
825 tcp2->th_sum = in_cksum(m, hlen + sizeof(*tcp2));
ip_state.c 3420 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);
  /src/sys/kern/
uipc_mbufdebug.c 852 (*pr)("TCP: checksum = 0x%04x\n", ntohs(tcp.th_sum));
  /src/sys/dev/pci/ixgbe/
ix_txrx.c 1032 th->th_sum = in_cksum_phdr(ip->ip_src.s_addr,
1048 th->th_sum = in6_cksum_phdr(&ip6->ip6_src,

Completed in 91 milliseconds

1 2