Lines Matching defs:unicast

27 #include "uDNS.h"                       // Defines entry points into unicast-specific routines
111 // sent with the "request unicast response" (QU) bit set.
167 // Depending on whether this is a multicast or unicast question we want to set either:
514 // If a unicast query results in a CNAME that points to a .local, we need to re-try
515 // this as unicast. Setting the mDNSInterface_Unicast tells mDNS_StartQuery_internal
516 // to try this as unicast query even though it is a .local name
706 // Adjustment factor to avoid race condition (used for unicast cache entries) :
1406 return(mStatus_NoError); // <--- Note: For unicast records, code currently bails out at this point
1477 if (!AuthRecord_uDNS(rr)) // This check is superfluous, given that for unicast records we (currently) bail out above
1864 // Make a list of all our records that need to be unicast to this destination
1867 // If we find we can no longer unicast this answer, clear ImmedUnicast
2160 // at the Ethernet-layer we unicast the packet to the intended target, to avoid wasting network bandwidth.
2169 // Since we know who we're looking for, we send it via Ethernet-layer unicast, rather than bothering every host on the
2217 // in multicast solicitations and SHOULD be included in unicast solicitations.
3317 // *unicast* queries need to be sent
3825 // For Ethernet switches that don't flood-foward packets with unknown unicast destination MAC addresses,
3828 // key rotation, unicast is the only way to get a wakeup packet to the intended target machine.
3829 // So, we send one of each, unicast first, then broadcast second.
3887 // Normally we don't send out the unicast query if we have answered using our local only auth records e.g., /etc/hosts.
4036 // When the unicast cache record is created, it's TTL has been extended beyond its value
5775 // Mark our mDNS records (not unicast records) for transfer to SPS
5814 // To comply with RFC 2782, PutResourceRecord suppresses name compression for SRV records in unicast updates.
6154 mDNSlocal void SendSleepGoodbyes(mDNS *const m, mDNSBool AllInterfaces, mDNSBool unicast)
6169 if (unicast)
6389 // interfaces and also deregister unicast registrations.
6392 // for both multicast and unicast.
6395 // them appropriately above. We don't need to send goodbyes for unicast as
6507 // Restart unicast and multicast queries
6525 // Temporary fix: For unicast cache records, look at how much time we slept.
7233 // unicast answer back to the source, because timeliness in answering probes is important.
7236 // NR_AnswerTo pointing into query packet means "answer via immediate legacy unicast" (may *also* choose to multicast)
7237 // NR_AnswerTo == NR_AnswerUnicast means "answer via delayed unicast" (to modern querier; may promote to multicast instead)
7238 // NR_AnswerTo == NR_AnswerMulticast means "definitely answer via multicast" (can't downgrade to unicast later)
7241 // then we'll multicast it anyway (if we unicast, the receiver will ignore it because it has an apparently non-local source)
7281 // For any query generating a unicast response we don't do this because we can't assume we will see the response.
7461 mDNSBool SendUnicastResponse = mDNSfalse; // Send modern unicast response (not legacy unicast response)
7472 // If this record was marked for modern (delayed) unicast response, then mark it as promoted to
7474 // If this record was marked for legacy unicast response, then we mustn't change the NR_AnswerTo value.
7575 // *** 9. If query is from a legacy client, or from a new client requesting a unicast reply, then generate a unicast response too
7715 if (responseend) // If responseend is non-null, that means we built a unicast response packet
7760 // This function is called when we receive a unicast response. This could be the case of a unicast response from the
8146 LogMsg("IsResponseAcceptable: ERROR!! Not a unicast NSEC %s", CRDisplayString(m, newcr));
8250 // When we're doing parallel unicast and multicast queries for dot-local names (for supporting Microsoft
8251 // Active Directory sites) we don't want to waste memory making negative cache entries for all the unicast answers.
8507 // Resource record received via unicast, the resGroupID should match ?
8616 // Currently, we do this for for both multicast and unicast questions as long as the record
8617 // type is unique. For unicast, resource record is always unique and for multicast it is
8734 // InterfaceID NULL tells us this was a unicast response
8830 // Remember the unicast question that we found, which we use to make caching
9079 // We accept all multicast responses, and unicast responses resulting from queries we issued
9080 // For other unicast responses, this code accepts them only for responses with an
9184 // Also, we ignore any apparent attempts at cache poisoning unicast to us that do not answer any outstanding active query
9424 // If we had a unicast question for this response with at least one positive answer and we
9480 // See if we need to generate negative cache entries for unanswered unicast questions
10301 // Note: mDNSCore also needs to get access to received unicast responses
10361 // (b) being performed by a unicast DNS long-lived query (either full LLQ, or polling)
10375 SameQTarget(q, question) && // and same unicast/multicast target settings
10675 // Note: mDNSInterface_Unicast is used only by .local unicast questions and are treated as unscoped.
10992 // we can send unicast queries for the .local name and we don't want to suppress
10994 // negative response for multicast followed by a positive response for unicast.
10997 // present. That did not work in the case where we have a valid interface for unicast
11499 // Request unicast response for first 4 queries to increase
11501 // Must set to one more than the number of unicast queries you want, since SendQueries()
11621 // is called to finalize the unicast question which requires flushing the cache if needed,
11654 // we determine that it is a unicast question. LongLived is set for
11655 // both multicast and unicast browse questions but we should initialize
11656 // the LLQ NAT state only for unicast. Otherwise we will unnecessarily
14493 // Check for a positive unicast response to the question but with qtype
14632 // is a better match, we pick the new DNSServer for the question and activate the unicast query. We may or may not
14849 // If we now have no DNS servers at all and we used to have some, then immediately purge all unicast cache records (including for LLQs).
14864 LogInfo("uDNS_SetupDNSConfig: %s available; purged %d unicast DNS records from cache",
14904 debugf("uDNS_SetupDNSConfig: number of unicast DNS servers %d", NumUnicastDNSServers);