Home
last modified time | relevance | path

Searched refs:mDNSStorage (Results 1 – 13 of 13) sorted by relevance

/external/mdnsresponder/mDNSPosix/
DClient.c30 static mDNS mDNSStorage; // mDNS core uses this to store its globals variable
188 status = mDNS_Init(&mDNSStorage, &PlatformStorage, in main()
199 …status = mDNS_StartBrowse(&mDNSStorage, &question, &type, &domain, mDNSInterface_Any, mDNSfalse, B… in main()
207 ExampleClientEventLoop(&mDNSStorage); in main()
208 mDNS_StopQuery(&mDNSStorage, &question); in main()
209 mDNS_Close(&mDNSStorage); in main()
DProxyResponder.c39 static mDNS mDNSStorage; // mDNS core uses this to store its globals variable
231 status = mDNS_Init(&mDNSStorage, &PlatformStorage, in main()
248 RegisterNoSuchService(&mDNSStorage, &proxyrecord, &proxyhostname, argv[3], argv[4], "local."); in main()
269 mDNS_RegisterProxyHost(&mDNSStorage, &proxyhost); in main()
272 RegisterService(&mDNSStorage, &proxyservice, argv[3], argv[4], "local.", in main()
280 mDNSPosixRunEventLoopOnce(&mDNSStorage, &timeout, &signals, &gotSomething); in main()
284 mDNS_Close(&mDNSStorage); in main()
DResponder.c48 static mDNS mDNSStorage; // mDNS core uses this to store its globals variable
121 mDNS_Close(&mDNSStorage); in HandleSigQuit()
439 status = mDNS_RegisterService(&mDNSStorage, &thisServ->coreServ, in RegisterOneService()
644 mDNS_DeregisterService(&mDNSStorage, &thisServ->coreServ); in DeregisterOurServices()
699 status = mDNS_Init(&mDNSStorage, &PlatformStorage, in main()
732 mDNSPosixGetFDSet(&mDNSStorage, &nfds, &readfds, &timeout); in main()
759 status = mDNSPlatformPosixRefreshInterfaceList(&mDNSStorage); in main()
769 mDNSPosixProcessFDSet(&mDNSStorage, &readfds); in main()
780 mDNS_Close(&mDNSStorage); in main()
DIdentify.c61 static mDNS mDNSStorage; // mDNS core uses this to store its globals variable
234 return(mDNS_StartQuery(&mDNSStorage, q)); in StartQuery()
244 WaitForAnswer(&mDNSStorage, 4); in DoOneQuery()
245 mDNS_StopQuery(&mDNSStorage, q); in DoOneQuery()
288 status = mDNS_Init(&mDNSStorage, &PlatformStorage, in main()
361 mDNS *const m = &mDNSStorage; in main()
372 mDNS_Close(&mDNSStorage); in main()
DPosixDaemon.c188 …err = mDNS_Init(&mDNSStorage, &PlatformStorage, gRRCache, RR_CACHE_SIZE, mDNS_Init_AdvertiseLocalA… in main()
209 Reconfigure(&mDNSStorage); in main()
222 err = MainLoop(&mDNSStorage); in main()
226 mDNS_Close(&mDNSStorage); in main()
DNetMonitor.c124 mDNS mDNSStorage; // mDNS core uses this to store its globals variable
323 …mDNSSendDNSMessage(&mDNSStorage, &query, qptr, InterfaceID, mDNSNULL, target, MulticastDNSPort, mD… in SendUnicastQuery()
830 mStatus status = mDNS_Init(&mDNSStorage, &PlatformStorage, in mDNSNetMonitor()
839 status = SetupInterfaceList(&mDNSStorage); in mDNSNetMonitor()
845 DispatchSocketEvents(&mDNSStorage); in mDNSNetMonitor()
856 mDNSPosixRunEventLoopOnce(&mDNSStorage, &timeout, &signals, &gotSomething); in mDNSNetMonitor()
919 mDNS_Close(&mDNSStorage); in mDNSNetMonitor()
/external/mdnsresponder/mDNSShared/
Ddnssd_clientshim.c31 extern mDNS mDNSStorage; // We need to pass the address of this storage to the lower-layer functio…
176 if (mDNS_DeregisterService(&mDNSStorage, &x->s) != mStatus_NoError) in DNSServiceRegisterDispose()
214 x->name = mDNSStorage.nicelabel; in RegCallback()
252 if (!name[0]) n = mDNSStorage.nicelabel; in DNSServiceRegister()
276 err = mDNS_RegisterService(&mDNSStorage, &x->s, in DNSServiceRegister()
365 mDNS_StopBrowse(&mDNSStorage, &x->q); in DNSServiceBrowseDispose()
430 …err = mDNS_StartBrowse(&mDNSStorage, &x->q, &t, &d, mDNSInterface_Any, (flags & kDNSServiceFlagsFo… in DNSServiceBrowse()
450 if (x->qSRV.ThisQInterval >= 0) mDNS_StopQuery(&mDNSStorage, &x->qSRV); in DNSServiceResolveDispose()
451 if (x->qTXT.ThisQInterval >= 0) mDNS_StopQuery(&mDNSStorage, &x->qTXT); in DNSServiceResolveDispose()
557 err = mDNS_StartQuery(&mDNSStorage, &x->qSRV); in DNSServiceResolve()
[all …]
Duds_daemon.c251 mDNSexport mDNS mDNSStorage; variable
430 …(*rep)->rhdr->ifi = dnssd_htonl(mDNSPlatformInterfaceIndexfromInterfaceID(&mDNSStorage, id, mDNS… in GenerateNTDResponse()
473 …(*rep)->rhdr->ifi = dnssd_htonl(mDNSPlatformInterfaceIndexfromInterfaceID(&mDNSStorage, id, mDNS… in GenerateBonjourBrowserResponse()
519 InterfaceID = mDNSPlatformInterfaceIDfromInterfaceIndex(&mDNSStorage, interfaceIndex); in read_rr_from_ipc_msg()
706 FreeExtraRR(&mDNSStorage, &tmp->r, mStatus_MemFree); in unlink_and_free_service_instance()
737 for (rr = mDNSStorage.ResourceRecords; rr; rr=rr->next) in CountExistingRegistrations()
961 …ceRegisterRecord(%u %s) STOP", request->sd, ptr->key, RRDisplayString(&mDNSStorage, &ptr->rr->resr… in connection_termination()
969 mDNS_Deregister(&mDNSStorage, ptr->rr); // Will free ptr->rr for us in connection_termination()
1030 …iceRegisterRecord(%u %s) START", request->sd, re->key, RRDisplayString(&mDNSStorage, &rr->resrec)); in handle_regrecord_request()
1031 err = mDNS_Register(&mDNSStorage, rr); in handle_regrecord_request()
[all …]
DPlatformCommon.c162 extern mDNS mDNSStorage; in mDNSPlatformWriteLogMsg()
164 …mDNSs32 t = mDNSStorage.timenow ? mDNSStorage.timenow : mDNSPlatformClockDivisor ? mDNS_TimeNow_No… in mDNSPlatformWriteLogMsg()
Duds_daemon.h49 extern mDNS mDNSStorage;
Ddnsextd.c1522 lease = GetPktLease(&mDNSStorage, &request->msg, end); in HandleRequest()
3135 mDNS mDNSStorage; variable
/external/mdnsresponder/mDNSWindows/SystemService/
DService.c183 #define gMDNSRecord mDNSStorage
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.c1651 extern mDNS mDNSStorage; in mDNSPlatformWriteLogMsg()
1670 mDNSStorage.p->reportStatusFunc( type, msg ); in mDNSPlatformWriteLogMsg()