Lines Matching refs:hbhlen
1550 int off = *offp, hbhlen; in ip6_hopopts_input() local
1557 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_hopopts_input()
1559 IP6_EXTHDR_CHECK(m, off, hbhlen, return (-1)); in ip6_hopopts_input()
1561 off += hbhlen; in ip6_hopopts_input()
1562 hbhlen -= sizeof(struct ip6_hbh); in ip6_hopopts_input()
1566 hbhlen, rtalertp, plenp) < 0) { in ip6_hopopts_input()
1586 ip6_process_hopopts(struct mbuf *m, u_int8_t *opthead, int hbhlen, in ip6_process_hopopts() argument
1596 for (; hbhlen > 0; hbhlen -= optlen, opt += optlen) { in ip6_process_hopopts()
1602 if (hbhlen < IP6OPT_MINLEN) { in ip6_process_hopopts()
1610 if (hbhlen < IP6OPT_RTALERT_LEN) { in ip6_process_hopopts()
1627 if (hbhlen < IP6OPT_JUMBO_LEN) { in ip6_process_hopopts()
1692 if (hbhlen < IP6OPT_MINLEN) { in ip6_process_hopopts()
1951 int hbhlen = 0; in ip6_savecontrol() local
1953 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_savecontrol()
1962 mp = sbcreatecontrol_mbuf((caddr_t)hbh, hbhlen, in ip6_savecontrol()