Lines Matching defs:hbhlen
1043 int off = *offp, hbhlen;
1051 hbhlen = (hbh->ip6h_len + 1) << 3;
1053 IP6_EXTHDR_CHECK(m, off, hbhlen, return -1);
1062 hbhlen = (hbh->ip6h_len + 1) << 3;
1064 hbhlen);
1070 off += hbhlen;
1071 hbhlen -= sizeof(struct ip6_hbh);
1075 hbhlen, rtalertp, plenp) < 0)
1091 * opthead + hbhlen is located in continuous memory region.
1094 ip6_process_hopopts(m, opthead, hbhlen, rtalertp, plenp)
1097 int hbhlen;
1108 for (; hbhlen > 0; hbhlen -= optlen, opt += optlen) {
1114 if (hbhlen < IP6OPT_MINLEN) {
1122 if (hbhlen < IP6OPT_RTALERT_LEN) {
1141 if (hbhlen < IP6OPT_JUMBO_LEN) {
1214 if (hbhlen < IP6OPT_MINLEN) {
1364 int hbhlen = 0;
1371 hbhlen = (hbh->ip6h_len + 1) << 3;
1380 hbhlen = (hbh->ip6h_len + 1) << 3;
1381 if (hbhlen != ext->m_len) {
1394 *mp = sbcreatecontrol((caddr_t)hbh, hbhlen,