Lines Matching defs:hlen
284 int hlen, tlen, len, off;
1383 hlen = unfragpartlen;
1387 len = (mtu - hlen - sizeof(struct ip6_frag)) & ~7;
1425 for (off = hlen; off < tlen; off += len) {
1440 error = ip6_insertfraghdr(m0, m, hlen, &ip6f);
1445 ip6f->ip6f_offlg = htons((u_short)((off - hlen) & ~7));
1450 mhip6->ip6_plen = htons((u_short)(len + hlen +
1459 m->m_pkthdr.len = len + hlen + sizeof(*ip6f);
1553 ip6_copyexthdr(mp, hdr, hlen)
1556 int hlen;
1560 if (hlen > MCLBYTES)
1567 if (hlen > MLEN) {
1574 m->m_len = hlen;
1576 bcopy(hdr, mtod(m, caddr_t), hlen);
1705 ip6_insertfraghdr(m0, m, hlen, frghdrp)
1707 int hlen;
1712 if (hlen > sizeof(struct ip6_hdr)) {
1714 hlen - sizeof(struct ip6_hdr), M_DONTWAIT);
2834 int hlen =\
2836 dst->type = _MALLOC(hlen, M_IP6OPT, canwait);\
2839 bcopy(src->type, dst->type, hlen);\