ip6_hbh
optp = (uint8_t *)(void *)((struct ip6_hbh *)extbuf + 1);
optp = (uint8_t *)(void *)((struct ip6_hbh *)extbuf + 1);
struct ip6_hbh *ext;
ext = (struct ip6_hbh *)extbuf;
hlen = (((struct ip6_hbh *)cp)->ip6h_len+1) << 3;
nh = ((struct ip6_hbh *)cp)->ip6h_nxt;
struct ip6_hbh hbh;
struct ip6_hbh *hbh;
hbh = mtod(ext, struct ip6_hbh *);
__CTASSERT(sizeof(struct ip6_hbh) == 2);
struct ip6_hbh *hbh;
IP6_EXTHDR_GET(hbh, struct ip6_hbh *, m, sizeof(struct ip6_hdr),
sizeof(struct ip6_hbh));
struct ip6_hbh *hbh;
IP6_EXTHDR_GET(hbh, struct ip6_hbh *, m,
sizeof(struct ip6_hdr), sizeof(struct ip6_hbh));
IP6_EXTHDR_GET(hbh, struct ip6_hbh *, m, sizeof(struct ip6_hdr),
hbhlen -= sizeof(struct ip6_hbh);
if (ip6_process_hopopts(m, (u_int8_t *)hbh + sizeof(struct ip6_hbh),
const int erroff = sizeof(struct ip6_hdr) + sizeof(struct ip6_hbh);
struct ip6_hbh *hbh;
hbh = mtod(mopt, struct ip6_hbh *);
struct ip6_hbh *hbh;
if (len < sizeof(struct ip6_hbh))
hbh = (struct ip6_hbh *)buf;
struct ip6_hbh *ip6po_hbh; /* Hop-by-Hop options header */
struct ip6_hbh *hbh = (struct ip6_hbh *)hbh_buf;