Lines Matching refs:hbhlen
1578 int off = *offp, hbhlen; in ip6_hopopts_input() local
1585 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_hopopts_input()
1587 IP6_EXTHDR_CHECK(m, off, hbhlen, return (-1)); in ip6_hopopts_input()
1589 off += hbhlen; in ip6_hopopts_input()
1590 hbhlen -= sizeof(struct ip6_hbh); in ip6_hopopts_input()
1594 hbhlen, rtalertp, plenp) < 0) { in ip6_hopopts_input()
1619 int hbhlen = inhbhlen; in ip6_process_hopopts() local
1625 for (; hbhlen > 0; hbhlen -= optlen, opt += optlen) { in ip6_process_hopopts()
1631 if (hbhlen < IP6OPT_MINLEN) { in ip6_process_hopopts()
1640 if (hbhlen < IP6OPT_RTALERT_LEN) { in ip6_process_hopopts()
1657 if (hbhlen < IP6OPT_JUMBO_LEN) { in ip6_process_hopopts()
1723 if (hbhlen < IP6OPT_MINLEN) { in ip6_process_hopopts()
1728 optlen = ip6_unknown_opt(opt, hbhlen, m, in ip6_process_hopopts()
1984 int hbhlen = 0; in ip6_savecontrol() local
1986 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_savecontrol()
1995 mp = sbcreatecontrol_mbuf((caddr_t)hbh, hbhlen, in ip6_savecontrol()