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

/freebsd-10.3-release/usr.sbin/mld6query/
H A Dmld6.c183 int cmsglen, hbhlen = 0; local
240 if ((hbhlen = inet6_opt_init(NULL, 0)) == -1)
242 if ((hbhlen = inet6_opt_append(NULL, 0, hbhlen, IP6OPT_ROUTER_ALERT, 2,
245 if ((hbhlen = inet6_opt_finish(NULL, 0, hbhlen)) == -1)
247 cmsglen = CMSG_SPACE(sizeof(struct in6_pktinfo)) + CMSG_SPACE(hbhlen);
249 hbhlen = sizeof(raopt);
251 inet6_option_space(hbhlen);
269 cmsgp->cmsg_len = CMSG_LEN(hbhlen);
[all...]
/freebsd-10.3-release/contrib/tcpdump/
H A Dprint-ip6opts.c295 int hbhlen = 0; local
298 hbhlen = (int)((dp->ip6h_len + 1) << 3);
299 TCHECK2(*dp, hbhlen);
302 ip6_opt_print((const u_char *)dp + sizeof(*dp), hbhlen - sizeof(*dp));
304 return(hbhlen);
/freebsd-10.3-release/sys/netinet6/
H A Dip6_input.c1075 int off = *offp, hbhlen; local
1082 hbhlen = (hbh->ip6h_len + 1) << 3;
1084 IP6_EXTHDR_CHECK(m, off, hbhlen, -1);
1093 hbhlen = (hbh->ip6h_len + 1) << 3;
1095 hbhlen);
1101 off += hbhlen;
1102 hbhlen -= sizeof(struct ip6_hbh);
1104 hbhlen, rtalertp, plenp) < 0)
1120 * opthead + hbhlen is located in contiguous memory region.
1123 ip6_process_hopopts(struct mbuf *m, u_int8_t *opthead, int hbhlen, argument
1438 int hbhlen = 0; local
[all...]
H A Dip6_output.c2616 int hbhlen; local
2639 hbhlen = (hbh->ip6h_len + 1) << 3;
2640 if (len != hbhlen)
2645 opt->ip6po_hbh = malloc(hbhlen, M_IP6OPT, M_NOWAIT);
2648 bcopy(hbh, opt->ip6po_hbh, hbhlen);

Completed in 175 milliseconds