Searched refs:fd_ipv6 (Results 1 – 4 of 4) sorted by relevance
/external/avahi/avahi-core/ |
D | wide-area.c | 84 int fd_ipv4, fd_ipv6; member 147 if (l->engine->fd_ipv6 < 0) in send_to_dns_server() 150 …return avahi_send_dns_packet_ipv6(l->engine->fd_ipv6, AVAHI_IF_UNSPEC, p, NULL, &a->data.ipv6, AVA… in send_to_dns_server() 560 assert(fd == e->fd_ipv6); in socket_event() 561 p = avahi_recv_dns_packet_ipv6(e->fd_ipv6, NULL, NULL, NULL, NULL, NULL); in socket_event() 581 e->fd_ipv6 = s->config.use_ipv6 ? avahi_open_unicast_socket_ipv6() : -1; in avahi_wide_area_engine_new() 583 if (e->fd_ipv4 < 0 && e->fd_ipv6 < 0) { in avahi_wide_area_engine_new() 586 if (e->fd_ipv6 >= 0) in avahi_wide_area_engine_new() 587 close(e->fd_ipv6); in avahi_wide_area_engine_new() 602 if (e->fd_ipv6 >= 0) in avahi_wide_area_engine_new() [all …]
|
D | server.c | 1034 assert(fd == s->fd_ipv6); in mcast_socket_event() 1036 … p = avahi_recv_dns_packet_ipv6(s->fd_ipv6, &src.data.ipv6, &port, &dest.data.ipv6, &iface, &ttl); in mcast_socket_event() 1329 s->fd_ipv6 = s->config.use_ipv6 ? avahi_open_socket_ipv6(s->config.disallow_other_stacks) : -1; in setup_sockets() 1331 if (s->fd_ipv6 < 0 && s->fd_ipv4 < 0) in setup_sockets() 1336 else if (s->fd_ipv6 < 0 && s->config.use_ipv6) in setup_sockets() 1340 …s->fd_legacy_unicast_ipv6 = s->fd_ipv6 >= 0 && s->config.enable_reflector ? avahi_open_unicast_soc… in setup_sockets() 1349 if (s->fd_ipv6 >= 0) in setup_sockets() 1350 …s->watch_ipv6 = s->poll_api->watch_new(s->poll_api, s->fd_ipv6, AVAHI_WATCH_IN, mcast_socket_event… in setup_sockets() 1519 if (s->fd_ipv6 >= 0) in avahi_server_free() 1520 close(s->fd_ipv6); in avahi_server_free()
|
D | iface.c | 182 if ((i->protocol == AVAHI_PROTO_INET6 && i->monitor->server->fd_ipv6 < 0) || in interface_mdns_mcast_join() 213 …r = avahi_mdns_mcast_join_ipv6(i->monitor->server->fd_ipv6, &i->local_mcast_address.data.ipv6, i->… in interface_mdns_mcast_join() 404 if (m->server->fd_ipv6 >= 0 || m->server->config.publish_aaaa_on_ipv4) in avahi_hw_interface_new() 600 else if (i->protocol == AVAHI_PROTO_INET6 && i->monitor->server->fd_ipv6 >= 0) in avahi_interface_send_packet_unicast() 601 …avahi_send_dns_packet_ipv6(i->monitor->server->fd_ipv6, i->hardware->index, p, i->mcast_joined ? &… in avahi_interface_send_packet_unicast()
|
D | internal.h | 132 int fd_ipv4, fd_ipv6, member
|