Lines Matching refs:mDNSu8
208 mDNSu8 *ptr = (mDNSu8 *)&pkt->msg.h.numQuestions; in HdrNToH()
222 mDNSu8 *ptr = (mDNSu8 *)&pkt->msg.h.numQuestions; in HdrHToN()
225 *ptr++ = (mDNSu8)(numQuestions >> 8); in HdrHToN()
226 *ptr++ = (mDNSu8)(numQuestions & 0xFF); in HdrHToN()
227 *ptr++ = (mDNSu8)(numAnswers >> 8); in HdrHToN()
228 *ptr++ = (mDNSu8)(numAnswers & 0xFF); in HdrHToN()
229 *ptr++ = (mDNSu8)(numAuthorities >> 8); in HdrHToN()
230 *ptr++ = (mDNSu8)(numAuthorities & 0xFF); in HdrHToN()
231 *ptr++ = (mDNSu8)(numAdditionals >> 8); in HdrHToN()
232 *ptr++ = (mDNSu8)(numAdditionals & 0xFF); in HdrHToN()
533 …return ( pkt->msg.h.flags.b[0] & kDNSFlag0_QROP_Mask ) == (mDNSu8) ( kDNSFlag0_QR_Query | kDNSFlag… in IsQuery()
539 return ( pkt->msg.h.flags.b[0] & kDNSFlag0_QROP_Mask ) == (mDNSu8) ( kDNSFlag0_OP_Update ); in IsUpdate()
545 return ( pkt->msg.h.flags.b[0] & kDNSFlag0_QROP_Mask ) == ( mDNSu8) ( kDNSFlag0_OP_Notify ); in IsNotify()
551 const mDNSu8 *ptr = NULL, *end = (mDNSu8 *)&pkt->msg + pkt->len; in IsLLQRequest()
557 …if ((mDNSu8)(pkt->msg.h.flags.b[0] & kDNSFlag0_QROP_Mask) != (mDNSu8)(kDNSFlag0_QR_Query | kDNSFla… in IsLLQRequest()
583 …if ((pkt->msg.h.flags.b[0] & kDNSFlag0_QROP_Mask ) == (mDNSu8) ( kDNSFlag0_QR_Response | kDNSFlag0… in IsLLQAck()
631 mDNSu8 QR_OP; in SetZone()
632 const mDNSu8 * ptr = pkt->msg.data; in SetZone()
643 QR_OP = ( mDNSu8 ) ( pkt->msg.h.flags.b[0] & kDNSFlag0_QROP_Mask ); in SetZone()
651 ptr = getQuestion( &pkt->msg, ptr, ( ( mDNSu8* ) &pkt->msg ) + pkt->len, NULL, &question ); in SetZone()
664 ptr = getQuestion( &pkt->msg, ptr, ( ( mDNSu8* ) &pkt->msg ) + pkt->len, NULL, &question ); in SetZone()
867 mDNSlocal mDNSu8 *putRRSetDeletion(DNSMessage *msg, mDNSu8 *ptr, mDNSu8 *limit, ResourceRecord *rr) in putRRSetDeletion()
871 ptr[0] = (mDNSu8)(rr->rrtype >> 8); in putRRSetDeletion()
872 ptr[1] = (mDNSu8)(rr->rrtype & 0xFF); in putRRSetDeletion()
873 ptr[2] = (mDNSu8)((mDNSu16)kDNSQClass_ANY >> 8); in putRRSetDeletion()
874 ptr[3] = (mDNSu8)((mDNSu16)kDNSQClass_ANY & 0xFF); in putRRSetDeletion()
880 mDNSlocal mDNSu8 *PutUpdateSRV(DaemonInfo *d, DNSZone * zone, PktMsg *pkt, mDNSu8 *ptr, char *regty… in PutUpdateSRV()
884 mDNSu8 *end = (mDNSu8 *)&pkt->msg + sizeof(DNSMessage); in PutUpdateSRV()
920 mDNSu8 *ptr = pkt.msg.data; in UpdateSRV()
921 mDNSu8 *end = (mDNSu8 *)&pkt.msg + sizeof(DNSMessage); in UpdateSRV()
978 pkt.len = ptr - (mDNSu8 *)&pkt.msg; in UpdateSRV()
1296 mDNSu8 *ptr = pkt.msg.data; in DeleteOneRecord()
1297 mDNSu8 *end = (mDNSu8 *)&pkt.msg + sizeof(DNSMessage); in DeleteOneRecord()
1321 pkt.len = ptr - (mDNSu8 *)&pkt.msg; in DeleteOneRecord()
1380 const mDNSu8 *ptr, *end; in UpdateLeaseTable()
1388 end = (mDNSu8 *)&pkt->msg + pkt->len; in UpdateLeaseTable()
1479 mDNSu8 *ptr, *end; in FormatLeaseReply()
1492 end = (mDNSu8 *)&reply->msg + sizeof(DNSMessage); in FormatLeaseReply()
1495 reply->len = ptr - (mDNSu8 *)&reply->msg; in FormatLeaseReply()
1520 const mDNSu8 *ptr, *end = (mDNSu8 *)&request->msg + request->len; in HandleRequest()
1743 const mDNSu8 *ansptr; in AnswerQuestion()
1744 mDNSu8 *end = q.msg.data; in AnswerQuestion()
1748 mDNSu8 rcode; in AnswerQuestion()
1756 q.len = (int)(end - (mDNSu8 *)&q.msg); in AnswerQuestion()
1788 rcode = (mDNSu8)(reply->msg.h.flags.b[1] & kDNSFlag1_RC_Mask); in AnswerQuestion()
1791 end = (mDNSu8 *)&reply->msg + reply->len; in AnswerQuestion()
1895 mDNSu8 *end = (mDNSu8 *)&response.msg.data; in SendEvents()
1920 response.len = (int)(end - (mDNSu8 *)&response.msg); in SendEvents()
2123 mDNSu8 *end = (mDNSu8 *)&ack.msg.data; in LLQRefresh()
2147 ack.len = (int)(end - (mDNSu8 *)&ack.msg); in LLQRefresh()
2161 mDNSu8 *end = (mDNSu8 *)&ack.msg.data; in LLQCompleteHandshake()
2201 ack.len = (int)(end - (mDNSu8 *)&ack.msg); in LLQCompleteHandshake()
2209 mDNSu8 *end = challenge.msg.data; in LLQSetupChallenge()
2234 challenge.len = (int)(end - (mDNSu8 *)&challenge.msg); in LLQSetupChallenge()
2327 const mDNSu8 *qptr = pkt->msg.data; in RecvLLQ()
2328 const mDNSu8 *end = (mDNSu8 *)&pkt->msg + pkt->len; in RecvLLQ()
2329 const mDNSu8 *aptr; in RecvLLQ()
2387 const mDNSu8 * lastPtr = NULL; in IsAuthorized()
2388 const mDNSu8 * ptr = NULL; in IsAuthorized()
2390 mDNSu8 * end = ( mDNSu8* ) &pkt->msg + pkt->len; in IsAuthorized()
2501 ok = DNSDigest_VerifyMessage( &pkt->msg, ( mDNSu8* ) lastPtr, &lcr, (*key), rcode, tcode ); in IsAuthorized()
2514 pkt->len = lastPtr - ( mDNSu8* ) ( &pkt->msg ); in IsAuthorized()
3103 void mDNSCoreReceive(mDNS *const m, void *const msg, const mDNSu8 *const end, in mDNSCoreReceive()