Lines Matching refs:hlen
101 size_t hlen, olen, optlen;
106 hlen = tc->th_off << 2;
109 if (hlen <= sizeof(struct tcphdr) || hlen > pktlen)
116 for (olen = hlen - sizeof(struct tcphdr), opt = (u_char *)(tc + 1);
147 size_t hlen, plen;
155 hlen = pip->ip_hl << 2;
162 ntohs(pip->ip_len) == plen && hlen <= plen &&
163 plen >= sizeof(struct tcphdr) + hlen)
164 MSSFixup((struct tcphdr *)(MBUF_CTOP(bp) + hlen), plen - hlen,