Lines Matching defs:ndopts
158 union nd_opts ndopts;
192 nd6_option_init(nd_rs + 1, icmp6len, &ndopts);
193 if (nd6_options(&ndopts) < 0) {
200 if (ndopts.nd_opts_src_lladdr) {
201 lladdr = (char *)(ndopts.nd_opts_src_lladdr + 1);
202 lladdrlen = ndopts.nd_opts_src_lladdr->nd_opt_len << 3;
248 union nd_opts ndopts;
284 nd6_option_init(nd_ra + 1, icmp6len, &ndopts);
285 if (nd6_options(&ndopts) < 0) {
324 if (ndopts.nd_opts_pi) {
329 for (pt = (struct nd_opt_hdr *)ndopts.nd_opts_pi;
330 pt <= (struct nd_opt_hdr *)ndopts.nd_opts_pi_end;
398 if (ndopts.nd_opts_mtu && ndopts.nd_opts_mtu->nd_opt_mtu_len == 1) {
399 u_int32_t mtu = ntohl(ndopts.nd_opts_mtu->nd_opt_mtu_mtu);
441 if (ndopts.nd_opts_src_lladdr) {
442 lladdr = (char *)(ndopts.nd_opts_src_lladdr + 1);
443 lladdrlen = ndopts.nd_opts_src_lladdr->nd_opt_len << 3;