Lines Matching refs:fd_ipv6
86 int fd_ipv4, fd_ipv6;
149 if (l->engine->fd_ipv6 < 0)
152 return avahi_send_dns_packet_ipv6(l->engine->fd_ipv6, AVAHI_IF_UNSPEC, p, NULL, &a->data.ipv6, AVAHI_DNS_PORT);
562 assert(fd == e->fd_ipv6);
563 p = avahi_recv_dns_packet_ipv6(e->fd_ipv6, NULL, NULL, NULL, NULL, NULL);
583 e->fd_ipv6 = s->config.use_ipv6 ? avahi_open_unicast_socket_ipv6() : -1;
585 if (e->fd_ipv4 < 0 && e->fd_ipv6 < 0) {
588 if (e->fd_ipv6 >= 0)
589 close(e->fd_ipv6);
604 if (e->fd_ipv6 >= 0)
605 e->watch_ipv6 = s->poll_api->watch_new(e->server->poll_api, e->fd_ipv6, AVAHI_WATCH_IN, socket_event, e);
641 if (e->fd_ipv6 >= 0)
642 close(e->fd_ipv6);
664 if ((a->proto == AVAHI_PROTO_INET && e->fd_ipv4 >= 0) || (a->proto == AVAHI_PROTO_INET6 && e->fd_ipv6 >= 0))