Lines Matching defs:thlen
1207 int thlen, iphlen;
1330 thlen = th->th_off << 2;
1331 if (thlen < sizeof(struct tcphdr) || thlen > tlen) {
1335 tlen -= thlen;
1337 if (thlen > sizeof(struct tcphdr)) {
1338 M_REGION_GET(th, struct tcphdr *, m, off, thlen);
1344 optlen = thlen - sizeof(struct tcphdr);
1371 if (tcp_input_checksum(af, m, th, off, thlen, tlen))
2008 m_adj(m, off + thlen);
2026 hdroptlen = off + thlen;