Lines Matching refs:mDNSNULL
42 mDNSexport SearchListElem *SearchList = mDNSNULL;
107 DNSServer *tmp = mDNSNULL; in mDNS_AddDNSServer()
112 return mDNSNULL; in mDNS_AddDNSServer()
130 tmp->next = mDNSNULL; in mDNS_AddDNSServer()
154 (*p)->next = mDNSNULL; in mDNS_AddDNSServer()
300 return mDNSNULL; in GetAuthInfoForName_direct()
325 …info->domain.c, q->AuthInfo ? q->AuthInfo->domain.c : mDNSNULL, q->qname.c, DNSTypeName(q->qtype)); in GetAuthInfoForName_internal()
393 info->AutoTunnelNAT.clientContext = mDNSNULL; in mDNS_SetSecretForDomain()
394 info->next = mDNSNULL; in mDNS_SetSecretForDomain()
404 q->AuthInfo ? q->AuthInfo->domain.c : mDNSNULL, in mDNS_SetSecretForDomain()
405 newinfo ? newinfo ->domain.c : mDNSNULL, q->qname.c, DNSTypeName(q->qtype)); in mDNS_SetSecretForDomain()
443 err = mDNSPlatformSendUDP(m, (mDNSu8 *)&u, end, 0, mDNSNULL, &m->Router, NATPMPPort); in uDNS_SendNATMsg()
463 … (n->tcpInfo.sock) { mDNSPlatformTCPCloseConnection(n->tcpInfo.sock); n->tcpInfo.sock = mDNSNULL; } in RecreateNATMappings()
582 traversal->next = mDNSNULL; in mDNS_StartNATOperation_internal()
710 if (!ptr) { LogMsg("ERROR: putLLQ - putQuestion"); return mDNSNULL; } in putLLQ()
716 …sourceRecord(&rr, mDNSNULL, mDNSInterface_Any, kDNSType_OPT, kStandardTTL, kDNSRecordTypeKnownUniq… in putLLQ()
725 if (!ptr) { LogMsg("ERROR: putLLQ - PutResourceRecordTTLJumbo"); return mDNSNULL; } in putLLQ()
785 …sg, responsePtr, mDNSInterface_Any, q->LocalSocket, &q->servAddr, q->servPort, mDNSNULL, mDNSNULL); in sendChallengeResponse()
910 …sage(m, &m->omsg, ackEnd, mDNSInterface_Any, q->LocalSocket, srcaddr, srcport, mDNSNULL, mDNSNULL); in uDNS_recvLLQResponse()
955 *matchQuestion = mDNSNULL; in uDNS_recvLLQResponse()
972 tcpInfo->rr ? &tcpInfo->rr ->tcp : mDNSNULL; in tcpCallback()
991 AuthInfo = tcpInfo->rr ? GetAuthInfoForName(m, tcpInfo->rr->resrec.name) : mDNSNULL; in tcpCallback()
1026 …err = mDNSSendDNSMessage(m, &tcpInfo->request, end, mDNSInterface_Any, mDNSNULL, &tcpInfo->Addr, t… in tcpCallback()
1070 …if (backpointer) *backpointer = mDNSNULL; // Clear client backpointer FIRST so we don't risk doubl… in tcpCallback()
1108 …if (backpointer) *backpointer = mDNSNULL; // Clear client backpointer FIRST so we don't risk doubl… in tcpCallback()
1125 …tcpInfo->reply = mDNSNULL; // Detach reply buffer from tcpInfo_t, to make sure client callback … in tcpCallback()
1143 { *backpointer = mDNSNULL; DisposeTCPConn(tcpInfo); } in tcpCallback()
1145 mDNSCoreReceive(m, reply, end, &Addr, Port, tls ? (mDNSAddr *)1 : mDNSNULL, srcPort, 0); in tcpCallback()
1159 if (backpointer) *backpointer = mDNSNULL; in tcpCallback()
1238 { LogMsg("MakeTCPConn: TLS connection being setup with NULL hostname"); return mDNSNULL; } in MakeTCPConn()
1241 if (!info) { LogMsg("ERROR: MakeTCP - memallocate failed"); return(mDNSNULL); } in MakeTCPConn()
1251 info->reply = mDNSNULL; in MakeTCPConn()
1263 … LogMsg("MakeTCPConn: unable to create TCP socket"); mDNSPlatformMemFree(info); return(mDNSNULL); } in MakeTCPConn()
1264 …t(info->sock, Addr, Port, hostname, (question ? question->InterfaceID : mDNSNULL), tcpCallback, in… in MakeTCPConn()
1274 …Pending ) { LogInfo("MakeTCPConn: connection failed"); DisposeTCPConn(info); return(mDNSNULL); } in MakeTCPConn()
1323 if (q->tcp) { DisposeTCPConn(q->tcp); q->tcp = mDNSNULL; } in startLLQHandshake()
1342 …q->tcp = MakeTCPConn(m, mDNSNULL, mDNSNULL, kTCPSocketFlags_UseTLS, &q->servAddr, q->servPort, &q-… in startLLQHandshake()
1382 …, &m->omsg, end, mDNSInterface_Any, q->LocalSocket, &q->servAddr, q->servPort, mDNSNULL, mDNSNULL); in startLLQHandshake()
1416 if (AuthInfo->AutoTunnelHostRecord.namestorage.c[0] == 0) return(mDNSNULL); in GetServiceTarget()
1424 HostnameInfo *besthi = mDNSNULL, *hi; in GetServiceTarget()
1441 return(mDNSNULL); in GetServiceTarget()
1595 zd->question.qnameOrig = mDNSNULL; in GetZoneData_StartQuery()
1609 if (!zd) { LogMsg("ERROR: StartGetZoneData - mDNSPlatformMemAllocate failed"); return mDNSNULL; } in StartGetZoneData()
1671 if (q->QuestionCallback == GetZoneData_QuestionCallback) return(mDNSNULL); in GetAuthInfoForQuestion()
1672 if (q->qtype == kDNSType_SOA ) return(mDNSNULL); in GetAuthInfoForQuestion()
1700 srvRR = mDNSNULL; in UpdateAllServiceRecords()
1769 rr->NATinfo.clientContext = mDNSNULL; in CompleteRecordNatMap()
1803 SetNewRData(&rr->resrec, mDNSNULL, 0); // Update rdlength, rdestimate, rdatahash in CompleteRecordNatMap()
1898 rr->next = mDNSNULL; in UnlinkResourceRecord()
1904 rr->NATinfo.clientContext = mDNSNULL; in UnlinkResourceRecord()
1950 mDNSBool WereBehindNAT = (rr->NATinfo.clientContext != mDNSNULL); in UpdateOneSRVRecord()
2104 …mDNS_SetupResourceRecord(&h->arv4, mDNSNULL, mDNSInterface_Any, kDNSType_A, kHostNameTTL, kDNSReco… in AdvertiseHostname()
2130 …mDNS_SetupResourceRecord(&h->arv6, mDNSNULL, mDNSInterface_Any, kDNSType_AAAA, kHostNameTTL, kDNSR… in AdvertiseHostname()
2159 hi->natinfo.clientContext = mDNSNULL; in HostnameCallback()
2276 q->qnameOrig = mDNSNULL; in GetStaticHostname()
2278 q->QuestionContext = mDNSNULL; in GetStaticHostname()
2623 return mDNSNULL; in BuildUpdateMessage()
2669 if (rr->tcp) { DisposeTCPConn(rr->tcp); rr->tcp = mDNSNULL; } in SendRecordRegistration()
2671 …m->omsg, ptr, kTCPSocketFlags_UseTLS, &rr->nta->Addr, rr->nta->Port, &rr->nta->Host, mDNSNULL, rr); in SendRecordRegistration()
2677 …SendDNSMessage(m, &m->omsg, ptr, mDNSInterface_Any, mDNSNULL, &rr->nta->Addr, rr->nta->Port, mDNSN… in SendRecordRegistration()
2759 rr->SendRNow = mDNSNULL; in RRMergeFailure()
2786 if (anchorRR->tcp) { DisposeTCPConn(anchorRR->tcp); anchorRR->tcp = mDNSNULL; } in SendGroupRRMessage()
2788 …Flags_UseTLS, &anchorRR->nta->Addr, anchorRR->nta->Port, &anchorRR->nta->Host, mDNSNULL, anchorRR); in SendGroupRRMessage()
2794 …SMessage(m, &m->omsg, ptr, mDNSInterface_Any, mDNSNULL, &anchorRR->nta->Addr, anchorRR->nta->Port,… in SendGroupRRMessage()
2844 AuthRecord *firstRR = mDNSNULL; in MarkRRForSending()
2909 AuthRecord *anchorRR = mDNSNULL; in SendGroupUpdates()
2912 mDNSu8 *limit = mDNSNULL; in SendGroupUpdates()
2913 DomainAuthInfo *AuthInfo = mDNSNULL; in SendGroupUpdates()
2933 AuthInfo = mDNSNULL; in SendGroupUpdates()
2934 anchorRR = mDNSNULL; in SendGroupUpdates()
2941 rr->SendRNow = mDNSNULL; in SendGroupUpdates()
3003 anchorRR = mDNSNULL; in SendGroupUpdates()
3032 if (rr->tcp) { DisposeTCPConn(rr->tcp); rr->tcp = mDNSNULL;} in SendGroupUpdates()
3073 rr->SendRNow = mDNSNULL; in CheckGroupRecordUpdates()
3185 rr->nta = mDNSNULL; in hndlRecordUpdateReply()
3220 rr->OrigRData = mDNSNULL; in hndlRecordUpdateReply()
3221 rr->InFlightRData = mDNSNULL; in hndlRecordUpdateReply()
3268 rr->QueuedRData = mDNSNULL; in hndlRecordUpdateReply()
3362 …g SSDPSocket %p", &m->SSDPSocket); mDNSPlatformUDPClose(m->SSDPSocket); m->SSDPSocket = mDNSNULL; } in uDNS_ReceiveNATPMPPacket()
3528 if (qptr->tcp) { DisposeTCPConn(qptr->tcp); qptr->tcp = mDNSNULL; } in uDNS_ReceiveMsg()
3529 …qptr->tcp = MakeTCPConn(m, mDNSNULL, mDNSNULL, kTCPSocketFlags_Zero, srcaddr, srcport, mDNSNULL, q… in uDNS_ReceiveMsg()
3613 …n(m, &m->omsg, end, kTCPSocketFlags_UseTLS, &q->servAddr, q->servPort, &q->nta->Host, q, mDNSNULL); in sendLLQRefresh()
3624 …erface_Any, q->LocalSocket, &q->servAddr, q->servPort, q->tcp ? q->tcp->sock : mDNSNULL, mDNSNULL); in sendLLQRefresh()
3628 if (q->tcp) { DisposeTCPConn(q->tcp); q->tcp = mDNSNULL; } in sendLLQRefresh()
3664 q->nta = mDNSNULL; in LLQGotZoneData()
3677 q->nta = mDNSNULL; in LLQGotZoneData()
3704 zoneInfo ? &zoneInfo->Addr : mDNSNULL, in PrivateQueryGotZoneData()
3707 q->nta = mDNSNULL; in PrivateQueryGotZoneData()
3714 q->AuthInfo = mDNSNULL; // Clear AuthInfo so we try again non-private in PrivateQueryGotZoneData()
3718 q->nta = mDNSNULL; in PrivateQueryGotZoneData()
3730 q->nta = mDNSNULL; in PrivateQueryGotZoneData()
3735 if (q->tcp) { DisposeTCPConn(q->tcp); q->tcp = mDNSNULL; } in PrivateQueryGotZoneData()
3737 …q->tcp = MakeTCPConn(m, mDNSNULL, mDNSNULL, kTCPSocketFlags_UseTLS, &zoneInfo->Addr, zoneInfo->Por… in PrivateQueryGotZoneData()
3738 if (q->nta) { CancelGetZoneData(m, q->nta); q->nta = mDNSNULL; } in PrivateQueryGotZoneData()
3765 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3774 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3784 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3795 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3806 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3814 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3822 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3855 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3877 newRR->nta = mDNSNULL; in RecordRegistrationGotZoneData()
3946 if (rr->tcp) { DisposeTCPConn(rr->tcp); rr->tcp = mDNSNULL; } in SendRecordDeregistration()
3948 …m->omsg, ptr, kTCPSocketFlags_UseTLS, &rr->nta->Addr, rr->nta->Port, &rr->nta->Host, mDNSNULL, rr); in SendRecordDeregistration()
3955 …SendDNSMessage(m, &m->omsg, ptr, mDNSInterface_Any, mDNSNULL, &rr->nta->Addr, rr->nta->Port, mDNSN… in SendRecordDeregistration()
4020 anchorRR->tcp = mDNSNULL; in uDNS_DeregisterRecord()
4067 rr->NewRData = mDNSNULL; in uDNS_UpdateRecord()
4079 rr->NewRData = mDNSNULL; in uDNS_UpdateRecord()
4087 rr->NewRData = mDNSNULL; in uDNS_UpdateRecord()
4118 (const mDNSu8 *)mDNSNULL,
4135 while (mDNS_WABLabels[i] != (const mDNSu8 *)mDNSNULL) in WABQuestion()
4140 if (mDNS_WABLabels[i] == (const mDNSu8 *)mDNSNULL) in WABQuestion()
4178 sendChallengeResponse(m, q, mDNSNULL); in uDNS_CheckCurrentQuestion()
4223 …q, q->qname.c, DNSTypeName(q->qtype), new ? &new->addr : mDNSNULL, mDNSVal16(new ? new->port : zer… in uDNS_CheckCurrentQuestion()
4264 …q->qDNSServer ? &q->qDNSServer->addr : mDNSNULL, mDNSVal16(q->qDNSServer ? q->qDNSServer->port : z… in uDNS_CheckCurrentQuestion()
4267 …SServer->interface, q->LocalSocket, &q->qDNSServer->addr, q->qDNSServer->port, mDNSNULL, mDNSNULL); in uDNS_CheckCurrentQuestion()
4342 …q->qDNSServer ? &q->qDNSServer->addr : mDNSNULL, mDNSVal16(q->qDNSServer ? q->qDNSServer->port : z… in uDNS_CheckCurrentQuestion()
4378 …if (m->NATMcastRecvskt == mDNSNULL) // If we are behind a NAT and the socket hasn't been opened y… in CheckNATMappings()
4397 …if (m->NATMcastRecvskt) { mDNSPlatformUDPClose(m->NATMcastRecvskt); m->NATMcastRecvskt = mDNSNULL;… in CheckNATMappings()
4398 …g SSDPSocket %p", &m->SSDPSocket); mDNSPlatformUDPClose(m->SSDPSocket); m->SSDPSocket = mDNSNULL; } in CheckNATMappings()
4407 err = uDNS_SendNATMsg(m, mDNSNULL); // Will also do UPnP discovery for us, if necessary in CheckNATMappings()
4529 if (rr->tcp) { DisposeTCPConn(rr->tcp); rr->tcp = mDNSNULL; } in CheckRecordUpdates()
4609 m->CurrentQuestion = mDNSNULL; in uDNS_Tasks()
4626 if (rr->nta) { rr->updateid = zeroID; CancelGetZoneData(m, rr->nta); rr->nta = mDNSNULL; } in SleepRecordRegistrations()
4631 rr->NATinfo.clientContext = mDNSNULL; in SleepRecordRegistrations()
4643 rr->OrigRData = mDNSNULL; in SleepRecordRegistrations()
4644 rr->InFlightRData = mDNSNULL; in SleepRecordRegistrations()
4659 SearchListElem *tmp = mDNSNULL; in mDNS_AddSearchDomain()
4671 tmp->next = mDNSNULL; in mDNS_AddSearchDomain()
4687 (*p)->next = mDNSNULL; in mDNS_AddSearchDomain()
4722 …mDNS_SetupResourceRecord(&arElem->ar, mDNSNULL, mDNSInterface_LocalOnly, kDNSType_PTR, 7200, kDNSR… in FoundDomain()
4798 mDNSPlatformSetDNSConfig(m, mDNSfalse, mDNStrue, mDNSNULL, mDNSNULL, mDNSNULL); in uDNS_SetupSearchDomains()
4812 ptr->AuthRecs = mDNSNULL; in uDNS_SetupSearchDomains()
4878 …count < 0) { LogMsg("uDNS_GetNextSearchDomain: count %d less than zero", count); return mDNSNULL; } in uDNS_GetNextSearchDomain()
4917 return mDNSNULL; in uDNS_GetNextSearchDomain()
4949 mDNSCoreRestartAddressQueries(m, mDNStrue, FlushAddressCacheRecords, mDNSNULL, mDNSNULL); in RetrySearchDomainQuestions()