Searched refs:ndopts (Results 1 – 4 of 4) sorted by relevance
| /f-stack/freebsd/netinet6/ |
| H A D | nd6.c | 373 bzero(ndopts, sizeof(*ndopts)); in nd6_option_init() 375 ndopts->nd_opts_last in nd6_option_init() 379 ndopts->nd_opts_done = 1; in nd6_option_init() 398 if (ndopts->nd_opts_done) in nd6_option() 405 bzero(ndopts, sizeof(*ndopts)); in nd6_option() 415 bzero(ndopts, sizeof(*ndopts)); in nd6_option() 420 if (ndopts->nd_opts_search > ndopts->nd_opts_last) { in nd6_option() 422 bzero(ndopts, sizeof(*ndopts)); in nd6_option() 424 } else if (ndopts->nd_opts_search == ndopts->nd_opts_last) { in nd6_option() 426 ndopts->nd_opts_done = 1; in nd6_option() [all …]
|
| H A D | nd6_nbr.c | 126 union nd_opts ndopts; in nd6_ns_input() local 207 nd6_option_init(nd_ns + 1, icmp6len, &ndopts); in nd6_ns_input() 208 if (nd6_options(&ndopts) < 0) { in nd6_ns_input() 217 if (ndopts.nd_opts_src_lladdr) { in nd6_ns_input() 218 lladdr = (char *)(ndopts.nd_opts_src_lladdr + 1); in nd6_ns_input() 336 nd6_dad_ns_input(ifa, ndopts.nd_opts_nonce); in nd6_ns_input() 625 union nd_opts ndopts; in nd6_na_input() local 689 nd6_option_init(nd_na + 1, icmp6len, &ndopts); in nd6_na_input() 690 if (nd6_options(&ndopts) < 0) { in nd6_na_input() 699 if (ndopts.nd_opts_tgt_lladdr) { in nd6_na_input() [all …]
|
| H A D | nd6_rtr.c | 159 union nd_opts ndopts; in nd6_rs_input() local 207 nd6_option_init(nd_rs + 1, icmp6len, &ndopts); in nd6_rs_input() 208 if (nd6_options(&ndopts) < 0) { in nd6_rs_input() 217 if (ndopts.nd_opts_src_lladdr) { in nd6_rs_input() 218 lladdr = (char *)(ndopts.nd_opts_src_lladdr + 1); in nd6_rs_input() 361 union nd_opts ndopts; in nd6_ra_input() local 407 nd6_option_init(nd_ra + 1, icmp6len, &ndopts); in nd6_ra_input() 408 if (nd6_options(&ndopts) < 0) { in nd6_ra_input() 472 if (ndopts.nd_opts_pi) { in nd6_ra_input() 534 if (ndopts.nd_opts_mtu && ndopts.nd_opts_mtu->nd_opt_mtu_len == 1) { in nd6_ra_input() [all …]
|
| H A D | icmp6.c | 2212 union nd_opts ndopts; in icmp6_redirect_input() local 2332 nd6_option_init(nd_rd + 1, icmp6len, &ndopts); in icmp6_redirect_input() 2333 if (nd6_options(&ndopts) < 0) { in icmp6_redirect_input() 2342 if (ndopts.nd_opts_tgt_lladdr) { in icmp6_redirect_input() 2343 lladdr = (char *)(ndopts.nd_opts_tgt_lladdr + 1); in icmp6_redirect_input() 2344 lladdrlen = ndopts.nd_opts_tgt_lladdr->nd_opt_len << 3; in icmp6_redirect_input()
|