Lines Matching defs:hbhlen
1092 uint_t hbhlen, /* Length of the hop-by-hop extension header */
1105 optlen = hbhlen - 2;
1166 uint_t hbhlen; /* hop-by-hop extension header length */
1181 hbhlen = (ip6hbh[1] + 1) << 3;
1186 if (!tsol_find_secopt_v6(ip6hbh, hbhlen, &secopt, &after_secopt,
1208 ovbcopy(ip6hbh + hbhlen, ip6hbh,
1209 buflen - (IPV6_HDR_LEN + hbhlen));
1210 ip6h->ip6_plen = htons(ntohs(ip6h->ip6_plen) - hbhlen);
1212 return (-hbhlen);
1217 after_secopt = ip6hbh + hbhlen;
1274 uint_t hbhlen; /* Length of the hop-by-hop extension header */
1311 delta = hbhlen = (2 + rawlen + 7) & ~7; /* +2 for nxthdr, len */
1312 pad_len = hbhlen - (2 + rawlen);
1314 ovbcopy(ip6hbh, ip6hbh + hbhlen, buflen - IPV6_HDR_LEN);
1320 ip6hbh[1] = (hbhlen >> 3) - 1;
1386 uint_t hbhlen;
1423 hbhlen = (ip6hbh[1] + 1) << 3;
1424 if (!tsol_find_secopt_v6(ip6hbh, hbhlen, &secopt,