Home
last modified time | relevance | path

Searched refs:nd_ns (Results 1 – 3 of 3) sorted by relevance

/xnu-11417.121.6/bsd/netinet6/
H A Dnd6_nbr.c268 struct nd_neighbor_solicit *nd_ns = NULL; in nd6_ns_input() local
292 nd_ns = (struct nd_neighbor_solicit *)((caddr_t)ip6 + off); in nd6_ns_input()
295 taddr6 = nd_ns->nd_ns_target; in nd6_ns_input()
353 icmp6len -= sizeof(*nd_ns); in nd6_ns_input()
355 nd6_option_init(nd_ns + 1, icmp6len, &ndopts); in nd6_ns_input()
600 struct nd_neighbor_solicit *nd_ns; in nd6_ns_output() local
631 maxlen = sizeof(*ip6) + sizeof(*nd_ns); in nd6_ns_output()
668 icmp6len = sizeof(*nd_ns); in nd6_ns_output()
808 nd_ns = (struct nd_neighbor_solicit *)(ip6 + 1); in nd6_ns_output()
809 nd_ns->nd_ns_type = ND_NEIGHBOR_SOLICIT; in nd6_ns_output()
[all …]
/xnu-11417.121.6/tests/
H A Dnet_bridge.c824 struct nd_neighbor_solicit * nd_ns; in ethernet_nd6_frame_populate() local
828 data_len = sizeof(*nd_ns); in ethernet_nd6_frame_populate()
835 nd_ns = (struct nd_neighbor_solicit *)(void *)icmp6; in ethernet_nd6_frame_populate()
838 nd_opt = (struct nd_opt_hdr *)(nd_ns + 1); in ethernet_nd6_frame_populate()
843 bcopy(target_ip, &nd_ns->nd_ns_target, in ethernet_nd6_frame_populate()
844 sizeof(nd_ns->nd_ns_target)); in ethernet_nd6_frame_populate()
/xnu-11417.121.6/bsd/net/
H A Dif_bridge.c8149 struct nd_neighbor_solicit *nd_ns;
8154 if (icmp6len < sizeof(*nd_ns)) {
8157 icmp6len, sizeof(*nd_ns));
8161 nd_ns = (struct nd_neighbor_solicit *)(void *)icmp6;
8162 bcopy(&nd_ns->nd_ns_target, &taddr, sizeof(taddr));
8171 nd6_option_init(nd_ns + 1, icmp6len - sizeof(*nd_ns), &ndopts);