Lines Matching refs:mDNSu8

2182 	mDNSu16 rrtype, mDNSu32 ttl, mDNSu8 RecordType, mDNSRecordCallback Callback, void *Context)  in mDNS_SetupResourceRecord()
2289 #define DefaultProbeCountForTypeUnique ((mDNSu8)3)
2290 …untForRecordType(X) ((X) == kDNSRecordTypeUnique ? DefaultProbeCountForTypeUnique : (mDNSu8)0)
2292 #define InitialAnnounceCount ((mDNSu8)10)
2722 mDNSu8 RecordType = rr->resrec.RecordType; in mDNS_Deregister_internal()
2933 { rr->NR_AnswerTo = (mDNSu8*)~0; *nrp = rr; nrp = &rr->NextResponse; } in SendDelayedUnicastResponse()
2941 mDNSu8 *responseptr = m->omsg.data; in SendDelayedUnicastResponse()
2942 mDNSu8 *newptr; in SendDelayedUnicastResponse()
3164 mDNSu8 *responseptr = m->omsg.data; in SendResponses()
3165 mDNSu8 *newptr; in SendResponses()
3215 rr->RequireGoodbye = (mDNSu8) (!m->SleepState); in SendResponses()
3408 mDNSlocal mDNSBool BuildQuestion(mDNS *const m, DNSMessage *query, mDNSu8 **queryptr, DNSQuestion *… in BuildQuestion()
3413 const mDNSu8 *const limit = query->data + NormalMaxDNSMessageData; in BuildQuestion()
3414mDNSu8 *newptr = putQuestion(query, *queryptr, limit, &q->qname, q->qtype, (mDNSu16)(q->qclass | u… in BuildQuestion()
3640 mDNSu8 *qptr = m->omsg.data; in SendQueries()
3641 const mDNSu8 *const limit = m->omsg.data + sizeof(m->omsg.data); in SendQueries()
3769 mDNSu8 *queryptr = m->omsg.data; in SendQueries()
3797 …const mDNSu8 *const limit = m->omsg.data + ((m->omsg.h.numQuestions) ? NormalMaxDNSMessageData : A… in SendQueries()
3798mDNSu8 *newptr = putQuestion(&m->omsg, queryptr, limit, rr->resrec.name, kDNSQType_ANY, (mDNSu16)(… in SendQueries()
3824mDNSu8 *newptr = PutResourceRecordTTL(&m->omsg, queryptr, &m->omsg.h.numAnswers, &rr->resrec, rr->… in SendQueries()
3847 mDNSu8 *newptr = PutResourceRecord(&m->omsg, queryptr, &m->omsg.h.numAuthorities, &rr->resrec); in SendQueries()
4686 mDNSlocal mDNSu8 *GenerateUnicastResponse(const DNSMessage *const query, const mDNSu8 *const end, in GenerateUnicastResponse()
4689 mDNSu8 *responseptr = response->data; in GenerateUnicastResponse()
4690 const mDNSu8 *const limit = response->data + sizeof(response->data); in GenerateUnicastResponse()
4691 const mDNSu8 *ptr = query->data; in GenerateUnicastResponse()
4731mDNSu8 *p = PutResourceRecordCappedTTL(response, responseptr, &response->h.numAnswers, &rr->resrec… in GenerateUnicastResponse()
4742mDNSu8 *p = PutResourceRecordCappedTTL(response, responseptr, &response->h.numAdditionals, &rr->re… in GenerateUnicastResponse()
4757 mDNSu8 ourdata[256], *ourptr = ourdata, *ourend; in CompareRData()
4758 mDNSu8 pktdata[256], *pktptr = pktdata, *pktend; in CompareRData()
4856 mDNSlocal void ResolveSimultaneousProbe(mDNS *const m, const DNSMessage *const query, const mDNSu8 in ResolveSimultaneousProbe()
4860 const mDNSu8 *ptr = LocateAuthorities(query, end); in ResolveSimultaneousProbe()
4904 mDNSlocal mDNSu8 *ProcessQuery(mDNS *const m, const DNSMessage *const query, const mDNSu8 *const en… in ProcessQuery()
4917 const mDNSu8 *ptr = query->data; in ProcessQuery()
4918 mDNSu8 *responseptr = mDNSNULL; in ProcessQuery()
4978 rr->NR_AnswerTo = (mDNSu8*)~0; in ProcessQuery()
4980 else if (!rr->NR_AnswerTo) rr->NR_AnswerTo = LegacyQuery ? ptr : (mDNSu8*)~1; in ProcessQuery()
5146 if (rr->NR_AnswerTo == (mDNSu8*)~1) rr->NR_AnswerTo = (mDNSu8*)~0; in ProcessQuery()
5150 if (rr->NR_AnswerTo == (mDNSu8*)~0) SendMulticastResponse = mDNStrue; in ProcessQuery()
5151 else if (rr->NR_AnswerTo == (mDNSu8*)~1) SendUnicastResponse = mDNStrue; in ProcessQuery()
5186 else if (rr->NR_AdditionalTo && rr->NR_AdditionalTo->NR_AnswerTo == (mDNSu8*)~0) in ProcessQuery()
5325 mDNSlocal void mDNSCoreReceiveQuery(mDNS *const m, const DNSMessage *const msg, const mDNSu8 *const… in mDNSCoreReceiveQuery()
5329 mDNSu8 *responseend = mDNSNULL; in mDNSCoreReceiveQuery()
5370 const DNSMessage *const response, const mDNSu8 *end, in mDNSCoreReceiveResponse()
5377 const mDNSu8 *ptr = LocateAnswers(response, end); in mDNSCoreReceiveResponse()
5415 …const mDNSu8 RecordType = (mDNSu8)((i < response->h.numAnswers) ? kDNSRecordTypePacketAns : kDNSRe… in mDNSCoreReceiveResponse()
5654 mDNSexport void mDNSCoreReceive(mDNS *const m, void *const pkt, const mDNSu8 *const end, in mDNSCoreReceive()
5659 const mDNSu8 StdQ = kDNSFlag0_QR_Query | kDNSFlag0_OP_StdQuery; in mDNSCoreReceive()
5660 const mDNSu8 StdR = kDNSFlag0_QR_Response | kDNSFlag0_OP_StdQuery; in mDNSCoreReceive()
5661 mDNSu8 QR_OP; in mDNSCoreReceive()
5662 mDNSu8 *ptr = mDNSNULL; in mDNSCoreReceive()
5663 const mDNSu8 UpdateR = kDNSFlag0_QR_Response | kDNSFlag0_OP_Update; in mDNSCoreReceive()
5669 uDNS_ReceiveNATMap(m, pkt, (mDNSu16)(end - (mDNSu8 *)pkt)); in mDNSCoreReceive()
5674 …if ((unsigned)(end - (mDNSu8 *)pkt) < sizeof(DNSMessageHeader)) { LogMsg("DNS Message too short");… in mDNSCoreReceive()
5675 QR_OP = (mDNSu8)(msg->h.flags.b[0] & kDNSFlag0_QROP_Mask); in mDNSCoreReceive()
5677 ptr = (mDNSu8 *)&msg->h.numQuestions; in mDNSCoreReceive()
6321 if (SameDomainLabel(type.c, (mDNSu8*)"\x6_ichat")) rr->AnnounceCount = 1; in mDNS_Update()
6327 …if (rr->AnnounceCount > rr->UpdateCredits + 1) rr->AnnounceCount = (mDNSu8)(rr->UpdateCredits + 1); in mDNS_Update()
6420 mDNSu8 *p = set->RR_HINFO.resrec.rdata->u.data; in AdvertiseInterface()
6614 mDNSu8 announce = flapping ? (mDNSu8)1 : InitialAnnounceCount; in mDNS_RegisterInterface()
6835 const domainname *const host, mDNSIPPort port, const mDNSu8 txtinfo[], mDNSu16 txtlen, in mDNS_RegisterService()