Lines Matching defs:hbhlen
961 int off = *offp, hbhlen;
974 hbhlen = (hbh->ip6h_len + 1) << 3;
976 if (m->m_len < off + hbhlen) {
977 m = m_pullup(m, off + hbhlen);
985 off += hbhlen;
986 hbhlen -= sizeof(struct ip6_hbh);
988 hbhlen, rtalertp, plenp) < 0) {
1006 * opthead + hbhlen is located in contiguous memory region.
1009 ip6_process_hopopts(struct mbuf *m, u_int8_t *opthead, int hbhlen,
1019 for (; hbhlen > 0; hbhlen -= optlen, opt += optlen) {
1025 if (hbhlen < IP6OPT_MINLEN) {
1033 if (hbhlen < IP6OPT_RTALERT_LEN) {
1050 if (hbhlen < IP6OPT_JUMBO_LEN) {
1115 if (hbhlen < IP6OPT_MINLEN) {
1413 u_int hbhlen;
1416 hbhlen = (hbh->ip6h_len + 1) << 3;
1425 *mp = sbcreatecontrol(hbh, hbhlen,