Home
last modified time | relevance | path

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

/xnu-12377.41.6/bsd/netinet6/
H A Dnd6_nbr.c269 struct nd_neighbor_solicit *nd_ns = NULL; in nd6_ns_input() local
293 nd_ns = (struct nd_neighbor_solicit *)((caddr_t)ip6 + off); in nd6_ns_input()
296 taddr6 = nd_ns->nd_ns_target; in nd6_ns_input()
354 icmp6len -= sizeof(*nd_ns); in nd6_ns_input()
356 nd6_option_init(nd_ns + 1, icmp6len, &ndopts); in nd6_ns_input()
601 struct nd_neighbor_solicit *nd_ns; in nd6_ns_output() local
632 maxlen = sizeof(*ip6) + sizeof(*nd_ns); in nd6_ns_output()
669 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-12377.41.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-12377.41.6/bsd/net/
H A Dif_bridge.c8254 struct nd_neighbor_solicit *nd_ns;
8259 if (icmp6len < sizeof(*nd_ns)) {
8262 icmp6len, sizeof(*nd_ns));
8266 nd_ns = (struct nd_neighbor_solicit *)(void *)icmp6;
8267 bcopy(&nd_ns->nd_ns_target, &taddr, sizeof(taddr));
8276 nd6_option_init(nd_ns + 1, icmp6len - sizeof(*nd_ns), &ndopts);