Home
last modified time | relevance | path

Searched refs:th_off (Results 1 – 25 of 36) sorted by relevance

12

/f-stack/freebsd/net/
H A Dslcompress.c224 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 Dtcpmod.c144 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 Dtcpip.h55 #define ti_off ti_t.th_off
H A Dtcp.h59 th_off:4; /* data offset */ member
62 u_char th_off:4, /* data offset */ member
/f-stack/freebsd/netinet/
H A Dtcpip.h55 #define ti_off ti_t.th_off
H A Dtcp.h59 th_off:4; /* data offset */ member
62 u_char th_off:4, /* data offset */ member
H A Dtcp_lro.c273 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 Dtcp_pcap.c179 tcp_off = th->th_off << 2; in tcp_pcap_copy_bestfit()
H A Dtcp_timewait.c617 th->th_off = (sizeof(struct tcphdr) + optlen) >> 2; in tcp_twrespond()
/f-stack/freebsd/netinet/libalias/
H A Dalias_ftp.c236 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 Dalias_smedia.c256 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 Dalias_irc.c183 hlen = (pip->ip_hl + tc->th_off) << 2; in AliasHandleIrcOut()
445 pip->ip_len, tc->th_seq, tc->th_off); in AliasHandleIrcOut()
H A Dalias_local.h352 u_short ip_len, u_long th_seq, u_int th_off);
399 return (&p[tcphdr->th_off * 4]); in tcp_next()
H A Dalias_proxy.c330 hlen = (pip->ip_hl + tc->th_off) << 2; in ProxyEncodeTcpStream()
353 tc->th_off); in ProxyEncodeTcpStream()
H A Dalias_skinny.c315 hlen = (pip->ip_hl + tc->th_off) << 2; in AliasHandleSkinny()
H A Dalias_pptp.c445 hlen = (pip->ip_hl + tc->th_off) << 2; in AliasVerifyPptp()
/f-stack/freebsd/netpfil/pf/
H A Dpf_osfp.c80 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 Dpf_norm.c1397 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 Dpf.c2388 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 Dxform_tcp.c208 len += (th->th_off << 2); in tcp_signature_compute()
/f-stack/freebsd/netgraph/
H A Dng_tcpmss.c324 tcphlen = tcp->th_off << 2; in ng_tcpmss_rcvdata()
H A Dng_vjc.c609 thlen = tcp->th_off << 2; in ng_vjc_pulluphdrs()
/f-stack/freebsd/netpfil/ipfw/
H A Dip_fw2.c356 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 Dip_compat.h711 # 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 Drack_bbr_common.c398 off = th->th_off << 2; in ctf_process_inbound_raw()

12