Lines Matching refs:hlen
508 int hlen = ip->ip_hl << 2;
516 m->m_data += hlen;
517 m->m_len -= hlen;
671 hlen = ip->ip_hl << 2;
672 ip->ip_len = htons(off + hlen);
673 m->m_len += hlen;
674 m->m_data -= hlen;
1203 struct pf_fragment **frag, int hlen, int mff, int drop, int *nomem)
1213 plen = ntohs(h->ip6_plen) - (hlen - sizeof *h);
1216 * Apple Modification: dimambro@apple.com. The hlen, being passed
1229 * - 'hlen' is computed in pf_normalize_ip6() as the offset from the start
1334 *m0 = m_copym(m, 0, hlen, M_NOWAIT);
1338 m_adj(m, precut + hlen);
1535 int hlen = h->ip_hl << 2;
1582 if (hlen < (int)sizeof (struct ip))
1585 if (hlen > ntohs(h->ip_len))
1610 ip_len = ntohs(h->ip_len) - hlen;
2277 int hlen;
2279 hlen = (th->th_off << 2) - sizeof (struct tcphdr);
2280 while (hlen >= TCPOLEN_TIMESTAMP) {
2285 hlen--;
2306 hlen -= MAX(opt[1], 2);
2377 int hlen;
2379 hlen = (th->th_off << 2) - sizeof (struct tcphdr);
2380 while (hlen >= TCPOLEN_TIMESTAMP) {
2385 hlen--;
2436 hlen -= MAX(opt[1], 2);