| /f-stack/freebsd/net/ |
| H A D | slcompress.c | 224 hlen += th->th_off; in sl_compress_tcp() 256 hlen += th->th_off; in sl_compress_tcp() 264 th->th_off != oth->th_off || in sl_compress_tcp() 267 (th->th_off > 5 && in sl_compress_tcp() 268 BCMP(th + 1, oth + 1, (th->th_off - 5) << 2))) in sl_compress_tcp() 479 hlen += ((struct tcphdr *)&((char *)ip)[hlen])->th_off << 2; in sl_uncompress_tcp_core()
|
| /f-stack/freebsd/netpfil/ipfw/pmod/ |
| H A D | tcpmod.c | 144 hlen = tcp->th_off << 2; in tcpmod_ipv6_setmss() 164 hlen = tcp->th_off << 2; in tcpmod_ipv4_setmss()
|
| /f-stack/tools/compat/include/netinet/ |
| H A D | tcpip.h | 55 #define ti_off ti_t.th_off
|
| H A D | tcp.h | 59 th_off:4; /* data offset */ member 62 u_char th_off:4, /* data offset */ member
|
| /f-stack/freebsd/netinet/ |
| H A D | tcpip.h | 55 #define ti_off ti_t.th_off
|
| H A D | tcp.h | 59 th_off:4; /* data offset */ member 62 u_char th_off:4, /* data offset */ member
|
| H A D | tcp_lro.c | 273 l = th->th_off; in tcp_lro_csum_th() 621 l = (th->th_off << 2); in tcp_set_le_to_m() 708 l = (th->th_off << 2); in tcp_lro_condense() 744 l = (th->th_off << 2); in tcp_lro_condense() 1229 l = (th->th_off << 2); in tcp_lro_rx2()
|
| H A D | tcp_pcap.c | 179 tcp_off = th->th_off << 2; in tcp_pcap_copy_bestfit()
|
| H A D | tcp_timewait.c | 617 th->th_off = (sizeof(struct tcphdr) + optlen) >> 2; in tcp_twrespond()
|
| /f-stack/freebsd/netinet/libalias/ |
| H A D | alias_ftp.c | 236 hlen = (pip->ip_hl + tc->th_off) << 2; in AliasHandleFtpOut() 300 hlen = (pip->ip_hl + tc->th_off) << 2; in AliasHandleFtpIn() 676 hlen = (pip->ip_hl + tc->th_off) << 2; in NewFtpMessage() 748 pip->ip_len, tc->th_seq, tc->th_off); in NewFtpMessage()
|
| H A D | alias_smedia.c | 256 hlen = (pip->ip_hl + tc->th_off) << 2; in alias_rtsp_out() 409 tc->th_seq, tc->th_off); in alias_rtsp_out() 494 hlen = (pip->ip_hl + tc->th_off) << 2; in AliasHandleRtspOut()
|
| H A D | alias_irc.c | 183 hlen = (pip->ip_hl + tc->th_off) << 2; in AliasHandleIrcOut() 445 pip->ip_len, tc->th_seq, tc->th_off); in AliasHandleIrcOut()
|
| H A D | alias_local.h | 352 u_short ip_len, u_long th_seq, u_int th_off); 399 return (&p[tcphdr->th_off * 4]); in tcp_next()
|
| H A D | alias_proxy.c | 330 hlen = (pip->ip_hl + tc->th_off) << 2; in ProxyEncodeTcpStream() 353 tc->th_off); in ProxyEncodeTcpStream()
|
| H A D | alias_skinny.c | 315 hlen = (pip->ip_hl + tc->th_off) << 2; in AliasHandleSkinny()
|
| H A D | alias_pptp.c | 445 hlen = (pip->ip_hl + tc->th_off) << 2; in AliasVerifyPptp()
|
| /f-stack/freebsd/netpfil/pf/ |
| H A D | pf_osfp.c | 80 pd->proto != IPPROTO_TCP || (tcp->th_off << 2) < sizeof(*tcp)) in pf_osfp_fingerprint() 90 if (!pf_pull_hdr(m, off, hdr, tcp->th_off << 2, NULL, NULL, in pf_osfp_fingerprint() 138 cnt = (tcp->th_off << 2) - sizeof(*tcp); in pf_osfp_fingerprint_hdr()
|
| H A D | pf_norm.c | 1397 if (th->th_off < (sizeof(struct tcphdr) >> 2)) in pf_normalize_tcp() 1478 if (th->th_off > (sizeof(struct tcphdr) >> 2) && src->scrub && in pf_normalize_tcp_init() 1479 pf_pull_hdr(m, off, hdr, th->th_off << 2, NULL, NULL, pd->af)) { in pf_normalize_tcp_init() 1483 hlen = (th->th_off << 2) - sizeof(struct tcphdr); in pf_normalize_tcp_init() 1578 if (th->th_off > (sizeof(struct tcphdr) >> 2) && in pf_normalize_tcp_stateful() 1581 pf_pull_hdr(m, off, hdr, th->th_off << 2, NULL, NULL, pd->af)) { in pf_normalize_tcp_stateful() 1585 hlen = (th->th_off << 2) - sizeof(struct tcphdr); in pf_normalize_tcp_stateful() 1656 (th->th_off << 2) - sizeof(struct tcphdr), hdr + in pf_normalize_tcp_stateful() 1938 thoff = th->th_off << 2; in pf_normalize_tcpopt()
|
| H A D | pf.c | 2388 int hlen = (th->th_off << 2) - sizeof(*th), thoptlen = hlen; in pf_modulate_sack() 2555 th->th_off = tlen >> 2; in pf_send_tcp() 3184 hlen = th_off << 2; /* hlen <= sizeof(hdr) */ in pf_get_wscale() 3217 pf_get_mss(struct mbuf *m, int off, u_int16_t th_off, sa_family_t af) in pf_get_mss() argument 3224 hlen = th_off << 2; /* hlen <= sizeof(hdr) */ in pf_get_mss() 3778 th->th_off, pd->af); in pf_create_state() 3912 mss = pf_get_mss(m, off, th->th_off, pd->af); in pf_create_state() 4110 src->wscale = pf_get_wscale(m, off, th->th_off, in pf_tcp_track_full() 4196 if (dst->seqdiff && (th->th_off << 2) > sizeof(struct tcphdr)) { in pf_tcp_track_full() 5999 pd.p_len = pd.tot_len - off - (th.th_off << 2); in pf_test() [all …]
|
| /f-stack/freebsd/netipsec/ |
| H A D | xform_tcp.c | 208 len += (th->th_off << 2); in tcp_signature_compute()
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_tcpmss.c | 324 tcphlen = tcp->th_off << 2; in ng_tcpmss_rcvdata()
|
| H A D | ng_vjc.c | 609 thlen = tcp->th_off << 2; in ng_vjc_pulluphdrs()
|
| /f-stack/freebsd/netpfil/ipfw/ |
| H A D | ip_fw2.c | 356 int cnt = (tcp->th_off << 2) - sizeof(struct tcphdr); in tcpopts_parse() 719 th->th_off = sizeof(struct tcphdr) >> 2; in ipfw_send_pkt() 2350 x -= tcp->th_off << 2; in ipfw_chk() 2371 (TCP(ulp)->th_off << 2)); in ipfw_chk() 2396 (TCP(ulp)->th_off << 2)); in ipfw_chk()
|
| /f-stack/freebsd/contrib/ipfilter/netinet/ |
| H A D | ip_compat.h | 711 # define TCP_OFF(x) (x)->th_off 714 # define TCP_OFF_A(x,y) (x)->th_off = (y)
|
| /f-stack/freebsd/netinet/tcp_stacks/ |
| H A D | rack_bbr_common.c | 398 off = th->th_off << 2; in ctf_process_inbound_raw()
|