• Home
  • Raw
  • Download

Lines Matching refs:mDNSu8

52 mDNSu8 NumUnicastDNSServers = 0;
427 const mDNSu8 *end = (mDNSu8 *)&u + sizeof(NATAddrRequest); in uDNS_SendNATMsg()
431 mDNSu8 *p = (mDNSu8 *)&u.NATPortReq.NATReq_lease; in uDNS_SendNATMsg()
436 p[0] = (mDNSu8)((info->NATLease >> 24) & 0xFF); in uDNS_SendNATMsg()
437 p[1] = (mDNSu8)((info->NATLease >> 16) & 0xFF); in uDNS_SendNATMsg()
438 p[2] = (mDNSu8)((info->NATLease >> 8) & 0xFF); in uDNS_SendNATMsg()
439 p[3] = (mDNSu8)( info->NATLease & 0xFF); in uDNS_SendNATMsg()
440 end = (mDNSu8 *)&u + sizeof(NATPortMapRequest); in uDNS_SendNATMsg()
443 err = mDNSPlatformSendUDP(m, (mDNSu8 *)&u, end, 0, mDNSNULL, &m->Router, NATPMPPort); in uDNS_SendNATMsg()
702 mDNSlocal mDNSu8 *putLLQ(DNSMessage *const msg, mDNSu8 *ptr, const DNSQuestion *const question, con… in putLLQ()
750 mDNSu8 *responsePtr = m->omsg.data; in sendChallengeResponse()
802 mDNSlocal void recvSetupResponse(mDNS *const m, mDNSu8 rcode, DNSQuestion *const q, const LLQOptDat… in recvSetupResponse()
858 …S_LLQType uDNS_recvLLQResponse(mDNS *const m, const DNSMessage *const msg, const mDNSu8 *const end, in uDNS_recvLLQResponse()
906 mDNSu8 *ackEnd; in uDNS_recvLLQResponse()
981 mDNSu8 *end = ((mDNSu8*) &tcpInfo->request) + tcpInfo->requestLen; in tcpCallback()
997 end = ((mDNSu8*) &tcpInfo->request) + tcpInfo->requestLen; in tcpCallback()
1045 mDNSu8 *lenptr = (mDNSu8 *)&tcpInfo->replylen; in tcpCallback()
1120 mDNSu8 *end = (mDNSu8 *)tcpInfo->reply + tcpInfo->replylen; in tcpCallback()
1229 mDNSlocal tcpInfo_t *MakeTCPConn(mDNS *const m, const DNSMessage *const msg, const mDNSu8 *const en… in MakeTCPConn()
1259 info->requestLen = (int) (end - ((mDNSu8*)msg)); in MakeTCPConn()
1368 mDNSu8 *end; in startLLQHandshake()
1840 const mDNSu8 *p; in StartRecordNatMap()
1841 mDNSu8 protocol; in StartRecordNatMap()
1853 if (SameDomainLabel(p, (mDNSu8 *)"\x4" "_tcp")) protocol = NATOp_MapTCP; in StartRecordNatMap()
1854 else if (SameDomainLabel(p, (mDNSu8 *)"\x4" "_udp")) protocol = NATOp_MapUDP; in StartRecordNatMap()
2251 mDNSu8 *ip = m->AdvertisedV4.ip.v4.b; in GetStaticHostname()
2430 mDNSlocal mStatus ParseTSIGError(mDNS *const m, const DNSMessage *const msg, const mDNSu8 *const en… in ParseTSIGError()
2432 const mDNSu8 *ptr; in ParseTSIGError()
2446 mDNSu8 *rd = m->rec.r.resrec.rdata->u.data; in ParseTSIGError()
2447 mDNSu8 *rdend = rd + m->rec.r.resrec.rdlength; in ParseTSIGError()
2479 …st m, const domainname *const displayname, const mDNSu8 rcode, const DNSMessage *const msg, const in checkUpdateResult()
2562 mDNSlocal mDNSu8* BuildUpdateMessage(mDNS *const m, mDNSu8 *ptr, AuthRecord *rr, mDNSu8 *limit) in BuildUpdateMessage()
2629 mDNSu8 *ptr = m->omsg.data; in SendRecordRegistration()
2631 mDNSu8 *limit; in SendRecordRegistration()
2766 mDNSlocal void SendGroupRRMessage(mDNS *const m, AuthRecord *anchorRR, mDNSu8 *ptr, DomainAuthInfo … in SendGroupRRMessage()
2768 mDNSu8 *limit; in SendGroupRRMessage()
2906 mDNSu8 *oldnext; // for debugging in SendGroupUpdates()
2907 mDNSu8 *next = m->omsg.data; in SendGroupUpdates()
2912 mDNSu8 *limit = mDNSNULL; in SendGroupUpdates()
3288 mDNSexport void uDNS_ReceiveNATPMPPacket(mDNS *m, const mDNSInterfaceID InterfaceID, mDNSu8 *pkt, m… in uDNS_ReceiveNATPMPPacket()
3338 mDNSu8 Protocol = AddrReply->opcode & 0x7F; in uDNS_ReceiveNATPMPPacket()
3416 mDNSu8 *p = q->qname.c; in NoTestQuery()
3433 …ool uDNS_ReceiveTestQuestionResponse(mDNS *const m, DNSMessage *const msg, const mDNSu8 *const end, in uDNS_ReceiveTestQuestionResponse()
3436 const mDNSu8 *ptr = msg->data; in uDNS_ReceiveTestQuestionResponse()
3495 mDNSexport void uDNS_ReceiveMsg(mDNS *const m, DNSMessage *const msg, const mDNSu8 *const end, cons… in uDNS_ReceiveMsg()
3500 mDNSu8 StdR = kDNSFlag0_QR_Response | kDNSFlag0_OP_StdQuery; in uDNS_ReceiveMsg()
3501 mDNSu8 UpdateR = kDNSFlag0_QR_Response | kDNSFlag0_OP_Update; in uDNS_ReceiveMsg()
3502 mDNSu8 QR_OP = (mDNSu8)(msg->h.flags.b[0] & kDNSFlag0_QROP_Mask); in uDNS_ReceiveMsg()
3503 mDNSu8 rcode = (mDNSu8)(msg->h.flags.b[1] & kDNSFlag1_RC_Mask); in uDNS_ReceiveMsg()
3576 mDNSu8 *end; in sendLLQRefresh()
3578 mDNSu8 *limit = m->omsg.data + AbsoluteMaxDNSMessageData; in sendLLQRefresh()
3914 mDNSu8 *ptr = m->omsg.data; in SendRecordDeregistration()
3915 mDNSu8 *limit; in SendRecordDeregistration()
4111 mDNSlocal const mDNSu8 *mDNS_WABLabels[] =
4113 (const mDNSu8 *)"\001b",
4114 (const mDNSu8 *)"\002db",
4115 (const mDNSu8 *)"\002lb",
4116 (const mDNSu8 *)"\001r",
4117 (const mDNSu8 *)"\002dr",
4118 (const mDNSu8 *)mDNSNULL,
4124 const mDNSu8 *sd = (const mDNSu8 *)"\007_dns-sd"; in WABQuestion()
4125 const mDNSu8 *prot = (const mDNSu8 *)"\004_udp"; in WABQuestion()
4127 const mDNSu8 *label; in WABQuestion()
4134 label = (const mDNSu8 *)d; in WABQuestion()
4135 while (mDNS_WABLabels[i] != (const mDNSu8 *)mDNSNULL) in WABQuestion()
4140 if (mDNS_WABLabels[i] == (const mDNSu8 *)mDNSNULL) in WABQuestion()
4147 label = (const mDNSu8 *)d; in WABQuestion()
4152 label = (const mDNSu8 *)d; in WABQuestion()
4231 mDNSu8 *end = m->omsg.data; in uDNS_CheckCurrentQuestion()
4889 if (SameDomainLabel(d->c, (const mDNSu8 *)"\x4""arpa")) in uDNS_GetNextSearchDomain()
4896 if (ignoreDotLocal && SameDomainLabel(d->c, (const mDNSu8 *)"\x5""local")) in uDNS_GetNextSearchDomain()