Lines Matching refs:hbh
780 struct ip6_hbh *hbh;
815 hbh = (struct ip6_hbh *)(ip6 + 1);
817 IP6_EXTHDR_GET(hbh, struct ip6_hbh *, m, sizeof(struct ip6_hdr),
819 if (hbh == NULL) {
825 nxt = hbh->ip6h_nxt;
1044 struct ip6_hbh *hbh;
1049 IP6_EXTHDR_CHECK(m, off, sizeof(*hbh), return -1);
1050 hbh = (struct ip6_hbh *)(mtod(m, caddr_t) + off);
1051 hbhlen = (hbh->ip6h_len + 1) << 3;
1054 hbh = (struct ip6_hbh *)(mtod(m, caddr_t) + off);
1056 IP6_EXTHDR_GET(hbh, struct ip6_hbh *, m,
1058 if (hbh == NULL) {
1062 hbhlen = (hbh->ip6h_len + 1) << 3;
1063 IP6_EXTHDR_GET(hbh, struct ip6_hbh *, m, sizeof(struct ip6_hdr),
1065 if (hbh == NULL) {
1072 opt = (u_int8_t *)hbh + sizeof(struct ip6_hbh);
1074 if (ip6_process_hopopts(m, (u_int8_t *)hbh + sizeof(struct ip6_hbh),
1089 * The function assumes that hbh header is located right after the IPv6 header
1363 struct ip6_hbh *hbh;
1370 hbh = (struct ip6_hbh *)(ip6 + 1);
1371 hbhlen = (hbh->ip6h_len + 1) << 3;
1379 hbh = mtod(ext, struct ip6_hbh *);
1380 hbhlen = (hbh->ip6h_len + 1) << 3;
1394 *mp = sbcreatecontrol((caddr_t)hbh, hbhlen,