Searched refs:ndopts (Results 1 – 5 of 5) sorted by relevance
| /xnu-10063.101.15/bsd/netinet6/ |
| H A D | nd6.c | 597 nd6_option_init(void *opt, int icmp6len, union nd_opts *ndopts) in nd6_option_init() argument 599 bzero(ndopts, sizeof(*ndopts)); in nd6_option_init() 600 ndopts->nd_opts_search = (struct nd_opt_hdr *)opt; in nd6_option_init() 601 ndopts->nd_opts_last = in nd6_option_init() 605 ndopts->nd_opts_done = 1; in nd6_option_init() 606 ndopts->nd_opts_search = NULL; in nd6_option_init() 614 nd6_option(union nd_opts *ndopts) in nd6_option() argument 619 if (!ndopts) { in nd6_option() 622 if (!ndopts->nd_opts_last) { in nd6_option() 625 if (!ndopts->nd_opts_search) { in nd6_option() [all …]
|
| H A D | nd6_nbr.c | 278 union nd_opts ndopts = {}; in nd6_ns_input() local 349 nd6_option_init(nd_ns + 1, icmp6len, &ndopts); in nd6_ns_input() 350 if (nd6_options(&ndopts) < 0) { in nd6_ns_input() 357 if (ndopts.nd_opts_src_lladdr) { in nd6_ns_input() 358 lladdr = (char *)(ndopts.nd_opts_src_lladdr + 1); in nd6_ns_input() 359 lladdrlen = ndopts.nd_opts_src_lladdr->nd_opt_len << 3; in nd6_ns_input() 441 (ndopts.nd_opts_nonce == NULL) ? NULL : in nd6_ns_input() 442 ndopts.nd_opts_nonce->nd_opt_nonce); in nd6_ns_input() 503 nd6_dad_ns_input(ifa, lladdr, lladdrlen, ndopts.nd_opts_nonce); in nd6_ns_input() 935 union nd_opts ndopts; in nd6_na_input() local [all …]
|
| H A D | nd6_rtr.c | 251 union nd_opts ndopts = {}; in nd6_rs_input() local 296 nd6_option_init(nd_rs + 1, icmp6len, &ndopts); in nd6_rs_input() 297 if (nd6_options(&ndopts) < 0) { in nd6_rs_input() 304 if (ndopts.nd_opts_src_lladdr) { in nd6_rs_input() 305 lladdr = (char *)(ndopts.nd_opts_src_lladdr + 1); in nd6_rs_input() 306 lladdrlen = ndopts.nd_opts_src_lladdr->nd_opt_len << 3; in nd6_rs_input() 352 union nd_opts ndopts; in nd6_ra_input() local 417 nd6_option_init(nd_ra + 1, icmp6len, &ndopts); in nd6_ra_input() 418 if (nd6_options(&ndopts) < 0) { in nd6_ra_input() 470 if (ndopts.nd_opts_rti && IFNET_IS_ETHERNET(ifp)) { in nd6_ra_input() [all …]
|
| H A D | icmp6.c | 2530 union nd_opts ndopts = {}; in icmp6_redirect_input() local 2665 nd6_option_init(nd_rd + 1, icmp6len, &ndopts); in icmp6_redirect_input() 2666 if (nd6_options(&ndopts) < 0) { in icmp6_redirect_input() 2674 if (ndopts.nd_opts_tgt_lladdr) { in icmp6_redirect_input() 2675 lladdr = (char *)(ndopts.nd_opts_tgt_lladdr + 1); in icmp6_redirect_input() 2676 lladdrlen = ndopts.nd_opts_tgt_lladdr->nd_opt_len << 3; in icmp6_redirect_input() 2679 if (ndopts.nd_opts_rh) { in icmp6_redirect_input() 2680 redirhdrlen = ndopts.nd_opts_rh->nd_opt_rh_len; in icmp6_redirect_input() 2681 redirhdr = (u_char *)(ndopts.nd_opts_rh + 1); /* xxx */ in icmp6_redirect_input()
|
| /xnu-10063.101.15/bsd/net/ |
| H A D | if_bridge.c | 8521 union nd_opts ndopts; 8541 nd6_option_init(nd_ns + 1, icmp6len - sizeof(*nd_ns), &ndopts); 8542 if (nd6_options(&ndopts) < 0) { 8547 if (ndopts.nd_opts_src_lladdr != NULL) { 8548 lladdr = (char *)(ndopts.nd_opts_src_lladdr + 1); 8549 lladdrlen = ndopts.nd_opts_src_lladdr->nd_opt_len << 3; 8573 union nd_opts ndopts; 8594 nd6_option_init(nd_na + 1, icmp6len - sizeof(*nd_na), &ndopts); 8595 if (nd6_options(&ndopts) < 0) { 8600 if (ndopts.nd_opts_tgt_lladdr == NULL) { [all …]
|