Lines Matching refs:hlen
512 int hlen = ip->ip_hl << 2;
520 m->m_data += hlen;
521 m->m_len -= hlen;
675 hlen = ip->ip_hl << 2;
676 ip->ip_len = htons(off + hlen);
677 m->m_len += hlen;
678 m->m_data -= hlen;
1210 struct pf_fragment **frag, int hlen, int mff, int drop, int *nomem)
1220 plen = ntohs(h->ip6_plen) - (hlen - sizeof *h);
1223 * Apple Modification: dimambro@apple.com. The hlen, being passed
1236 * - 'hlen' is computed in pf_normalize_ip6() as the offset from the start
1341 *m0 = m_copym(m, 0, hlen, M_NOWAIT);
1345 m_adj(m, precut + hlen);
1542 int hlen = h->ip_hl << 2;
1589 if (hlen < (int)sizeof (struct ip))
1592 if (hlen > ntohs(h->ip_len))
1617 ip_len = ntohs(h->ip_len) - hlen;
2287 int hlen;
2289 hlen = (th->th_off << 2) - sizeof (struct tcphdr);
2290 while (hlen >= TCPOLEN_TIMESTAMP) {
2295 hlen--;
2316 hlen -= MAX(opt[1], 2);
2387 int hlen;
2389 hlen = (th->th_off << 2) - sizeof (struct tcphdr);
2390 while (hlen >= TCPOLEN_TIMESTAMP) {
2395 hlen--;
2446 hlen -= MAX(opt[1], 2);