Searched refs:ndopts (Results 1 – 5 of 5) sorted by relevance
| /xnu-8796.141.3/bsd/netinet6/ |
| H A D | nd6.c | 595 nd6_option_init(void *opt, int icmp6len, union nd_opts *ndopts) in nd6_option_init() argument 597 bzero(ndopts, sizeof(*ndopts)); in nd6_option_init() 598 ndopts->nd_opts_search = (struct nd_opt_hdr *)opt; in nd6_option_init() 599 ndopts->nd_opts_last = in nd6_option_init() 603 ndopts->nd_opts_done = 1; in nd6_option_init() 604 ndopts->nd_opts_search = NULL; in nd6_option_init() 612 nd6_option(union nd_opts *ndopts) in nd6_option() argument 617 if (!ndopts) { in nd6_option() 620 if (!ndopts->nd_opts_last) { in nd6_option() 623 if (!ndopts->nd_opts_search) { in nd6_option() [all …]
|
| H A D | nd6_nbr.c | 276 union nd_opts ndopts = {}; in nd6_ns_input() local 347 nd6_option_init(nd_ns + 1, icmp6len, &ndopts); in nd6_ns_input() 348 if (nd6_options(&ndopts) < 0) { in nd6_ns_input() 355 if (ndopts.nd_opts_src_lladdr) { in nd6_ns_input() 356 lladdr = (char *)(ndopts.nd_opts_src_lladdr + 1); in nd6_ns_input() 357 lladdrlen = ndopts.nd_opts_src_lladdr->nd_opt_len << 3; in nd6_ns_input() 440 (ndopts.nd_opts_nonce == NULL) ? NULL : in nd6_ns_input() 441 ndopts.nd_opts_nonce->nd_opt_nonce); in nd6_ns_input() 502 nd6_dad_ns_input(ifa, lladdr, lladdrlen, ndopts.nd_opts_nonce); in nd6_ns_input() 934 union nd_opts ndopts; in nd6_na_input() local [all …]
|
| H A D | nd6_rtr.c | 249 union nd_opts ndopts = {}; in nd6_rs_input() local 294 nd6_option_init(nd_rs + 1, icmp6len, &ndopts); in nd6_rs_input() 295 if (nd6_options(&ndopts) < 0) { in nd6_rs_input() 302 if (ndopts.nd_opts_src_lladdr) { in nd6_rs_input() 303 lladdr = (char *)(ndopts.nd_opts_src_lladdr + 1); in nd6_rs_input() 304 lladdrlen = ndopts.nd_opts_src_lladdr->nd_opt_len << 3; in nd6_rs_input() 350 union nd_opts ndopts; in nd6_ra_input() local 415 nd6_option_init(nd_ra + 1, icmp6len, &ndopts); in nd6_ra_input() 416 if (nd6_options(&ndopts) < 0) { in nd6_ra_input() 468 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-8796.141.3/bsd/net/ |
| H A D | if_bridge.c | 8378 union nd_opts ndopts; 8398 nd6_option_init(nd_ns + 1, icmp6len - sizeof(*nd_ns), &ndopts); 8399 if (nd6_options(&ndopts) < 0) { 8404 if (ndopts.nd_opts_src_lladdr != NULL) { 8405 lladdr = (char *)(ndopts.nd_opts_src_lladdr + 1); 8406 lladdrlen = ndopts.nd_opts_src_lladdr->nd_opt_len << 3; 8430 union nd_opts ndopts; 8451 nd6_option_init(nd_na + 1, icmp6len - sizeof(*nd_na), &ndopts); 8452 if (nd6_options(&ndopts) < 0) { 8457 if (ndopts.nd_opts_tgt_lladdr == NULL) { [all …]
|