Home
last modified time | relevance | path

Searched refs:sdref (Results 1 – 3 of 3) sorted by relevance

/external/avahi/avahi-compat-libdns_sd/
Dcompat.c289 DNSServiceRef sdref = userdata; in poll_func() local
292 assert(sdref); in poll_func()
294 ASSERT_SUCCESS(pthread_mutex_unlock(&sdref->mutex)); in poll_func()
300 ASSERT_SUCCESS(pthread_mutex_lock(&sdref->mutex)); in poll_func()
306 DNSServiceRef sdref = data; in thread_func() local
312 sdref->thread = pthread_self(); in thread_func()
313 sdref->thread_running = 1; in thread_func()
318 if ((command = read_command(sdref->thread_fd)) < 0) in thread_func()
328 ASSERT_SUCCESS(pthread_mutex_lock(&sdref->mutex)); in thread_func()
333 if ((ret = avahi_simple_poll_run(sdref->simple_poll)) < 0) { in thread_func()
[all …]
/external/mdnsresponder/Clients/
Ddns-sd.c340 static void DNSSD_API enum_reply(DNSServiceRef sdref, const DNSServiceFlags flags, uint32_t ifIndex, in enum_reply() argument
348 (void)sdref; // Unused in enum_reply()
417 static void DNSSD_API zonedata_resolve(DNSServiceRef sdref, const DNSServiceFlags flags, uint32_t i… in zonedata_resolve() argument
429 (void)sdref; // Unused in zonedata_resolve()
471 DNSServiceRefDeallocate(sdref); in zonedata_resolve()
477 static void DNSSD_API zonedata_browse(DNSServiceRef sdref, const DNSServiceFlags flags, uint32_t if… in zonedata_browse() argument
482 (void)sdref; // Unused in zonedata_browse()
494 static void DNSSD_API browse_reply(DNSServiceRef sdref, const DNSServiceFlags flags, uint32_t ifInd… in browse_reply() argument
498 (void)sdref; // Unused in browse_reply()
547 static void DNSSD_API resolve_reply(DNSServiceRef sdref, const DNSServiceFlags flags, uint32_t ifIn… in resolve_reply() argument
[all …]
/external/mdnsresponder/mDNSPosix/
Dnss_mdns.c566 handle_events (DNSServiceRef sdref, result_map_t * result, const char * str);
574 DNSServiceRef sdref,
853 DNSServiceRef sdref; in mdns_lookup_name() local
888 &sdref, in mdns_lookup_name()
907 status = handle_events (sdref, result, fullname); in mdns_lookup_name()
908 DNSServiceRefDeallocate (sdref); in mdns_lookup_name()
941 DNSServiceRef sdref; in mdns_lookup_addr() local
963 &sdref, in mdns_lookup_addr()
982 status = handle_events (sdref, result, addr_str); in mdns_lookup_addr()
983 DNSServiceRefDeallocate (sdref); in mdns_lookup_addr()
[all …]