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

/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;
/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);
/xnu-2782.1.97/bsd/dev/dtrace/scripts/
H A Dtcp.d135 tcp_offset = T->th_off << 2;
/xnu-2782.1.97/bsd/netinet6/
H A Dip6_fw.c863 - (ti.th.th_off << 2);
866 - off - (ti.th.th_off << 2);

Completed in 194 milliseconds