Lines Matching refs:hbh
409 struct ip6_hbh *hbh; in ip6_input_hbh() local
442 hbh = (struct ip6_hbh *)(ip6 + 1); in ip6_input_hbh()
443 *nxt = hbh->ip6h_nxt; in ip6_input_hbh()
970 struct ip6_hbh *hbh; in ip6_hopopts_input() local
973 if (m->m_len < off + sizeof(*hbh)) { in ip6_hopopts_input()
974 m = m_pullup(m, off + sizeof(*hbh)); in ip6_hopopts_input()
981 hbh = (struct ip6_hbh *)(mtod(m, caddr_t) + off); in ip6_hopopts_input()
982 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_hopopts_input()
992 hbh = (struct ip6_hbh *)(mtod(m, caddr_t) + off); in ip6_hopopts_input()
995 if (ip6_process_hopopts(m, (u_int8_t *)hbh + sizeof(struct ip6_hbh), in ip6_hopopts_input()
1420 struct ip6_hbh *hbh; in ip6_savecontrol() local
1423 hbh = (struct ip6_hbh *)(ip6 + 1); in ip6_savecontrol()
1424 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_savecontrol()
1433 *mp = sbcreatecontrol(hbh, hbhlen, in ip6_savecontrol()