Searched refs:fd_ipv4 (Results 1 - 8 of 8) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/avahi-0.6.25/avahi-core/
H A Dwide-area.c86 int fd_ipv4, fd_ipv6; member in struct:AvahiWideAreaLookupEngine
141 if (l->engine->fd_ipv4 < 0)
144 return avahi_send_dns_packet_ipv4(l->engine->fd_ipv4, AVAHI_IF_UNSPEC, p, NULL, &a->data.ipv4, AVAHI_DNS_PORT);
559 if (fd == e->fd_ipv4)
560 p = avahi_recv_dns_packet_ipv4(e->fd_ipv4, NULL, NULL, NULL, NULL, NULL);
582 e->fd_ipv4 = s->config.use_ipv4 ? avahi_open_unicast_socket_ipv4() : -1;
585 if (e->fd_ipv4 < 0 && e->fd_ipv6 < 0) {
591 if (e->fd_ipv4 >= 0)
592 close(e->fd_ipv4);
602 if (e->fd_ipv4 >
[all...]
H A Dinternal.h130 int fd_ipv4, fd_ipv6, member in struct:AvahiServer
H A Dserver.c1031 if (fd == s->fd_ipv4) {
1033 p = avahi_recv_dns_packet_ipv4(s->fd_ipv4, &src.data.ipv4, &port, &dest.data.ipv4, &iface, &ttl);
1327 s->fd_ipv4 = s->config.use_ipv4 ? avahi_open_socket_ipv4(s->config.disallow_other_stacks) : -1;
1330 if (s->fd_ipv6 < 0 && s->fd_ipv4 < 0)
1333 if (s->fd_ipv4 < 0 && s->config.use_ipv4)
1338 s->fd_legacy_unicast_ipv4 = s->fd_ipv4 >= 0 && s->config.enable_reflector ? avahi_open_unicast_socket_ipv4() : -1;
1346 if (s->fd_ipv4 >= 0)
1347 s->watch_ipv4 = s->poll_api->watch_new(s->poll_api, s->fd_ipv4, AVAHI_WATCH_IN, mcast_socket_event, s);
1512 if (s->fd_ipv4 >= 0)
1513 close(s->fd_ipv4);
[all...]
H A Diface.c186 (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 < 0))
220 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)
576 if (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 >= 0)
577 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);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/avahi-0.6.25/avahi-core/
H A Dwide-area.c86 int fd_ipv4, fd_ipv6; member in struct:AvahiWideAreaLookupEngine
141 if (l->engine->fd_ipv4 < 0)
144 return avahi_send_dns_packet_ipv4(l->engine->fd_ipv4, AVAHI_IF_UNSPEC, p, NULL, &a->data.ipv4, AVAHI_DNS_PORT);
559 if (fd == e->fd_ipv4)
560 p = avahi_recv_dns_packet_ipv4(e->fd_ipv4, NULL, NULL, NULL, NULL, NULL);
582 e->fd_ipv4 = s->config.use_ipv4 ? avahi_open_unicast_socket_ipv4() : -1;
585 if (e->fd_ipv4 < 0 && e->fd_ipv6 < 0) {
591 if (e->fd_ipv4 >= 0)
592 close(e->fd_ipv4);
602 if (e->fd_ipv4 >
[all...]
H A Dinternal.h130 int fd_ipv4, fd_ipv6, member in struct:AvahiServer
H A Dserver.c1031 if (fd == s->fd_ipv4) {
1033 p = avahi_recv_dns_packet_ipv4(s->fd_ipv4, &src.data.ipv4, &port, &dest.data.ipv4, &iface, &ttl);
1327 s->fd_ipv4 = s->config.use_ipv4 ? avahi_open_socket_ipv4(s->config.disallow_other_stacks) : -1;
1330 if (s->fd_ipv6 < 0 && s->fd_ipv4 < 0)
1333 if (s->fd_ipv4 < 0 && s->config.use_ipv4)
1338 s->fd_legacy_unicast_ipv4 = s->fd_ipv4 >= 0 && s->config.enable_reflector ? avahi_open_unicast_socket_ipv4() : -1;
1346 if (s->fd_ipv4 >= 0)
1347 s->watch_ipv4 = s->poll_api->watch_new(s->poll_api, s->fd_ipv4, AVAHI_WATCH_IN, mcast_socket_event, s);
1512 if (s->fd_ipv4 >= 0)
1513 close(s->fd_ipv4);
[all...]
H A Diface.c180 (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 < 0))
214 r = avahi_mdns_mcast_join_ipv4(i->monitor->server->fd_ipv4, &i->local_mcast_address.data.ipv4, i->hardware->index, join);
396 if (m->server->fd_ipv4 >= 0 || m->server->config.publish_a_on_ipv6)
570 if (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 >= 0)
571 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 179 milliseconds