Lines Matching defs:hbh
945 struct ip6_hbh *hbh;
978 hbh = (struct ip6_hbh *)(ip6 + 1);
980 IP6_EXTHDR_GET(hbh, struct ip6_hbh *, m, sizeof(struct ip6_hdr),
982 if (hbh == NULL) {
987 nxt = hbh->ip6h_nxt;
1252 struct ip6_hbh *hbh;
1257 IP6_EXTHDR_CHECK(m, off, sizeof(*hbh), return -1);
1258 hbh = (struct ip6_hbh *)(mtod(m, caddr_t) + off);
1259 hbhlen = (hbh->ip6h_len + 1) << 3;
1262 hbh = (struct ip6_hbh *)(mtod(m, caddr_t) + off);
1264 IP6_EXTHDR_GET(hbh, struct ip6_hbh *, m,
1266 if (hbh == NULL) {
1270 hbhlen = (hbh->ip6h_len + 1) << 3;
1271 IP6_EXTHDR_GET(hbh, struct ip6_hbh *, m, sizeof(struct ip6_hdr),
1273 if (hbh == NULL) {
1280 opt = (u_int8_t *)hbh + sizeof(struct ip6_hbh);
1282 if (ip6_process_hopopts(m, (u_int8_t *)hbh + sizeof(struct ip6_hbh),
1297 * The function assumes that hbh header is located right after the IPv6 header
1604 struct ip6_hbh *hbh;
1611 hbh = (struct ip6_hbh *)(ip6 + 1);
1612 hbhlen = (hbh->ip6h_len + 1) << 3;
1620 hbh = mtod(ext, struct ip6_hbh *);
1621 hbhlen = (hbh->ip6h_len + 1) << 3;
1636 mp = sbcreatecontrol_mbuf((caddr_t)hbh, hbhlen,