Searched refs:hbhlen (Results 1 - 4 of 4) sorted by relevance

/netbsd-6-1-5-RELEASE/usr.sbin/mld6query/
H A Dmld6.c161 int cmsglen, hbhlen = 0; local
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);
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/tcpdump/dist/
H A Dprint-ip6opts.c297 int hbhlen = 0; local
300 hbhlen = (int)((dp->ip6h_len + 1) << 3);
301 TCHECK2(*dp, hbhlen);
304 ip6_opt_print((const u_char *)dp + sizeof(*dp), hbhlen - sizeof(*dp));
306 return(hbhlen);
/netbsd-6-1-5-RELEASE/sys/netinet6/
H A Dip6_input.c891 int off = *offp, hbhlen; local
901 hbhlen = (hbh->ip6h_len + 1) << 3;
903 hbhlen);
909 off += hbhlen;
910 hbhlen -= sizeof(struct ip6_hbh);
913 hbhlen, rtalertp, plenp) < 0)
929 * opthead + hbhlen is located in continuous memory region.
932 ip6_process_hopopts(struct mbuf *m, u_int8_t *opthead, int hbhlen, argument
942 for (; hbhlen > 0; hbhlen
1199 int hbhlen; local
[all...]
H A Dip6_output.c3038 int hbhlen; local
3059 hbhlen = (hbh->ip6h_len + 1) << 3;
3060 if (len != hbhlen)
3065 opt->ip6po_hbh = malloc(hbhlen, M_IP6OPT, M_NOWAIT);
3068 memcpy(opt->ip6po_hbh, hbh, hbhlen);

Completed in 73 milliseconds