Home
last modified time | relevance | path

Searched refs:mDNSNULL (Results 1 – 14 of 14) sorted by relevance

/external/mdnsresponder/mDNSCore/
DmDNS.c177 (*cp)->name = mDNSNULL; in ReleaseAuthGroup()
184 AuthEntity *e = mDNSNULL; in GetAuthEntity()
186 if (r->rrauth_lock) { LogMsg("GetFreeCacheRR ERROR! Cache already locked!"); return(mDNSNULL); } in GetAuthEntity()
196 storage->next = mDNSNULL; in GetAuthEntity()
255 AuthGroup *ag = (AuthGroup*)GetAuthEntity(r, mDNSNULL); in GetAuthGroup()
256 …!ag) { LogMsg("GetAuthGroup: Failed to allocate memory for %##s", rr->name->c); return(mDNSNULL); } in GetAuthGroup()
259 ag->members = mDNSNULL; in GetAuthGroup()
262 ag->NewLocalOnlyRecords = mDNSNULL; in GetAuthGroup()
268 return(mDNSNULL); in GetAuthGroup()
303 …"RemoveAuthRecord: ERROR!! AuthGroup not found for %s", ARDisplayString(m, rr)); return mDNSNULL; } in RemoveAuthRecord()
[all …]
DuDNS.c42 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()
[all …]
DDNSCommon.c132 if (next) return(next->InterfaceID); else return(mDNSNULL); in GetNextActiveInterfaceID()
390 d1 = d2 = d3 = d4 = d5 = mDNSNULL; in IsLocalDomain()
445 if (parent && parent->c[0] == 0) parent = mDNSNULL; in CompressedDomainNameLength()
492 if (*cstr) return(mDNSNULL); // Failure: We didn't successfully consume all input in AppendLiteralLabelString()
511 …) { LogMsg("AppendDNSNameString: Illegal empty label in name \"%s\"", cstring); return(mDNSNULL); } in AppendDNSNameString()
531 return(mDNSNULL); in AppendDNSNameString()
536 if (*cstr) return(mDNSNULL); // Failure: We didn't successfully consume all input in AppendDNSNameString()
551 if (label->c[0] > MAX_DOMAIN_LABEL) return(mDNSNULL); in AppendDomainLabel()
554 if (ptr + 1 + label->c[0] + 1 > name->c + MAX_DOMAIN_NAME) return(mDNSNULL); in AppendDomainLabel()
569 if (ptr + 1 + src[0] > lim) return(mDNSNULL); in AppendDomainName()
[all …]
DDNSDigest.c1148 if (!*s) return mDNSNULL; in mDNSstrchr()
1235 for ((void)mDNSNULL; ch != '\0'; ch = *src++) in DNSDigest_Base64ToBin()
1250 for ((void)mDNSNULL; ch != '\0'; ch = *src++) in DNSDigest_Base64ToBin()
1348 …DNS_SetupResourceRecord(&tsig, mDNSNULL, 0, kDNSType_TSIG, 0, kDNSRecordTypeKnownUnique, AuthRecor… in DNSDigest_SignMessage()
1372 …{ LogMsg("ERROR: DNSDigest_SignMessage - mDNSPlatformUTC returned bad time -1"); *end = mDNSNULL; } in DNSDigest_SignMessage()
1422 …if (!*end) { LogMsg("ERROR: DNSDigest_SignMessage - could not put TSIG"); *end = mDNSNULL; return;… in DNSDigest_SignMessage()
DDNSCommon.h175 …rrtype == kDNSType_SRV ) ? &(RR)->rdata->u.srv.target : mDNSNULL )
DmDNSEmbeddedAPI.h308 #define mDNSNULL 0L macro
2125 #define mDNS_Init_NoCache mDNSNULL
2130 #define mDNS_Init_NoInitCallback mDNSNULL
2131 #define mDNS_Init_NoInitCallbackContext mDNSNULL
/external/mdnsresponder/mDNSPosix/
DProxyResponder.c72 …mDNS_SetupResourceRecord(&p->RR_A, mDNSNULL, mDNSInterface_Any, kDNSType_A, 60, kDNSRecordType… in mDNS_RegisterProxyHost()
73 …mDNS_SetupResourceRecord(&p->RR_PTR, mDNSNULL, mDNSInterface_Any, kDNSType_PTR, 60, kDNSRecordType… in mDNS_RegisterProxyHost()
123 mDNS_RenameAndReregisterService(m, sr, mDNSNULL); in ServiceCallback()
159 mDNSNULL, 0, // Subtypes in RegisterService()
161 ServiceCallback, mDNSNULL, 0); // Callback, context, flags in RegisterService()
201 …e(m, rr, &n, &t, &d, proxyhostname, mDNSInterface_Any, NoSuchServiceCallback, mDNSNULL, mDNSfalse); in NoSuchServiceCallback()
DPosixDaemon.c202 err = udsserver_init(mDNSNULL, 0); in main()
206 err = udsserver_init(mDNSNULL, 0); in main()
DNetMonitor.c323 …Message(&mDNSStorage, &query, qptr, InterfaceID, mDNSNULL, target, MulticastDNSPort, mDNSNULL, mDN… in SendUnicastQuery()
471 return(mDNSNULL); in FindUpdate()
DIdentify.c229 q->qnameOrig = mDNSNULL; in StartQuery()
DResponder.c385 status = mDNS_RenameAndReregisterService(m, thisRegistration, mDNSNULL); in RegistrationCallback()
/external/mdnsresponder/mDNSShared/
Ddnssd_clientshim.c190 if (x->autoname) mDNS_RenameAndReregisterService(m, sr, mDNSNULL); in RegCallback()
229 AuthRecord *SubTypes = mDNSNULL; in DNSServiceRegister()
446 if (answer->rrtype == kDNSType_SRV && x->SRV == answer) x->SRV = mDNSNULL; in FoundServiceInfo()
447 if (answer->rrtype == kDNSType_TXT && x->TXT == answer) x->TXT = mDNSNULL; in FoundServiceInfo()
499 x->SRV = mDNSNULL; in DNSServiceResolve()
500 x->TXT = mDNSNULL; in DNSServiceResolve()
518 x->qSRV.qnameOrig = mDNSNULL; in DNSServiceResolve()
538 x->qTXT.qnameOrig = mDNSNULL; in DNSServiceResolve()
667 x->q.qnameOrig = mDNSNULL; in DNSServiceQueryRecord()
741 x->aQuery = mDNSNULL; in DNSServiceGetAddrInfo()
Duds_daemon.c371 reply->next = mDNSNULL; in create_reply()
529 mDNS_SetupResourceRecord(rr, mDNSNULL, InterfaceID, type, 0, in read_rr_from_ipc_msg()
530 …DNSServiceFlagsShared) ? kDNSRecordTypeShared : kDNSRecordTypeUnique), artype, mDNSNULL, mDNSNULL); in read_rr_from_ipc_msg()
546 SetNewRData(&rr->resrec, mDNSNULL, 0); // Sets rr->rdatahash for us in read_rr_from_ipc_msg()
576 const DNameListElem *delem = mDNSNULL;
841 mDNS_RenameAndReregisterService(m, srs, mDNSNULL); in regservice_callback()
1397 return(mDNSNULL); in FindNextSubType()
1420 AuthRecord *st = mDNSNULL; in AllocateSubTypes()
1425 if (!st) return(mDNSNULL); in AllocateSubTypes()
1428 …_SetupResourceRecord(&st[i], mDNSNULL, mDNSInterface_Any, kDNSQType_ANY, kStandardTTL, 0, AuthReco… in AllocateSubTypes()
[all …]
Ddnsextd.c1648 …sourceRecord(opt, mDNSNULL, mDNSInterface_Any, kDNSType_OPT, kStandardTTL, kDNSRecordTypeKnownUniq… in FormatLLQOpt()