Lines Matching refs:hbhlen
1251 int off = *offp, hbhlen;
1259 hbhlen = (hbh->ip6h_len + 1) << 3;
1261 IP6_EXTHDR_CHECK(m, off, hbhlen, return -1);
1270 hbhlen = (hbh->ip6h_len + 1) << 3;
1272 hbhlen);
1278 off += hbhlen;
1279 hbhlen -= sizeof(struct ip6_hbh);
1283 hbhlen, rtalertp, plenp) < 0)
1299 * opthead + hbhlen is located in continuous memory region.
1302 ip6_process_hopopts(m, opthead, hbhlen, rtalertp, plenp)
1305 int hbhlen;
1316 for (; hbhlen > 0; hbhlen -= optlen, opt += optlen) {
1322 if (hbhlen < IP6OPT_MINLEN) {
1330 if (hbhlen < IP6OPT_RTALERT_LEN) {
1347 if (hbhlen < IP6OPT_JUMBO_LEN) {
1412 if (hbhlen < IP6OPT_MINLEN) {
1605 int hbhlen = 0;
1612 hbhlen = (hbh->ip6h_len + 1) << 3;
1621 hbhlen = (hbh->ip6h_len + 1) << 3;
1622 if (hbhlen != ext->m_len) {
1636 mp = sbcreatecontrol_mbuf((caddr_t)hbh, hbhlen,