Searched refs:th_off (Results 1 - 25 of 64) sorted by relevance

123

/freebsd-9.3-release/sys/netinet/
H A Dtcpip.h53 #define ti_off ti_t.th_off
H A Dtcp.h57 th_off:4; /* data offset */ member in struct:tcphdr
60 u_char th_off:4, /* data offset */ member in struct:tcphdr
H A Dtcp_lro.c119 l = th->th_off;
443 l = (th->th_off << 2);
H A Dtcp_timewait.c574 th->th_off = (sizeof(struct tcphdr) + optlen) >> 2;
/freebsd-9.3-release/contrib/ipfilter/ipsend/
H A Dtcpip.h80 #define ti_off ti_t.th_off
/freebsd-9.3-release/sys/net/
H A Dslcompress.c228 hlen += th->th_off;
260 hlen += th->th_off;
268 th->th_off != oth->th_off ||
271 (th->th_off > 5 &&
272 BCMP(th + 1, oth + 1, (th->th_off - 5) << 2)))
495 hlen += ((struct tcphdr *)&((char *)ip)[hlen])->th_off << 2;
/freebsd-9.3-release/contrib/ipfilter/ipsd/Celler/
H A Dip_compat.h141 __u8 th_off:4; member in struct:__anon1598
143 __u8 th_off:4; member in struct:__anon1598
/freebsd-9.3-release/contrib/ipfilter/ipsend/.OLD/
H A Dip_compat.h143 __u8 th_off:4; member in struct:__anon1605
145 __u8 th_off:4; member in struct:__anon1605
/freebsd-9.3-release/sys/netinet/libalias/
H A Dalias_ftp.c236 hlen = (pip->ip_hl + tc->th_off) << 2;
300 hlen = (pip->ip_hl + tc->th_off) << 2;
676 hlen = (pip->ip_hl + tc->th_off) << 2;
748 pip->ip_len, tc->th_seq, tc->th_off);
H A Dalias_smedia.c254 hlen = (pip->ip_hl + tc->th_off) << 2;
410 tc->th_seq, tc->th_off);
495 hlen = (pip->ip_hl + tc->th_off) << 2;
H A Dalias_irc.c182 hlen = (pip->ip_hl + tc->th_off) << 2;
445 pip->ip_len, tc->th_seq, tc->th_off);
H A Dalias_local.h345 u_short ip_len, u_long th_seq, u_int th_off);
392 return (&p[tcphdr->th_off * 4]);
H A Dalias_proxy.c332 hlen = (pip->ip_hl + tc->th_off) << 2;
355 tc->th_off);
H A Dalias_pptp.c446 hlen = (pip->ip_hl + tc->th_off) << 2;
H A Dalias_skinny.c314 hlen = (pip->ip_hl + tc->th_off) << 2;
/freebsd-9.3-release/usr.sbin/ppp/
H A Dtcpmss.c106 hlen = tc->th_off << 2;
H A Dslcompress.c234 #define THOFFSET(th) (th->th_off)
235 hlen += th->th_off;
267 hlen += th->th_off;
H A Dip.c368 if (datalen < 20 || datalen < (th->th_off << 2)) {
823 len = datalen - (th->th_off << 2);
/freebsd-9.3-release/sys/contrib/pf/net/
H A Dpf_osfp.c128 pd->proto != IPPROTO_TCP || (tcp->th_off << 2) < sizeof(*tcp))
138 if (!pf_pull_hdr(m, off, hdr, tcp->th_off << 2, NULL, NULL,
217 cnt = (tcp->th_off << 2) - sizeof(*tcp);
H A Dpf_norm.c1648 if (th->th_off < (sizeof(struct tcphdr) >> 2))
1741 if (th->th_off > (sizeof(struct tcphdr) >> 2) && src->scrub &&
1742 pf_pull_hdr(m, off, hdr, th->th_off << 2, NULL, NULL, pd->af)) {
1746 hlen = (th->th_off << 2) - sizeof(struct tcphdr);
1851 if (th->th_off > (sizeof(struct tcphdr) >> 2) &&
1854 pf_pull_hdr(m, off, hdr, th->th_off << 2, NULL, NULL, pd->af)) {
1858 hlen = (th->th_off << 2) - sizeof(struct tcphdr);
1927 (th->th_off << 2) - sizeof(struct tcphdr), hdr +
2266 thoff = th->th_off << 2;
/freebsd-9.3-release/sys/dev/sfxge/
H A Dsfxge_rx.c350 if (c_th->th_off == c->th_last->th_off) {
352 int optlen = ((c_th->th_off - 5) & 0xf) << 2u;
491 hdr_length = (char *) th + th->th_off * 4 - eh;
499 if (th->th_off != 5) {
501 if (th->th_off == 8 &&
/freebsd-9.3-release/sys/netgraph/
H A Dng_tcpmss.c323 tcphlen = tcp->th_off << 2;
H A Dng_vjc.c610 thlen = tcp->th_off << 2;
/freebsd-9.3-release/contrib/ipfilter/iplang/
H A Diplang_y.y1012 tcp->th_off = sizeof(*tcp) >> 2;
1080 inc_anipheaders((off - tcp->th_off) << 2);
1081 tcp->th_off = off;
1244 tcp->th_off = (sizeof(*tcp) + canip->ah_optlen) >> 2;
/freebsd-9.3-release/sys/dev/qlxgbe/
H A Dql_isr.c300 iplen = (ip->ip_hl << 2) + (th->th_off << 2) +
309 iplen = (th->th_off << 2) + sgc->payload_length;

Completed in 287 milliseconds

123