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

1 2

  /src/sys/netinet/
tcp.h 56 th_off:4; /* data offset */ member in struct:tcphdr
60 uint8_t th_off:4, /* data offset */ member in struct:tcphdr
in_offload.c 93 thlen = th->th_off * 4;
tcp_subr.c 583 n->th_off = 5;
706 if ((flags & TH_SYN) == 0 || sizeof(*th0) > (th0->th_off << 2))
709 tlen = th0->th_off << 2;
777 th->th_off = sizeof (struct tcphdr) >> 2;
780 tlen += th->th_off << 2;
tcp_var.h 185 #define ti_off ti_t.th_off
tcp_syncache.c 1246 th->th_off = (sizeof(struct tcphdr) + optlen) >> 2;
tcp_input.c 1330 thlen = th->th_off << 2;
3029 tcphdrlen = th->th_off * 4;
tcp_output.c 1369 th->th_off = (sizeof (struct tcphdr) + optlen) >> 2;
  /src/sys/net/
slcompress.c 243 hlen += th->th_off;
273 hlen += th->th_off;
281 th->th_off != oth->th_off ||
284 (th->th_off > 5 &&
285 memcmp(th + 1, oth + 1, (th->th_off - 5) << 2)))
501 hlen += ((struct tcphdr *)&((char *)ip)[hlen])->th_off << 2;
  /src/sys/dev/pci/cxgb/
cxgb_lro.c 133 int olen = (th->th_off << 2) - sizeof (*th);
168 s->seq = ntohl(th->th_seq) + ip_len - sizeof(*ih) - (th->th_off << 2);
252 int plen, tcpiphlen, olen = (nth->th_off << 2) - sizeof (*nth);
281 tcpiphlen = (nth->th_off << 2) + sizeof (*nih);
cxgb_sge.c 1242 V_LSO_TCPHDR_WORDS(tcp->th_off);
  /src/usr.sbin/npf/npftest/
npfstream.c 59 tcpdlen = ntohs(ip->ip_len) - hlen - (th->th_off << 2);
  /src/sys/net/npf/
npf_inet.c 260 thlen = th->th_off << 2;
290 cnt = (th->th_off << 2) - sizeof(struct tcphdr);
364 cnt = (th->th_off << 2) - sizeof(struct tcphdr);
574 if (__predict_false(th->th_off < 5)) {
npf_sendpkt.c 175 th->th_off = sizeof(struct tcphdr) >> 2;
  /src/sys/dist/pf/net/
pf_norm.c 1349 if (th->th_off < (sizeof(struct tcphdr) >> 2))
1431 if (th->th_off > (sizeof(struct tcphdr) >> 2) && src->scrub &&
1432 pf_pull_hdr(m, off, hdr, th->th_off << 2, NULL, NULL, pd->af)) {
1436 hlen = (th->th_off << 2) - sizeof(struct tcphdr);
1529 if (th->th_off > (sizeof(struct tcphdr) >> 2) &&
1532 pf_pull_hdr(m, off, hdr, th->th_off << 2, NULL, NULL, pd->af)) {
1536 hlen = (th->th_off << 2) - sizeof(struct tcphdr);
1601 (th->th_off << 2) - sizeof(struct tcphdr), hdr +
1887 thoff = th->th_off << 2;
pf_osfp.c 104 pd->proto != IPPROTO_TCP || (tcp->th_off << 2) < sizeof(*tcp))
114 if (!pf_pull_hdr(m, off, hdr, tcp->th_off << 2, NULL, NULL,
193 cnt = (tcp->th_off << 2) - sizeof(*tcp);
pf.c 1587 int hlen = (th->th_off << 2) - sizeof(*th), thoptlen = hlen;
1777 th->th_off = tlen >> 2;
2865 pf_get_wscale(struct mbuf *m, int off, u_int16_t th_off, sa_family_t af)
2872 hlen = th_off << 2; /* hlen <= sizeof(hdr) */
2905 pf_get_mss(struct mbuf *m, int off, u_int16_t th_off, sa_family_t af)
2912 hlen = th_off << 2; /* hlen <= sizeof(hdr) */
3540 len = pd->tot_len - off - (th->th_off << 2);
3557 th->th_off, af);
3718 mss = pf_get_mss(m, off, th->th_off, af);
3983 src->wscale = pf_get_wscale(m, off, th->th_off,
    [all...]
  /src/sys/netinet6/
in6_offload.c 95 thlen = th->th_off * 4;
  /src/usr.sbin/npf/npftest/libnpftest/
npf_mbuf_subr.c 154 th->th_off = sizeof(struct tcphdr) >> 2;
  /src/sys/kern/
uipc_mbufdebug.c 832 (*pr)("TCP: Header Length = %u\n", tcp.th_off << 2);
856 len = (tcp.th_off << 2) - sizeof(struct tcphdr);
  /src/sys/netipsec/
ipsec_input.c 145 off = th->th_off << 2;
  /src/sys/external/bsd/ipf/netinet/
ip_compat.h 801 # define TCP_OFF(x) (x)->th_off
804 # define TCP_OFF_A(x,y) (x)->th_off = (y)
  /src/sys/dev/pci/
if_jme.c 1389 hlen += th.th_off << 2;
1418 hlen += th->th_off << 2;
if_bge.c 5298 hlen += th.th_off << 2;
5312 ip_tcp_hlen = iphl + (th->th_off << 2);
if_vmx.c 3055 *start += (tcp->th_off << 2);
  /src/sys/dev/pci/ixgbe/
ix_txrx.c 1062 tcp_hlen = th->th_off << 2;

Completed in 207 milliseconds

1 2