Home
last modified time | relevance | path

Searched refs:mDNSNULL (Results 1 – 16 of 16) 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.c1150 if (!*s) return mDNSNULL; in mDNSstrchr()
1237 for ((void)mDNSNULL; ch != '\0'; ch = *src++) in DNSDigest_Base64ToBin()
1252 for ((void)mDNSNULL; ch != '\0'; ch = *src++) in DNSDigest_Base64ToBin()
1350 …DNS_SetupResourceRecord(&tsig, mDNSNULL, 0, kDNSType_TSIG, 0, kDNSRecordTypeKnownUnique, AuthRecor… in DNSDigest_SignMessage()
1374 …{ LogMsg("ERROR: DNSDigest_SignMessage - mDNSPlatformUTC returned bad time -1"); *end = mDNSNULL; } in DNSDigest_SignMessage()
1424 …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.h319 #define mDNSNULL 0L macro
2136 #define mDNS_Init_NoCache mDNSNULL
2141 #define mDNS_Init_NoInitCallback mDNSNULL
2142 #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.c201 if (x->autoname) mDNS_RenameAndReregisterService(m, sr, mDNSNULL); in RegCallback()
244 AuthRecord *SubTypes = mDNSNULL; in DNSServiceRegister()
461 if (answer->rrtype == kDNSType_SRV && x->SRV == answer) x->SRV = mDNSNULL; in FoundServiceInfo()
462 if (answer->rrtype == kDNSType_TXT && x->TXT == answer) x->TXT = mDNSNULL; in FoundServiceInfo()
514 x->SRV = mDNSNULL; in DNSServiceResolve()
515 x->TXT = mDNSNULL; in DNSServiceResolve()
533 x->qSRV.qnameOrig = mDNSNULL; in DNSServiceResolve()
553 x->qTXT.qnameOrig = mDNSNULL; in DNSServiceResolve()
682 x->q.qnameOrig = mDNSNULL; in DNSServiceQueryRecord()
756 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()
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.c872 id = mDNSNULL; in mDNSPlatformInterfaceIDfromInterfaceIndex()
1023 sock = mDNSNULL; in mDNSPlatformTCPSocket()
1854 mDNS_AddSearchDomain_CString(tok, mDNSNULL); in SetSearchDomainList()
1900 mDNS_AddSearchDomain_CString(buffer, mDNSNULL); in SetReverseMapSearchDomainList()
1987 …if ( !err ) mDNS_AddDNSServer(m, mDNSNULL, mDNSInterface_Any, &addr, UnicastDNSPort, mDNSfalse, 0); in SetDNSServers()
2072 if ( domain && domain[0] ) mDNS_AddSearchDomain_CString(domain, mDNSNULL); in SetDomainFromDHCP()
/external/mdnsresponder/mDNSWindows/SystemService/
DService.c1200 err = udsserver_init(mDNSNULL, 0); in ServiceSpecificInitialize()