/src/usr.sbin/mld6query/ |
mld6.c | 161 int cmsglen, hbhlen = 0; local in function:make_msg 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...] |
/src/sys/kern/ |
uipc_mbufdebug.c | 672 int hbhlen; local in function:m_examine_ip6 707 hbhlen = (hbh.ip6h_len + 1) << 3; 709 off += hbhlen;
|
/src/sys/netinet6/ |
ip6_input.c | 861 int off = *offp, hbhlen; local in function:ip6_hopopts_input 871 hbhlen = (hbh->ip6h_len + 1) << 3; 873 hbhlen); 879 off += hbhlen; 880 hbhlen -= sizeof(struct ip6_hbh); 883 hbhlen, rtalertp, plenp) < 0) 899 * opthead + hbhlen is located in continuous memory region. 902 ip6_process_hopopts(struct mbuf *m, u_int8_t *opthead, int hbhlen, 912 for (; hbhlen > 0; hbhlen -= optlen, opt += optlen) 1140 int hbhlen; local in function:ip6_savecontrol [all...] |
ip6_output.c | 3037 int hbhlen; local in function:ip6_setpktopt 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);
|