Lines Matching defs:hlen
174 int hlen, tlen, len, off;
1032 hlen = unfragpartlen;
1036 len = (mtu - hlen - sizeof(struct ip6_frag)) & ~7;
1069 for (off = hlen; off < tlen; off += len) {
1084 error = ip6_insertfraghdr(m0, m, hlen, &ip6f);
1089 ip6f->ip6f_offlg = htons((u_short)((off - hlen) & ~7));
1094 mhip6->ip6_plen = htons((u_short)(len + hlen +
1103 m->m_pkthdr.len = len + hlen + sizeof(*ip6f);
1182 ip6_copyexthdr(mp, hdr, hlen)
1185 int hlen;
1189 if (hlen > MCLBYTES)
1196 if (hlen > MLEN) {
1203 m->m_len = hlen;
1205 bcopy(hdr, mtod(m, caddr_t), hlen);
1312 ip6_insertfraghdr(m0, m, hlen, frghdrp)
1314 int hlen;
1319 if (hlen > sizeof(struct ip6_hdr)) {
1321 hlen - sizeof(struct ip6_hdr), M_DONTWAIT);
1901 int hlen =\
1903 dst->type = _MALLOC(hlen, M_IP6OPT, canwait);\
1906 bcopy(src->type, dst->type, hlen);\