Lines Matching defs:hbhlen
161 int cmsglen, hbhlen = 0;
193 if ((hbhlen = inet6_opt_init(NULL, 0)) == -1)
195 if ((hbhlen = inet6_opt_append(NULL, 0, hbhlen, IP6OPT_ROUTER_ALERT, 2,
198 if ((hbhlen = inet6_opt_finish(NULL, 0, hbhlen)) == -1)
200 cmsglen = CMSG_SPACE(sizeof(struct in6_pktinfo)) + CMSG_SPACE(hbhlen);
202 hbhlen = sizeof(raopt);
204 inet6_option_space(hbhlen);
222 cmsgp->cmsg_len = CMSG_LEN(hbhlen);
226 if ((currentlen = inet6_opt_init(hbhbuf, hbhlen)) == -1)
227 errx(1, "inet6_opt_init(len = %d) failed", hbhlen);
228 if ((currentlen = inet6_opt_append(hbhbuf, hbhlen, currentlen,
231 errx(1, "inet6_opt_append(currentlen = %d, hbhlen = %d) failed",
232 currentlen, hbhlen);
234 if ((currentlen = inet6_opt_finish(hbhbuf, hbhlen, currentlen)) == -1)