Lines Matching defs:add

206         // AuthHash where we add the "new" entries and discard (free) the already added
546 // For a single given DNSQuestion pointed to by CurrentQuestion, deliver an add/remove result for the single given AuthRecord
622 // delivers the appropriate add/remove events to listening questions:
1391 // In this case we leave the record half-formed in the list, and later we'll remove it from the list and re-add it properly.
1838 mDNSlocal void AddRecordToResponseList(AuthRecord ***nrpp, AuthRecord *rr, AuthRecord *add)
1844 // If 'add' does not meet this requirement, then follow its NR_AdditionalTo pointer to a record that does
1846 if (add && add->NR_AdditionalTo) add = add->NR_AdditionalTo;
1847 rr->NR_AdditionalTo = add;
1858 // (Note: This is an "if", not a "while". If we add a record, we'll find it again
1866 // For SRV records, automatically add the Address record(s) for the target host
1885 else if (rr->resrec.rrtype == kDNSType_PTR) // For service PTR, see if we want to add DeviceInfo record
2483 // When sending SRV records (particularly when announcing a new service) automatically add related Address record(s) as additionals
2642 // (i.e. typically A, AAAA, SRV, TXT and reverse-mapping PTR), set the flag to add an NSEC too.
2683 LogMsg("SendResponses: Cannot add NSEC3 %s, OwnerRecordSpace %d, TraceRecordSpace %d, limit %p", ARDisplayString(m, rr), OwnerRecordSpace,
2695 // If we have at least one answer already in the packet, then plan to add additionals too
2711 else if (newptr) // Else, try to add it if we can
2714 // (i.e. typically A, AAAA, SRV, TXT and reverse-mapping PTR), set the flag to add an NSEC too.
2768 if (!r2) // If we successfully built our NSEC record, add it to the packet now
2791 // If we have data to send, add OWNER/TRACER/OWNER+TRACER option if necessary, then send packet
3265 // If half-way to next scheduled query time, only accelerate if it will add less than 512 bytes to the packet
3281 if (forecast >= 512) return(mDNSfalse); // If this would add 512 bytes or more to the packet, don't accelerate
3412 // Note: Don't set NextScheduledQuery until here, because uDNS_CheckCurrentQuestion in the loop above can add new questions to the list,
3553 // confirmation will be delivered 1/4 second *before* the browse "add" event.
3720 LogMsg("SendQueries: ERROR!! Cannot add NSEC3 record %s on InterfaceID %p", RRDisplayString(m, q->AnonInfo->nsec3RR), intf->InterfaceID);
3728 // If we have data to send, add OWNER/TRACER/OWNER+TRACER option if necessary, then send packet
3912 // a RMV for a single record in the rrset, we invalidate the response. If we deliver another add
3991 // (a) a no-cache add, where we've already done at least one 'QM' query, or
3992 // (b) a normal add, where we have at least one unique-type answer,
4221 // but we don't have any place to cache it. We'll deliver question 'add' events now, but we won't have any
4562 // when we add new /etc/hosts entries and restart the question. It is a new question and also a new record.
4615 // then CheckCacheExpiration may give this question add/remove callbacks, and it's not yet ready for that.
6472 // If we are registering with a Sleep Proxy for a new subnet, add it to our list
7453 AddRecordToResponseList(&nrp, rr, mDNSNULL); // ... add it to the list
7658 // and add a random value in the range 0-5 seconds (making 1-6 seconds or 20-25 seconds).
7948 // We need to add the anonymous info before we call CacheRecordAdd so that
8046 // also do this check here to make sure we can't get overflow below when we add a quarter to the TTL
8379 LogInfo("mDNSCoreReceiveNoUnicastAnswers: AddNSECSForCacheRecord failed to add NSEC for negcr %s during refresh", CRDisplayString(m, neg));
8407 // Create the cache entry with delay and then add the NSEC records
8408 // to it and add it immediately.
8415 LogInfo("mDNSCoreReceiveNoUnicastAnswers: AddNSECSForCacheRecord failed to add NSEC for negcr %s",
8433 // Need to add with a delay so that we can tag the SOA record
8524 // If this packet record has the kDNSClass_UniqueRRSet flag set, then add it to our cache flushing list
8550 // a 'remove' event for the record with the old capitalization, and then an 'add' event for the new one.
8688 // Create the cache entry but don't add it to the cache it. We need
8939 // if a CNAME record points to itself, then don't add it to the cache
9166 // 2. See if we want to add this packet resource record to our cache
9189 // If packet resource record not in our cache, add it now
9201 // If unique, assume we may have to delay delivery of this 'add' event.
9410 LogInfo("mDNSCoreReceiveResponse: AddNSECSForCacheRecord failed to add NSEC for %s", CRDisplayString(m, NSECCachePtr));
9430 LogInfo("mDNSCoreReceiveResponse: AddNSECSForCacheRecord failed to add NSEC for %s", CRDisplayString(m, NSECCachePtr));
9957 // To send a keepalive ACK, we need to add one to the sequence number from the keepalive
10525 // allocate, add to list
11582 // NAT mapping for receiving inbound add/remove events.
11721 LogMsg("mDNS_StartQuery_internal: Error! Tried to add a question %##s (%s) %p that's already in the active list",
12733 // 2. If the client callback didn't do it, add (or increment) an index ourselves
13512 // through the old list of extra records, and re-add them to our freshly created service registration