Home
last modified time | relevance | path

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

/xnu-8019.80.24/bsd/netinet6/ !
H A Dnd6_nbr.c258 struct nd_neighbor_solicit *nd_ns = NULL; in nd6_ns_input() local
282 nd_ns = (struct nd_neighbor_solicit *)((caddr_t)ip6 + off); in nd6_ns_input()
285 taddr6 = nd_ns->nd_ns_target; in nd6_ns_input()
340 icmp6len -= sizeof(*nd_ns); in nd6_ns_input()
341 nd6_option_init(nd_ns + 1, icmp6len, &ndopts); in nd6_ns_input()
578 struct nd_neighbor_solicit *nd_ns; in nd6_ns_output() local
607 maxlen = sizeof(*ip6) + sizeof(*nd_ns); in nd6_ns_output()
644 icmp6len = sizeof(*nd_ns); in nd6_ns_output()
781 nd_ns = (struct nd_neighbor_solicit *)(ip6 + 1); in nd6_ns_output()
782 nd_ns->nd_ns_type = ND_NEIGHBOR_SOLICIT; in nd6_ns_output()
[all …]
/xnu-8019.80.24/tests/ !
H A Dnet_bridge.c1375 struct nd_neighbor_solicit * nd_ns; in ethernet_nd6_frame_populate() local
1379 data_len = sizeof(*nd_ns); in ethernet_nd6_frame_populate()
1386 nd_ns = (struct nd_neighbor_solicit *)(void *)icmp6; in ethernet_nd6_frame_populate()
1389 nd_opt = (struct nd_opt_hdr *)(nd_ns + 1); in ethernet_nd6_frame_populate()
1394 bcopy(target_ip, &nd_ns->nd_ns_target, in ethernet_nd6_frame_populate()
1395 sizeof(nd_ns->nd_ns_target)); in ethernet_nd6_frame_populate()
/xnu-8019.80.24/bsd/net/ !
H A Dif_bridge.c8059 struct nd_neighbor_solicit *nd_ns;
8064 if (icmp6len < sizeof(*nd_ns)) {
8067 icmp6len, sizeof(*nd_ns));
8071 nd_ns = (struct nd_neighbor_solicit *)(void *)icmp6;
8072 bcopy(&nd_ns->nd_ns_target, &taddr, sizeof(taddr));
8080 nd6_option_init(nd_ns + 1, icmp6len - sizeof(*nd_ns), &ndopts);