Lines Matching refs:Proxy
634 // For now, to make it easier to avoid false conflicts, we treat SPS Proxy records like shared records,
702 // For reverse-mapping Sleep Proxy PTR records, probe interval is one second
763 // For reverse-mapping Sleep Proxy PTR records we don't want to start probing instantly -- we
1162 // For records we're holding as proxy (except reverse-mapping PTR records) two announcements is sufficient
3024 // Ethernet destination address is Ethernet interface address of the Sleep Proxy client we're probing
4194 // had its Sleep Proxy client list change, and defer to actual BPF reconfiguration to mDNS_Execute().
4200 // Called from mDNS_Execute() to expire stale proxy records
4209 // If m->SPSSocket is NULL that means we're not acting as a sleep proxy any more,
4211 if (m->SPSSocket && m->timenow - rr->TimeExpire < 0) // If proxy record not expired yet, update m->NextScheduledSPS
4216 else // else proxy record expired, so remove it
4360 LogSPS("Re-sleep delay passed; now checking for Sleep Proxy Servers");
4783 // Don't sleep if we are a proxy for any services
4787 mDNS_snprintf(reason, sizeof(reason), "sleep proxy for %d records", m->ProxyRecords);
4808 // Disallow sleep if there is no sleep proxy server
4813 LogInfo("Sleep disabled because %s has no sleep proxy", intf->ifname);
4994 // if (answer->rrtype == kDNSType_AAAA && sps == 0) return; // To test failing to resolve sleep proxy's address
5082 LogSPS("BeginSleepProcessing: %-6s using local proxy", intf->ifname);
5091 if (!sps[0]) LogSPS("BeginSleepProcessing: %-6s %#a No Sleep Proxy Server found (Next Browse Q in %d, interval %d)",
5113 LogSPS("BeginSleepProcessing: %-6s Found Sleep Proxy Server %d TTL %d %s", intf->ifname, i, sps[i]->resrec.rroriginalttl, CRDisplayString(m, sps[i]));
5124 if (SendGoodbyes) // If we didn't find even one Sleep Proxy
5126 LogSPS("BeginSleepProcessing: Not registering with Sleep Proxy Server");
5143 // If we're going to sleep, need to stop advertising that we're a Sleep Proxy Server
5198 // before we make our determination of whether there's a Sleep Proxy out there we should register with.
5208 // In case we gave up waiting and went to sleep before we got an ack from the Sleep Proxy,
5270 // See if we might need to retransmit any lost Sleep Proxy Registrations
5287 // Scan list of interfaces, and see if we're still waiting for any sleep proxy resolves to complete
5329 // If we failed to complete sleep proxy registration within ten seconds, we give up on that
5371 // Even when we have no wake-on-LAN-capable interfaces, or we failed to find a sleep proxy, or we have other
5393 // and the time we need to renew Sleep Proxy registrations
5663 // Called from mDNSCoreReceiveUpdate when we get a sleep proxy registration request,
7181 // ScheduleWakeup causes all proxy records with WakeUp.HMAC matching mDNSEthAddr 'e' to be deregistered, causing
7283 LogMsg("Refusing sleep proxy registration from %#a:%d:%s%s", srcaddr, mDNSVal16(srcport),
7294 LogMsg("Refusing sleep proxy registration from %#a:%d: Too many records %d + %d = %d > %d", srcaddr, mDNSVal16(srcport),
7361 LogMsg("Refusing sleep proxy registration from %#a:%d: Out of memory", srcaddr, mDNSVal16(srcport));
7397 LogSPS("Sleep Proxy granted lease time %4d seconds", updatelease);
7414 LogSPS("Sleep Proxy %s record %5d %s", rr->WakeUp.HMAC.l[0] ? "transferred" : "registered", updatelease, ARDisplayString(m,rr));
10154 #pragma mark - Sleep Proxy Server
10203 // (i) as an indication that the host in question has not gone to sleep yet (so we should delay beginning to proxy for it) or
10231 // We ignore ARPs we sent ourselves (Sender MAC address is our MAC address) because our own proxy ARPs do not constitute a conflict that we need to handle.
10233 // If the sender hardware address is the original owner this is benign, so we just suppress our own proxy answering for a while longer.
10540 LogSPS("Sleep Proxy Server %#s %s", srs->RR_SRV.resrec.name->c, m->SPSState ? "started" : "stopped");