Searched refs:hbhlen (Results 1 - 4 of 4) sorted by relevance
/freebsd-9.3-release/usr.sbin/mld6query/ |
H A D | mld6.c | 183 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-9.3-release/contrib/tcpdump/ |
H A D | print-ip6opts.c | 295 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-9.3-release/sys/netinet6/ |
H A D | ip6_input.c | 1086 int off = *offp, hbhlen; local 1093 hbhlen = (hbh->ip6h_len + 1) << 3; 1095 IP6_EXTHDR_CHECK(m, off, hbhlen, -1); 1104 hbhlen = (hbh->ip6h_len + 1) << 3; 1106 hbhlen); 1112 off += hbhlen; 1113 hbhlen -= sizeof(struct ip6_hbh); 1115 hbhlen, rtalertp, plenp) < 0) 1131 * opthead + hbhlen is located in contiguous memory region. 1134 ip6_process_hopopts(struct mbuf *m, u_int8_t *opthead, int hbhlen, argument 1449 int hbhlen = 0; local [all...] |
H A D | ip6_output.c | 2796 int hbhlen; local 2819 hbhlen = (hbh->ip6h_len + 1) << 3; 2820 if (len != hbhlen) 2825 opt->ip6po_hbh = malloc(hbhlen, M_IP6OPT, M_NOWAIT); 2828 bcopy(hbh, opt->ip6po_hbh, hbhlen);
|
Completed in 91 milliseconds