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

/macosx-10.10/xnu-2782.1.97/bsd/netinet/
H A Dtcpip.h95 #define ti_off ti_t.th_off
H A Dtcp.h88 th_off:4; /* data offset */ member in struct:tcphdr
91 unsigned int th_off:4, /* data offset */ member in struct:tcphdr
H A Dip_compat.h540 __u8 th_off:4;
542 __u8 th_off:4;
H A Dtcp_lro.c145 off = tcp_hdr->th_off << 2;
449 off = tcp_hdr->th_off << 2;
719 off = tcp_hdr->th_off << 2;
H A Dtcp_subr.c560 tcp_hdr->th_off = 5;
747 nth->th_off = sizeof (struct tcphdr) >> 2;
H A Dip_fw2.c996 int x = (tcp->th_off << 2) - sizeof(struct tcphdr);
1832 tcp->th_off = 5;
H A Dtcp_output.c1749 th->th_off = (sizeof (struct tcphdr) + optlen) >> 2;
H A Dtcp_input.c1649 off = th->th_off << 2;
/macosx-10.10/ppp-786.1.1/Family/
H A Dslcompress.c250 hlen += th->th_off;
282 hlen += th->th_off;
290 th->th_off != oth->th_off ||
293 (th->th_off > 5 &&
294 BCMP(th + 1, oth + 1, (th->th_off - 5) << 2)))
524 hlen += ((struct tcphdr *)(void*)&((char *)ip)[hlen])->th_off << 2; // Wcast-align fix (void*) - used for access to 4 bits
/macosx-10.10/network_cmds-457/alias/
H A Dalias_ftp.c144 hlen = (pip->ip_hl + tc->th_off) << 2;
515 hlen = (pip->ip_hl + tc->th_off) << 2;
H A Dalias_smedia.c188 hlen = (pip->ip_hl + tc->th_off) << 2;
448 hlen = (pip->ip_hl + tc->th_off) << 2;
H A Dalias_irc.c103 hlen = (pip->ip_hl + tc->th_off) << 2;
H A Dalias_pptp.c305 hlen = (pip->ip_hl + tc->th_off) << 2;
H A Dalias_proxy.c356 hlen = (pip->ip_hl + tc->th_off) << 2;
H A Dalias.c192 u_char *optionEnd = option + ((tc->th_off << 2) - sizeof(*tc));
196 if ((ntohs(tc->th_dport) == 8080 || ntohs(tc->th_sport) == 8080) && tc->th_off > 5) {
H A Dalias_db.c2424 hlen = (pip->ip_hl + tc->th_off) << 2;
/macosx-10.10/xnu-2782.1.97/bsd/net/
H A Dpf_osfp.c98 (tcp->th_off << 2) < (int)sizeof (*tcp))
108 if (!pf_pull_hdr(m, off, hdr, tcp->th_off << 2, NULL, NULL,
160 cnt = (tcp->th_off << 2) - sizeof (*tcp);
H A Dpf_norm.c2186 if (th->th_off < (sizeof (struct tcphdr) >> 2))
2284 if (th->th_off > (sizeof (struct tcphdr) >> 2) && src->scrub &&
2285 pf_pull_hdr(m, off, hdr, th->th_off << 2, NULL, NULL, pd->af)) {
2289 hlen = (th->th_off << 2) - sizeof (struct tcphdr);
2382 if (th->th_off > (sizeof (struct tcphdr) >> 2) &&
2385 pf_pull_hdr(m, off, hdr, th->th_off << 2, NULL, NULL, pd->af)) {
2389 hlen = (th->th_off << 2) - sizeof (struct tcphdr);
2454 int optlen = (th->th_off << 2) - sizeof (*th);
2751 thoff = th->th_off << 2;
H A Dpf.c2323 int hlen = (th->th_off << 2) - sizeof (*th), thoptlen = hlen;
2501 th->th_off = tlen >> 2;
3793 pf_get_wscale(struct mbuf *m, int off, u_int16_t th_off, sa_family_t af) argument
3800 hlen = th_off << 2; /* hlen <= sizeof (hdr) */
3833 pf_get_mss(struct mbuf *m, int off, u_int16_t th_off, sa_family_t af) argument
3840 hlen = th_off << 2; /* hlen <= sizeof (hdr) */
4888 th->th_off, af);
5077 mss = pf_get_mss(m, off, th->th_off, af);
5093 offx += th->th_off << 2;
6033 src->wscale = pf_get_wscale(m, off, th->th_off,
[all...]
H A Dpacket_mangler.c929 tcp_optlen = (tcp.th_off << 2)-sizeof(struct tcphdr);
/macosx-10.10/xnu-2782.1.97/bsd/dev/dtrace/scripts/
H A Dtcp.d135 tcp_offset = T->th_off << 2;
/macosx-10.10/xnu-2782.1.97/bsd/netinet6/
H A Dip6_fw.c863 - (ti.th.th_off << 2);
866 - off - (ti.th.th_off << 2);
/macosx-10.10/network_cmds-457/traceroute.tproj/
H A Dtraceroute.c1443 tcp->th_off = 5;
/macosx-10.10/mDNSResponder-561.1.1/mDNSMacOSX/
H A Dhelper.c2488 t->th_off = 5; /* Data offset */

Completed in 383 milliseconds