Lines Matching refs:ddata
378 struct avahi_discovery_data *ddata = (struct avahi_discovery_data *) d; in __avahi_resolver_cb() local
380 memcpy(ddata->address, address, sizeof(*address)); in __avahi_resolver_cb()
381 *ddata->port = port; in __avahi_resolver_cb()
382 ddata->resolved = true; in __avahi_resolver_cb()
392 struct avahi_discovery_data *ddata = (struct avahi_discovery_data *) d; in __avahi_browser_cb() local
398 ddata->found = !!avahi_service_resolver_new(client, iface, in __avahi_browser_cb()
404 if (ddata->found) { in __avahi_browser_cb()
405 while (!ddata->resolved) { in __avahi_browser_cb()
414 avahi_simple_poll_quit(ddata->poll); in __avahi_browser_cb()
423 struct avahi_discovery_data ddata; in discover_host() local
439 memset(&ddata, 0, sizeof(ddata)); in discover_host()
440 ddata.poll = poll; in discover_host()
441 ddata.address = addr; in discover_host()
442 ddata.port = port; in discover_host()
446 "_iio._tcp", NULL, 0, __avahi_browser_cb, &ddata); in discover_host()
457 if (!ddata.found) in discover_host()