Home
last modified time | relevance | path

Searched refs:DNSServiceRef (Results 1 – 4 of 4) sorted by relevance

/system/netd/server/
DMDnsSdListener.h29 void MDnsSdListenerDiscoverCallback(DNSServiceRef sdRef, DNSServiceFlags flags,
34 void MDnsSdListenerRegisterCallback(DNSServiceRef sdRef, DNSServiceFlags flags,
38 void MDnsSdListenerResolveCallback(DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t interface,
42 void MDnsSdListenerSetHostnameCallback(DNSServiceRef, DNSServiceFlags flags,
45 void MDnsSdListenerGetAddrInfoCallback(DNSServiceRef sdRef, DNSServiceFlags flags,
75 DNSServiceRef *allocateServiceRef(int id, Context *c);
77 DNSServiceRef *lookupServiceRef(int id);
82 void deallocateServiceRef(DNSServiceRef* ref);
94 DNSServiceRef mRef = nullptr;
101 DNSServiceRef **mPollRefs;
DMDnsSdListener.cpp77 DNSServiceRef *ref = mMonitor->allocateServiceRef(requestId, context); in discover()
103 void MDnsSdListenerDiscoverCallback(DNSServiceRef /* sdRef */, DNSServiceFlags flags, in MDnsSdListenerDiscoverCallback() argument
146 DNSServiceRef *ref = mMonitor->lookupServiceRef(requestId); in stop()
169 DNSServiceRef *ref = mMonitor->allocateServiceRef(requestId, context); in serviceRegister()
196 void MDnsSdListenerRegisterCallback(DNSServiceRef /* sdRef */, DNSServiceFlags /* flags */, in MDnsSdListenerRegisterCallback() argument
225 DNSServiceRef *ref = mMonitor->allocateServiceRef(requestId, context); in resolveService()
250 void MDnsSdListenerResolveCallback(DNSServiceRef /* sdRef */, DNSServiceFlags /* flags */, in MDnsSdListenerResolveCallback() argument
291 DNSServiceRef *ref = mMonitor->allocateServiceRef(requestId, context); in getAddrInfo()
316 void MDnsSdListenerGetAddrInfoCallback(DNSServiceRef /* sdRef */, DNSServiceFlags /* flags */, in MDnsSdListenerGetAddrInfoCallback() argument
351 DNSServiceRef *ref = mMonitor->allocateServiceRef(requestId, context); in setHostname()
[all …]
/system/core/adb/client/
Dtransport_mdns.cpp45 static DNSServiceRef service_refs[kNumADBDNSServices];
121 static inline int adb_DNSServiceRefSockFD(DNSServiceRef ref) { in adb_DNSServiceRefSockFD()
126 static void DNSSD_API register_service_ip(DNSServiceRef sdRef,
136 DNSServiceRef* ref = reinterpret_cast<DNSServiceRef*>(data); in pump_service_ref()
164 DNSServiceRef sdRef_;
443 static void DNSSD_API register_service_ip(DNSServiceRef sdRef, DNSServiceFlags flags, in register_service_ip()
468 static void DNSSD_API register_resolved_mdns_service(DNSServiceRef sdRef,
559 DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, in register_resolved_mdns_service()
591 static void DNSSD_API on_service_browsed(DNSServiceRef sdRef, DNSServiceFlags flags, in on_service_browsed()
/system/core/adb/daemon/
Dmdns.cpp37 static DNSServiceRef mdns_refs[kNumADBDNSServices];
52 static void mdns_callback(DNSServiceRef /*ref*/, in mdns_callback() argument