Lines Matching refs:ndp
764 // wait one second to give the client a chance to go to sleep, and then start our ARP/NDP probing.
1963 // 0x36 NDP header
1970 if (op == NDP_Sol) // Neighbor Solicitation. The NDP "target" is the address we seek.
1972 // 0x3E NDP target.
1986 else // Neighbor Advertisement. The NDP "target" is the address we're giving information about.
1988 // 0x3E NDP target.
1996 // 0x4E or 0x56 Total NDP Packet length 78 or 86 bytes
2095 LogSPS("NDP Announcement %2d Releasing traffic for H-MAC %.6a I-MAC %.6a %s",
2120 LogSPS("NDP Announcement %2d Capturing traffic for H-MAC %.6a I-MAC %.6a %s",
3020 LogSPS("SendQueries NDP Probe %d %s %s", ar->ProbeCount, InterfaceNameForID(m, ar->resrec.InterfaceID), ARDisplayString(m,ar));
5708 LogSPS("NDP Announcement -- Releasing traffic for H-MAC %.6a I-MAC %.6a %s",
7183 // ScheduleWakeup is called on mDNS record conflicts, ARP conflicts, NDP conflicts, or reception of trigger traffic
10264 mDNSlocal const mDNSEthAddr *GetLinkLayerAddressOption(const IPv6NDP *const ndp, const mDNSu8 *const end, mDNSu8 op)
10266 const mDNSu8 *options = (mDNSu8 *)(ndp+1);
10269 debugf("NDP Option %02X len %2d %d", options[0], options[1], end - options);
10278 const IPv6NDP *const ndp, const mDNSu8 *const end, const mDNSInterfaceID InterfaceID)
10287 if (ndp->type == NDP_Sol)
10289 //const mDNSEthAddr *const sha = GetLinkLayerAddressOption(ndp, end, NDP_SrcLL);
10293 rr->AddressProxy.type == mDNSAddrType_IPv6 && mDNSSameIPv6Address(rr->AddressProxy.ip.v6, ndp->target))
10295 static const char msg1[] = "NDP Req from owner -- re-probing";
10296 static const char msg2[] = "Ignoring NDP Request from ";
10297 static const char msg3[] = "Creating Local NDP Cache entry ";
10298 static const char msg4[] = "Answering NDP Request from ";
10299 static const char msg5[] = "Answering NDP Probe from ";
10305 ndp->target, &rr->WakeUp.HMAC, &rr->WakeUp.IMAC, ARDisplayString(m, rr));
10312 else if (msg == msg4) SendNDP(m, NDP_Adv, NDP_Solicited, rr, &ndp->target, mDNSNULL, spa, sha );
10313 else if (msg == msg5) SendNDP(m, NDP_Adv, 0, rr, &ndp->target, mDNSNULL, &AllHosts_v6, &AllHosts_v6_Eth);
10317 // Pass 2: For all types of NDP packet we check the Sender IP address to make sure it doesn't conflict with any AddressProxy record we're holding.
10319 debugf("NDP from self for %.16a", &ndp->target);
10323 // When a machine has both link-local and routable IPv6 addresses, it may send NDP packets making assertions
10324 // about its routable IPv6 address, using its link-local address as the source address for all NDP packets.
10325 // Hence it is the NDP target address we care about, not the actual packet source address.
10326 if (ndp->type == NDP_Adv) spa = &ndp->target;
10334 LogSPS("%-7s NDP %s from owner %.6a %.16a for %.16a -- re-starting probing for %s", intf->ifname,
10335 ndp->type == NDP_Sol ? "Solicitation " : "Advertisement", sha, spa, &ndp->target, ARDisplayString(m, rr));
10338 LogMsg("%-7s Conflicting NDP from %.6a %.16a for %.16a -- waking H-MAC %.6a I-MAC %.6a %s", intf->ifname,
10339 sha, spa, &ndp->target, &rr->WakeUp.HMAC, &rr->WakeUp.IMAC, ARDisplayString(m, rr));
10427 if (!checksum) mDNSCoreReceiveRawND(m, sha, &src->ip.v6, &t->ndp, &t->bytes[len], InterfaceID);