Lines Matching refs:newptr
1705 mDNSu8 *newptr; in SendDelayedUnicastResponse() local
1714 newptr = PutResourceRecord(&m->omsg, responseptr, &m->omsg.h.numAnswers, &rr->resrec); in SendDelayedUnicastResponse()
1716 if (!newptr && m->omsg.h.numAnswers) break; // If packet full, send it now in SendDelayedUnicastResponse()
1717 if (newptr) responseptr = newptr; in SendDelayedUnicastResponse()
1731 newptr = PutResourceRecord(&m->omsg, responseptr, &m->omsg.h.numAdditionals, &rr->resrec); in SendDelayedUnicastResponse()
1734 if (newptr) responseptr = newptr; in SendDelayedUnicastResponse()
1735 if (newptr && m->omsg.h.numAnswers) rr->RequireGoodbye = mDNStrue; in SendDelayedUnicastResponse()
2239 mDNSu8 *newptr; in SendResponses() local
2264 newptr = mDNSNULL; in SendResponses()
2270 newptr = PutRR_OS_TTL(responseptr, &m->omsg.h.numAnswers, &rr->resrec, 0); in SendResponses()
2271 if (newptr) { responseptr = newptr; numDereg++; rr->RequireGoodbye = mDNSfalse; } in SendResponses()
2279 …newptr = PutRR_OS_TTL(responseptr, &m->omsg.h.numAnswers, &rr->resrec, active ? rr->resrec.rrorigi… in SendResponses()
2281 if (newptr) in SendResponses()
2283 responseptr = newptr; in SendResponses()
2297 if (newptr) // If succeeded in sending, advance to next interface in SendResponses()
2309 newptr = responseptr; in SendResponses()
2330 else if (newptr) // Else, try to add it if we can in SendResponses()
2339 newptr = PutRR_OS(newptr, &m->omsg.h.numAdditionals, &rr->resrec); in SendResponses()
2341 if (newptr) in SendResponses()
2343 responseptr = newptr; in SendResponses()
2374 newptr = responseptr; in SendResponses()
2377 newptr = PutRR_OS(responseptr, &m->omsg.h.numAdditionals, &nsec.resrec); in SendResponses()
2378 if (newptr) responseptr = newptr; in SendResponses()
2383 if (newptr || rr->SendNSECNow == mDNSInterfaceMark) in SendResponses()
2406 newptr = PutResourceRecord(&m->omsg, responseptr, &m->omsg.h.numAdditionals, &opt.resrec); in SendResponses()
2407 … if (newptr) { responseptr = newptr; LogSPS("SendResponses put %s", ARDisplayString(m, &opt)); } in SendResponses()
2570 …mDNSu8 *newptr = putQuestion(query, *queryptr, limit - *answerforecast, &q->qname, q->qtype, (mDNS… in BuildQuestion() local
2571 if (!newptr) in BuildQuestion()
2605 if (query->h.numQuestions > 1 && newptr + forecast >= limit) in BuildQuestion()
2608 q->qname.c, DNSTypeName(q->qtype), newptr + forecast - query->data); in BuildQuestion()
2617 *queryptr = newptr; // Update the packet pointer in BuildQuestion()
3122 …mDNSu8 *newptr = putQuestion(&m->omsg, queryptr, limit - forecast, ar->resrec.name, kDNSQType_ANY,… in SendQueries() local
3123 if (newptr) in SendQueries()
3125 queryptr = newptr; in SendQueries()
3140 mDNSu8 *newptr = PutResourceRecordTTLWithLimit(&m->omsg, queryptr, &m->omsg.h.numAnswers, in SendQueries() local
3142 if (newptr) in SendQueries()
3145 …ka->resrec.name->c, DNSTypeName(ka->resrec.rrtype), queryptr - m->omsg.data, newptr - m->omsg.data… in SendQueries()
3146 queryptr = newptr; in SendQueries()
3164 mDNSu8 *newptr = PutResourceRecord(&m->omsg, queryptr, &m->omsg.h.numAuthorities, &ar->resrec); in SendQueries() local
3166 if (newptr) queryptr = newptr; in SendQueries()
4862 mDNSu8 *newptr; in SendSPSRegistrationForOwner() local
4866 …newptr = PutResourceRecordTTLWithLimit(&m->omsg, p, &m->omsg.h.mDNS_numUpdates, &rr->resrec, rr->r… in SendSPSRegistrationForOwner()
4868 if (!newptr) in SendSPSRegistrationForOwner()
4879 p = newptr; in SendSPSRegistrationForOwner()