Lines Matching defs:hbhlen
814 int off = *offp, hbhlen;
824 hbhlen = (hbh->ip6h_len + 1) << 3;
826 hbhlen);
831 off += hbhlen;
832 hbhlen -= sizeof(struct ip6_hbh);
835 hbhlen, rtalertp, plenp) < 0)
851 * opthead + hbhlen is located in continuous memory region.
854 ip6_process_hopopts(struct mbuf **mp, u_int8_t *opthead, int hbhlen,
864 for (; hbhlen > 0; hbhlen -= optlen, opt += optlen) {
870 if (hbhlen < IP6OPT_MINLEN) {
878 if (hbhlen < IP6OPT_RTALERT_LEN) {
895 if (hbhlen < IP6OPT_JUMBO_LEN) {
960 if (hbhlen < IP6OPT_MINLEN) {
1098 int hbhlen = 0;
1108 hbhlen = (hbh->ip6h_len + 1) << 3;
1109 if (hbhlen != ext->m_len) {
1122 *mp = sbcreatecontrol((caddr_t)hbh, hbhlen,