Searched refs:fd_ipv4 (Results 1 - 4 of 4) sorted by relevance
/external/avahi/avahi-core/ |
H A D | wide-area.c | 84 int fd_ipv4, fd_ipv6; member in struct:AvahiWideAreaLookupEngine 139 if (l->engine->fd_ipv4 < 0) 142 return avahi_send_dns_packet_ipv4(l->engine->fd_ipv4, AVAHI_IF_UNSPEC, p, NULL, &a->data.ipv4, AVAHI_DNS_PORT); 557 if (fd == e->fd_ipv4) 558 p = avahi_recv_dns_packet_ipv4(e->fd_ipv4, NULL, NULL, NULL, NULL, NULL); 580 e->fd_ipv4 = s->config.use_ipv4 ? avahi_open_unicast_socket_ipv4() : -1; 583 if (e->fd_ipv4 < 0 && e->fd_ipv6 < 0) { 589 if (e->fd_ipv4 >= 0) 590 close(e->fd_ipv4); 600 if (e->fd_ipv4 > [all...] |
H A D | internal.h | 132 int fd_ipv4, fd_ipv6, member in struct:AvahiServer
|
H A D | server.c | 1030 if (fd == s->fd_ipv4) { 1032 p = avahi_recv_dns_packet_ipv4(s->fd_ipv4, &src.data.ipv4, &port, &dest.data.ipv4, &iface, &ttl); 1328 s->fd_ipv4 = s->config.use_ipv4 ? avahi_open_socket_ipv4(s->config.disallow_other_stacks) : -1; 1331 if (s->fd_ipv6 < 0 && s->fd_ipv4 < 0) 1334 if (s->fd_ipv4 < 0 && s->config.use_ipv4) 1339 s->fd_legacy_unicast_ipv4 = s->fd_ipv4 >= 0 && s->config.enable_reflector ? avahi_open_unicast_socket_ipv4() : -1; 1347 if (s->fd_ipv4 >= 0) 1348 s->watch_ipv4 = s->poll_api->watch_new(s->poll_api, s->fd_ipv4, AVAHI_WATCH_IN, mcast_socket_event, s); 1517 if (s->fd_ipv4 >= 0) 1518 close(s->fd_ipv4); [all...] |
H A D | iface.c | 183 (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 < 0)) 217 r = avahi_mdns_mcast_join_ipv4(i->monitor->server->fd_ipv4, &i->local_mcast_address.data.ipv4, i->hardware->index, join); 402 if (m->server->fd_ipv4 >= 0 || m->server->config.publish_a_on_ipv6) 598 if (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 >= 0) 599 avahi_send_dns_packet_ipv4(i->monitor->server->fd_ipv4, i->hardware->index, p, i->mcast_joined ? &i->local_mcast_address.data.ipv4 : NULL, a ? &a->data.ipv4 : NULL, port);
|
Completed in 134 milliseconds