/dragonfly/sys/net/ppp_layer/ |
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() 484 hlen += ((struct tcphdr *)&((char *)ip)[hlen])->th_off << 2; in sl_uncompress_tcp_core()
|
/dragonfly/sys/netinet/ |
H A D | tcp.h | 59 th_off:4; /* data offset */ member 61 u_int th_off:4, /* data offset */ member
|
H A D | tcpip.h | 71 #define ti_off ti_t.th_off
|
H A D | ip_demux.c | 232 thoff = th->th_off << 2; in ip_lengthcheck()
|
H A D | tcp_subr.c | 513 tcp_hdr->th_off = 5; in tcp_fillheaders() 667 nth->th_off = sizeof(struct tcphdr) >> 2; in tcp_respond()
|
H A D | tcp_output.c | 1004 th->th_off = (sizeof(struct tcphdr) + optlen) >> 2; in tcp_output()
|
H A D | tcp_syncache.c | 1246 th->th_off = (sizeof(struct tcphdr) + optlen) >> 2; in syncache_respond()
|
/dragonfly/usr.sbin/ppp/ |
H A D | slcompress.c | 218 #define THOFFSET(th) (th->th_off) in sl_compress_tcp() 219 hlen += th->th_off; in sl_compress_tcp() 251 hlen += th->th_off; in sl_compress_tcp()
|
H A D | tcpmss.c | 107 hlen = tc->th_off << 2; in MSSFixup()
|
H A D | ip.c | 343 if (datalen < 20 || datalen < (th->th_off << 2)) { in FilterCheck() 797 len = datalen - (th->th_off << 2); in PacketCheck()
|
/dragonfly/lib/libalias/ |
H A D | alias_smedia.c | 159 hlen = (pip->ip_hl + tc->th_off) << 2; in alias_rtsp_out() 380 hlen = (pip->ip_hl + tc->th_off) << 2; in AliasHandleRtspOut()
|
H A D | alias_ftp.c | 116 hlen = (pip->ip_hl + tc->th_off) << 2; in AliasHandleFtpOut() 485 hlen = (pip->ip_hl + tc->th_off) << 2; in NewFtpMessage()
|
H A D | alias_irc.c | 82 hlen = (pip->ip_hl + tc->th_off) << 2; in AliasHandleIrcOut()
|
H A D | alias_pptp.c | 284 hlen = (pip->ip_hl + tc->th_off) << 2; in AliasVerifyPptp()
|
H A D | alias_proxy.c | 328 hlen = (pip->ip_hl + tc->th_off) << 2; in ProxyEncodeTcpStream()
|
H A D | alias_db.c | 2168 hlen = (pip->ip_hl + tc->th_off) << 2; in AddSeq()
|
/dragonfly/sys/net/pf/ |
H A D | pf_norm.c | 1366 if (th->th_off < (sizeof(struct tcphdr) >> 2)) in pf_normalize_tcp() 1448 if (th->th_off > (sizeof(struct tcphdr) >> 2) && src->scrub && in pf_normalize_tcp_init() 1449 pf_pull_hdr(m, off, hdr, th->th_off << 2, NULL, NULL, pd->af)) { in pf_normalize_tcp_init() 1453 hlen = (th->th_off << 2) - sizeof(struct tcphdr); in pf_normalize_tcp_init() 1549 if (th->th_off > (sizeof(struct tcphdr) >> 2) && in pf_normalize_tcp_stateful() 1552 pf_pull_hdr(m, off, hdr, th->th_off << 2, NULL, NULL, pd->af)) { in pf_normalize_tcp_stateful() 1556 hlen = (th->th_off << 2) - sizeof(struct tcphdr); in pf_normalize_tcp_stateful() 1621 (th->th_off << 2) - sizeof(struct tcphdr), in pf_normalize_tcp_stateful() 1918 thoff = th->th_off << 2; in pf_normalize_tcpopt()
|
H A D | pf_osfp.c | 96 pd->proto != IPPROTO_TCP || (tcp->th_off << 2) < sizeof(*tcp)) in pf_osfp_fingerprint() 106 if (!pf_pull_hdr(m, off, hdr, tcp->th_off << 2, NULL, NULL, in pf_osfp_fingerprint() 184 cnt = (tcp->th_off << 2) - sizeof(*tcp); in pf_osfp_fingerprint_hdr()
|
H A D | pf.c | 2075 int hlen = (th->th_off << 2) - sizeof(*th), thoptlen = hlen; in pf_modulate_sack() 2227 th->th_off = tlen >> 2; in pf_send_tcp() 3508 hlen = th_off << 2; /* hlen <= sizeof(hdr) */ in pf_get_wscale() 3541 pf_get_mss(struct mbuf *m, int off, u_int16_t th_off, sa_family_t af) in pf_get_mss() argument 3548 hlen = th_off << 2; /* hlen <= sizeof(hdr) */ in pf_get_mss() 4172 th->th_off, pd->af); in pf_create_state() 4289 mss = pf_get_mss(m, off, th->th_off, pd->af); in pf_create_state() 4475 src->wscale = pf_get_wscale(m, off, th->th_off, in pf_tcp_track_full() 4562 if (dst->seqdiff && (th->th_off << 2) > sizeof(struct tcphdr)) { in pf_tcp_track_full() 6623 pd.p_len = pd.tot_len - off - (th.th_off << 2); in pf_test() [all …]
|
/dragonfly/sys/netgraph7/tcpmss/ |
H A D | ng_tcpmss.c | 324 tcphlen = tcp->th_off << 2; in ng_tcpmss_rcvdata()
|
/dragonfly/sys/net/ip6fw/ |
H A D | ip6_fw.c | 800 - (ti.th.th_off << 2); in ip6_fw_chk() 803 - off - (ti.th.th_off << 2); in ip6_fw_chk()
|
/dragonfly/sys/netgraph/vjc/ |
H A D | ng_vjc.c | 613 thlen = tcp->th_off << 2; in ng_vjc_pulluphdrs()
|
/dragonfly/sys/netgraph7/vjc/ |
H A D | ng_vjc.c | 609 thlen = tcp->th_off << 2; in ng_vjc_pulluphdrs()
|
/dragonfly/sys/dev/netif/oce/ |
H A D | oce_if.c | 1063 total_len = ehdrlen + (ip->ip_hl << 2) + (th->th_off << 2); in oce_tso_setup() 1073 total_len = ehdrlen + sizeof(struct ip6_hdr) + (th->th_off << 2); in oce_tso_setup()
|
/dragonfly/sys/dev/netif/alc/ |
H A D | if_alc.c | 2694 m = m_pullup(m, poff + (tcp->th_off << 2)); in alc_encap() 2771 hdrlen = poff + (tcp->th_off << 2); in alc_encap()
|