Lines Matching defs:hlen
106 size_t hlen, olen, optlen;
111 hlen = tc->th_off << 2;
114 if (hlen <= sizeof(struct tcphdr) || hlen > pktlen)
121 for (olen = hlen - sizeof(struct tcphdr), opt = (u_char *)(tc + 1);
156 size_t hlen, plen;
173 hlen = pip->ip_hl << 2;
175 ntohs(pip->ip_len) == plen && hlen <= plen &&
176 plen >= sizeof(struct tcphdr) + hlen)
177 MSSFixup((struct tcphdr *)(MBUF_CTOP(bp) + hlen), plen - hlen,
192 hlen = 0;
195 hlen = sizeof(struct ip6_hdr);
202 hlen = sizeof(struct ip6_hdr)+ sizeof(struct ip6_frag);
206 if (hlen > 0 && plen >= sizeof(struct tcphdr) + hlen)
207 MSSFixup((struct tcphdr *)(MBUF_CTOP(bp) + hlen), plen - hlen,