Home
last modified time | relevance | path

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

/system/netd/server/
DMDnsSdListener.h28 void MDnsSdListenerDiscoverCallback(DNSServiceRef sdRef, DNSServiceFlags flags,
33 void MDnsSdListenerRegisterCallback(DNSServiceRef sdRef, DNSServiceFlags flags,
37 void MDnsSdListenerResolveCallback(DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t interface,
41 void MDnsSdListenerSetHostnameCallback(DNSServiceRef, DNSServiceFlags flags,
44 void MDnsSdListenerGetAddrInfoCallback(DNSServiceRef sdRef, DNSServiceFlags flags,
74 DNSServiceRef *allocateServiceRef(int id, Context *c);
76 DNSServiceRef *lookupServiceRef(int id);
81 void deallocateServiceRef(DNSServiceRef* ref);
92 DNSServiceRef mRef = nullptr;
99 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.cpp37 static DNSServiceRef service_ref;
43 static inline int adb_DNSServiceRefSockFD(DNSServiceRef ref) { in adb_DNSServiceRefSockFD()
48 static void DNSSD_API register_service_ip(DNSServiceRef sdRef,
58 DNSServiceRef* ref = reinterpret_cast<DNSServiceRef*>(data); in pump_service_ref()
80 DNSServiceRef sdRef_;
158 static void DNSSD_API register_service_ip(DNSServiceRef /*sdRef*/, in register_service_ip() argument
172 static void DNSSD_API register_resolved_mdns_service(DNSServiceRef sdRef,
209 static void DNSSD_API register_resolved_mdns_service(DNSServiceRef sdRef, in register_resolved_mdns_service()
242 static void DNSSD_API register_mdns_transport(DNSServiceRef sdRef, in register_mdns_transport()
/system/core/adb/daemon/
Dmdns.cpp35 static DNSServiceRef mdns_ref;
50 static void mdns_callback(DNSServiceRef /*ref*/, in mdns_callback() argument