Home
last modified time | relevance | path

Searched refs:fd_ipv4 (Results 1 – 25 of 36) sorted by relevance

12

/dports/net/py-avahi/avahi-0.8/avahi-core/
H A Dwide-area.c84 int fd_ipv4, fd_ipv6; member
139 if (l->engine->fd_ipv4 < 0) in send_to_dns_server()
557 if (fd == e->fd_ipv4) in socket_event()
558 p = avahi_recv_dns_packet_ipv4(e->fd_ipv4, NULL, NULL, NULL, NULL, NULL); in socket_event()
580 e->fd_ipv4 = s->config.use_ipv4 ? avahi_open_unicast_socket_ipv4() : -1; in avahi_wide_area_engine_new()
583 if (e->fd_ipv4 < 0 && e->fd_ipv6 < 0) { in avahi_wide_area_engine_new()
589 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_new()
590 close(e->fd_ipv4); in avahi_wide_area_engine_new()
600 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_new()
642 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_free()
[all …]
H A Dserver.c1079 if (fd == s->fd_ipv4) { in mcast_socket_event()
1081 … p = avahi_recv_dns_packet_ipv4(s->fd_ipv4, &src.data.ipv4, &port, &dest.data.ipv4, &iface, &ttl); in mcast_socket_event()
1378 s->fd_ipv4 = s->config.use_ipv4 ? avahi_open_socket_ipv4(s->config.disallow_other_stacks) : -1; in setup_sockets()
1381 if (s->fd_ipv6 < 0 && s->fd_ipv4 < 0) in setup_sockets()
1384 if (s->fd_ipv4 < 0 && s->config.use_ipv4) in setup_sockets()
1389 …s->fd_legacy_unicast_ipv4 = s->fd_ipv4 >= 0 && s->config.enable_reflector ? avahi_open_unicast_soc… in setup_sockets()
1397 if (s->fd_ipv4 >= 0) in setup_sockets()
1398 …s->watch_ipv4 = s->poll_api->watch_new(s->poll_api, s->fd_ipv4, AVAHI_WATCH_IN, mcast_socket_event… in setup_sockets()
1567 if (s->fd_ipv4 >= 0) in avahi_server_free()
1568 close(s->fd_ipv4); in avahi_server_free()
H A Diface.c186 (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 < 0)) in interface_mdns_mcast_join()
220 …r = avahi_mdns_mcast_join_ipv4(i->monitor->server->fd_ipv4, &i->local_mcast_address.data.ipv4, i->… in interface_mdns_mcast_join()
405 if (m->server->fd_ipv4 >= 0 || m->server->config.publish_a_on_ipv6) in avahi_hw_interface_new()
601 if (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 >= 0) in avahi_interface_send_packet_unicast()
602 …avahi_send_dns_packet_ipv4(i->monitor->server->fd_ipv4, i->hardware->index, p, i->mcast_joined ? &… in avahi_interface_send_packet_unicast()
/dports/net/avahi-qt5/avahi-0.8/avahi-core/
H A Dwide-area.c84 int fd_ipv4, fd_ipv6; member
139 if (l->engine->fd_ipv4 < 0) in send_to_dns_server()
557 if (fd == e->fd_ipv4) in socket_event()
558 p = avahi_recv_dns_packet_ipv4(e->fd_ipv4, NULL, NULL, NULL, NULL, NULL); in socket_event()
580 e->fd_ipv4 = s->config.use_ipv4 ? avahi_open_unicast_socket_ipv4() : -1; in avahi_wide_area_engine_new()
583 if (e->fd_ipv4 < 0 && e->fd_ipv6 < 0) { in avahi_wide_area_engine_new()
589 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_new()
590 close(e->fd_ipv4); in avahi_wide_area_engine_new()
600 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_new()
642 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_free()
[all …]
H A Dserver.c1079 if (fd == s->fd_ipv4) { in mcast_socket_event()
1081 … p = avahi_recv_dns_packet_ipv4(s->fd_ipv4, &src.data.ipv4, &port, &dest.data.ipv4, &iface, &ttl); in mcast_socket_event()
1378 s->fd_ipv4 = s->config.use_ipv4 ? avahi_open_socket_ipv4(s->config.disallow_other_stacks) : -1; in setup_sockets()
1381 if (s->fd_ipv6 < 0 && s->fd_ipv4 < 0) in setup_sockets()
1384 if (s->fd_ipv4 < 0 && s->config.use_ipv4) in setup_sockets()
1389 …s->fd_legacy_unicast_ipv4 = s->fd_ipv4 >= 0 && s->config.enable_reflector ? avahi_open_unicast_soc… in setup_sockets()
1397 if (s->fd_ipv4 >= 0) in setup_sockets()
1398 …s->watch_ipv4 = s->poll_api->watch_new(s->poll_api, s->fd_ipv4, AVAHI_WATCH_IN, mcast_socket_event… in setup_sockets()
1567 if (s->fd_ipv4 >= 0) in avahi_server_free()
1568 close(s->fd_ipv4); in avahi_server_free()
H A Diface.c186 (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 < 0)) in interface_mdns_mcast_join()
220 …r = avahi_mdns_mcast_join_ipv4(i->monitor->server->fd_ipv4, &i->local_mcast_address.data.ipv4, i->… in interface_mdns_mcast_join()
405 if (m->server->fd_ipv4 >= 0 || m->server->config.publish_a_on_ipv6) in avahi_hw_interface_new()
601 if (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 >= 0) in avahi_interface_send_packet_unicast()
602 …avahi_send_dns_packet_ipv4(i->monitor->server->fd_ipv4, i->hardware->index, p, i->mcast_joined ? &… in avahi_interface_send_packet_unicast()
/dports/net/avahi-libdns/avahi-0.8/avahi-core/
H A Dwide-area.c84 int fd_ipv4, fd_ipv6; member
139 if (l->engine->fd_ipv4 < 0) in send_to_dns_server()
557 if (fd == e->fd_ipv4) in socket_event()
558 p = avahi_recv_dns_packet_ipv4(e->fd_ipv4, NULL, NULL, NULL, NULL, NULL); in socket_event()
580 e->fd_ipv4 = s->config.use_ipv4 ? avahi_open_unicast_socket_ipv4() : -1; in avahi_wide_area_engine_new()
583 if (e->fd_ipv4 < 0 && e->fd_ipv6 < 0) { in avahi_wide_area_engine_new()
589 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_new()
590 close(e->fd_ipv4); in avahi_wide_area_engine_new()
600 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_new()
642 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_free()
[all …]
H A Dserver.c1079 if (fd == s->fd_ipv4) { in mcast_socket_event()
1081 … p = avahi_recv_dns_packet_ipv4(s->fd_ipv4, &src.data.ipv4, &port, &dest.data.ipv4, &iface, &ttl); in mcast_socket_event()
1378 s->fd_ipv4 = s->config.use_ipv4 ? avahi_open_socket_ipv4(s->config.disallow_other_stacks) : -1; in setup_sockets()
1381 if (s->fd_ipv6 < 0 && s->fd_ipv4 < 0) in setup_sockets()
1384 if (s->fd_ipv4 < 0 && s->config.use_ipv4) in setup_sockets()
1389 …s->fd_legacy_unicast_ipv4 = s->fd_ipv4 >= 0 && s->config.enable_reflector ? avahi_open_unicast_soc… in setup_sockets()
1397 if (s->fd_ipv4 >= 0) in setup_sockets()
1398 …s->watch_ipv4 = s->poll_api->watch_new(s->poll_api, s->fd_ipv4, AVAHI_WATCH_IN, mcast_socket_event… in setup_sockets()
1567 if (s->fd_ipv4 >= 0) in avahi_server_free()
1568 close(s->fd_ipv4); in avahi_server_free()
H A Diface.c186 (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 < 0)) in interface_mdns_mcast_join()
220 …r = avahi_mdns_mcast_join_ipv4(i->monitor->server->fd_ipv4, &i->local_mcast_address.data.ipv4, i->… in interface_mdns_mcast_join()
405 if (m->server->fd_ipv4 >= 0 || m->server->config.publish_a_on_ipv6) in avahi_hw_interface_new()
601 if (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 >= 0) in avahi_interface_send_packet_unicast()
602 …avahi_send_dns_packet_ipv4(i->monitor->server->fd_ipv4, i->hardware->index, p, i->mcast_joined ? &… in avahi_interface_send_packet_unicast()
/dports/net/avahi-sharp/avahi-0.8/avahi-core/
H A Dwide-area.c84 int fd_ipv4, fd_ipv6; member
139 if (l->engine->fd_ipv4 < 0) in send_to_dns_server()
557 if (fd == e->fd_ipv4) in socket_event()
558 p = avahi_recv_dns_packet_ipv4(e->fd_ipv4, NULL, NULL, NULL, NULL, NULL); in socket_event()
580 e->fd_ipv4 = s->config.use_ipv4 ? avahi_open_unicast_socket_ipv4() : -1; in avahi_wide_area_engine_new()
583 if (e->fd_ipv4 < 0 && e->fd_ipv6 < 0) { in avahi_wide_area_engine_new()
589 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_new()
590 close(e->fd_ipv4); in avahi_wide_area_engine_new()
600 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_new()
642 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_free()
[all …]
H A Dserver.c1079 if (fd == s->fd_ipv4) { in mcast_socket_event()
1081 … p = avahi_recv_dns_packet_ipv4(s->fd_ipv4, &src.data.ipv4, &port, &dest.data.ipv4, &iface, &ttl); in mcast_socket_event()
1378 s->fd_ipv4 = s->config.use_ipv4 ? avahi_open_socket_ipv4(s->config.disallow_other_stacks) : -1; in setup_sockets()
1381 if (s->fd_ipv6 < 0 && s->fd_ipv4 < 0) in setup_sockets()
1384 if (s->fd_ipv4 < 0 && s->config.use_ipv4) in setup_sockets()
1389 …s->fd_legacy_unicast_ipv4 = s->fd_ipv4 >= 0 && s->config.enable_reflector ? avahi_open_unicast_soc… in setup_sockets()
1397 if (s->fd_ipv4 >= 0) in setup_sockets()
1398 …s->watch_ipv4 = s->poll_api->watch_new(s->poll_api, s->fd_ipv4, AVAHI_WATCH_IN, mcast_socket_event… in setup_sockets()
1567 if (s->fd_ipv4 >= 0) in avahi_server_free()
1568 close(s->fd_ipv4); in avahi_server_free()
H A Diface.c186 (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 < 0)) in interface_mdns_mcast_join()
220 …r = avahi_mdns_mcast_join_ipv4(i->monitor->server->fd_ipv4, &i->local_mcast_address.data.ipv4, i->… in interface_mdns_mcast_join()
405 if (m->server->fd_ipv4 >= 0 || m->server->config.publish_a_on_ipv6) in avahi_hw_interface_new()
601 if (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 >= 0) in avahi_interface_send_packet_unicast()
602 …avahi_send_dns_packet_ipv4(i->monitor->server->fd_ipv4, i->hardware->index, p, i->mcast_joined ? &… in avahi_interface_send_packet_unicast()
/dports/net/avahi-app/avahi-0.8/avahi-core/
H A Dwide-area.c84 int fd_ipv4, fd_ipv6; member
139 if (l->engine->fd_ipv4 < 0) in send_to_dns_server()
557 if (fd == e->fd_ipv4) in socket_event()
558 p = avahi_recv_dns_packet_ipv4(e->fd_ipv4, NULL, NULL, NULL, NULL, NULL); in socket_event()
580 e->fd_ipv4 = s->config.use_ipv4 ? avahi_open_unicast_socket_ipv4() : -1; in avahi_wide_area_engine_new()
583 if (e->fd_ipv4 < 0 && e->fd_ipv6 < 0) { in avahi_wide_area_engine_new()
589 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_new()
590 close(e->fd_ipv4); in avahi_wide_area_engine_new()
600 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_new()
642 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_free()
[all …]
H A Dserver.c1079 if (fd == s->fd_ipv4) { in mcast_socket_event()
1081 … p = avahi_recv_dns_packet_ipv4(s->fd_ipv4, &src.data.ipv4, &port, &dest.data.ipv4, &iface, &ttl); in mcast_socket_event()
1378 s->fd_ipv4 = s->config.use_ipv4 ? avahi_open_socket_ipv4(s->config.disallow_other_stacks) : -1; in setup_sockets()
1381 if (s->fd_ipv6 < 0 && s->fd_ipv4 < 0) in setup_sockets()
1384 if (s->fd_ipv4 < 0 && s->config.use_ipv4) in setup_sockets()
1389 …s->fd_legacy_unicast_ipv4 = s->fd_ipv4 >= 0 && s->config.enable_reflector ? avahi_open_unicast_soc… in setup_sockets()
1397 if (s->fd_ipv4 >= 0) in setup_sockets()
1398 …s->watch_ipv4 = s->poll_api->watch_new(s->poll_api, s->fd_ipv4, AVAHI_WATCH_IN, mcast_socket_event… in setup_sockets()
1567 if (s->fd_ipv4 >= 0) in avahi_server_free()
1568 close(s->fd_ipv4); in avahi_server_free()
H A Diface.c186 (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 < 0)) in interface_mdns_mcast_join()
220 …r = avahi_mdns_mcast_join_ipv4(i->monitor->server->fd_ipv4, &i->local_mcast_address.data.ipv4, i->… in interface_mdns_mcast_join()
405 if (m->server->fd_ipv4 >= 0 || m->server->config.publish_a_on_ipv6) in avahi_hw_interface_new()
601 if (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 >= 0) in avahi_interface_send_packet_unicast()
602 …avahi_send_dns_packet_ipv4(i->monitor->server->fd_ipv4, i->hardware->index, p, i->mcast_joined ? &… in avahi_interface_send_packet_unicast()
/dports/net/avahi-autoipd/avahi-0.8/avahi-core/
H A Dwide-area.c84 int fd_ipv4, fd_ipv6; member
139 if (l->engine->fd_ipv4 < 0) in send_to_dns_server()
557 if (fd == e->fd_ipv4) in socket_event()
558 p = avahi_recv_dns_packet_ipv4(e->fd_ipv4, NULL, NULL, NULL, NULL, NULL); in socket_event()
580 e->fd_ipv4 = s->config.use_ipv4 ? avahi_open_unicast_socket_ipv4() : -1; in avahi_wide_area_engine_new()
583 if (e->fd_ipv4 < 0 && e->fd_ipv6 < 0) { in avahi_wide_area_engine_new()
589 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_new()
590 close(e->fd_ipv4); in avahi_wide_area_engine_new()
600 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_new()
642 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_free()
[all …]
H A Dserver.c1079 if (fd == s->fd_ipv4) { in mcast_socket_event()
1081 … p = avahi_recv_dns_packet_ipv4(s->fd_ipv4, &src.data.ipv4, &port, &dest.data.ipv4, &iface, &ttl); in mcast_socket_event()
1378 s->fd_ipv4 = s->config.use_ipv4 ? avahi_open_socket_ipv4(s->config.disallow_other_stacks) : -1; in setup_sockets()
1381 if (s->fd_ipv6 < 0 && s->fd_ipv4 < 0) in setup_sockets()
1384 if (s->fd_ipv4 < 0 && s->config.use_ipv4) in setup_sockets()
1389 …s->fd_legacy_unicast_ipv4 = s->fd_ipv4 >= 0 && s->config.enable_reflector ? avahi_open_unicast_soc… in setup_sockets()
1397 if (s->fd_ipv4 >= 0) in setup_sockets()
1398 …s->watch_ipv4 = s->poll_api->watch_new(s->poll_api, s->fd_ipv4, AVAHI_WATCH_IN, mcast_socket_event… in setup_sockets()
1567 if (s->fd_ipv4 >= 0) in avahi_server_free()
1568 close(s->fd_ipv4); in avahi_server_free()
H A Diface.c186 (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 < 0)) in interface_mdns_mcast_join()
220 …r = avahi_mdns_mcast_join_ipv4(i->monitor->server->fd_ipv4, &i->local_mcast_address.data.ipv4, i->… in interface_mdns_mcast_join()
405 if (m->server->fd_ipv4 >= 0 || m->server->config.publish_a_on_ipv6) in avahi_hw_interface_new()
601 if (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 >= 0) in avahi_interface_send_packet_unicast()
602 …avahi_send_dns_packet_ipv4(i->monitor->server->fd_ipv4, i->hardware->index, p, i->mcast_joined ? &… in avahi_interface_send_packet_unicast()
/dports/net/avahi-gtk/avahi-0.8/avahi-core/
H A Dwide-area.c84 int fd_ipv4, fd_ipv6; member
139 if (l->engine->fd_ipv4 < 0) in send_to_dns_server()
557 if (fd == e->fd_ipv4) in socket_event()
558 p = avahi_recv_dns_packet_ipv4(e->fd_ipv4, NULL, NULL, NULL, NULL, NULL); in socket_event()
580 e->fd_ipv4 = s->config.use_ipv4 ? avahi_open_unicast_socket_ipv4() : -1; in avahi_wide_area_engine_new()
583 if (e->fd_ipv4 < 0 && e->fd_ipv6 < 0) { in avahi_wide_area_engine_new()
589 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_new()
590 close(e->fd_ipv4); in avahi_wide_area_engine_new()
600 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_new()
642 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_free()
[all …]
H A Dserver.c1079 if (fd == s->fd_ipv4) { in mcast_socket_event()
1081 … p = avahi_recv_dns_packet_ipv4(s->fd_ipv4, &src.data.ipv4, &port, &dest.data.ipv4, &iface, &ttl); in mcast_socket_event()
1378 s->fd_ipv4 = s->config.use_ipv4 ? avahi_open_socket_ipv4(s->config.disallow_other_stacks) : -1; in setup_sockets()
1381 if (s->fd_ipv6 < 0 && s->fd_ipv4 < 0) in setup_sockets()
1384 if (s->fd_ipv4 < 0 && s->config.use_ipv4) in setup_sockets()
1389 …s->fd_legacy_unicast_ipv4 = s->fd_ipv4 >= 0 && s->config.enable_reflector ? avahi_open_unicast_soc… in setup_sockets()
1397 if (s->fd_ipv4 >= 0) in setup_sockets()
1398 …s->watch_ipv4 = s->poll_api->watch_new(s->poll_api, s->fd_ipv4, AVAHI_WATCH_IN, mcast_socket_event… in setup_sockets()
1567 if (s->fd_ipv4 >= 0) in avahi_server_free()
1568 close(s->fd_ipv4); in avahi_server_free()
H A Diface.c186 (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 < 0)) in interface_mdns_mcast_join()
220 …r = avahi_mdns_mcast_join_ipv4(i->monitor->server->fd_ipv4, &i->local_mcast_address.data.ipv4, i->… in interface_mdns_mcast_join()
405 if (m->server->fd_ipv4 >= 0 || m->server->config.publish_a_on_ipv6) in avahi_hw_interface_new()
601 if (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 >= 0) in avahi_interface_send_packet_unicast()
602 …avahi_send_dns_packet_ipv4(i->monitor->server->fd_ipv4, i->hardware->index, p, i->mcast_joined ? &… in avahi_interface_send_packet_unicast()
/dports/net/avahi-gtk3/avahi-0.8/avahi-core/
H A Dwide-area.c84 int fd_ipv4, fd_ipv6; member
139 if (l->engine->fd_ipv4 < 0) in send_to_dns_server()
557 if (fd == e->fd_ipv4) in socket_event()
558 p = avahi_recv_dns_packet_ipv4(e->fd_ipv4, NULL, NULL, NULL, NULL, NULL); in socket_event()
580 e->fd_ipv4 = s->config.use_ipv4 ? avahi_open_unicast_socket_ipv4() : -1; in avahi_wide_area_engine_new()
583 if (e->fd_ipv4 < 0 && e->fd_ipv6 < 0) { in avahi_wide_area_engine_new()
589 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_new()
590 close(e->fd_ipv4); in avahi_wide_area_engine_new()
600 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_new()
642 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_free()
[all …]
H A Dserver.c1079 if (fd == s->fd_ipv4) { in mcast_socket_event()
1081 … p = avahi_recv_dns_packet_ipv4(s->fd_ipv4, &src.data.ipv4, &port, &dest.data.ipv4, &iface, &ttl); in mcast_socket_event()
1378 s->fd_ipv4 = s->config.use_ipv4 ? avahi_open_socket_ipv4(s->config.disallow_other_stacks) : -1; in setup_sockets()
1381 if (s->fd_ipv6 < 0 && s->fd_ipv4 < 0) in setup_sockets()
1384 if (s->fd_ipv4 < 0 && s->config.use_ipv4) in setup_sockets()
1389 …s->fd_legacy_unicast_ipv4 = s->fd_ipv4 >= 0 && s->config.enable_reflector ? avahi_open_unicast_soc… in setup_sockets()
1397 if (s->fd_ipv4 >= 0) in setup_sockets()
1398 …s->watch_ipv4 = s->poll_api->watch_new(s->poll_api, s->fd_ipv4, AVAHI_WATCH_IN, mcast_socket_event… in setup_sockets()
1567 if (s->fd_ipv4 >= 0) in avahi_server_free()
1568 close(s->fd_ipv4); in avahi_server_free()
/dports/net/avahi-header/avahi-0.8/avahi-core/
H A Dwide-area.c84 int fd_ipv4, fd_ipv6; member
139 if (l->engine->fd_ipv4 < 0) in send_to_dns_server()
557 if (fd == e->fd_ipv4) in socket_event()
558 p = avahi_recv_dns_packet_ipv4(e->fd_ipv4, NULL, NULL, NULL, NULL, NULL); in socket_event()
580 e->fd_ipv4 = s->config.use_ipv4 ? avahi_open_unicast_socket_ipv4() : -1; in avahi_wide_area_engine_new()
583 if (e->fd_ipv4 < 0 && e->fd_ipv6 < 0) { in avahi_wide_area_engine_new()
589 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_new()
590 close(e->fd_ipv4); in avahi_wide_area_engine_new()
600 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_new()
642 if (e->fd_ipv4 >= 0) in avahi_wide_area_engine_free()
[all …]
H A Dserver.c1079 if (fd == s->fd_ipv4) { in mcast_socket_event()
1081 … p = avahi_recv_dns_packet_ipv4(s->fd_ipv4, &src.data.ipv4, &port, &dest.data.ipv4, &iface, &ttl); in mcast_socket_event()
1378 s->fd_ipv4 = s->config.use_ipv4 ? avahi_open_socket_ipv4(s->config.disallow_other_stacks) : -1; in setup_sockets()
1381 if (s->fd_ipv6 < 0 && s->fd_ipv4 < 0) in setup_sockets()
1384 if (s->fd_ipv4 < 0 && s->config.use_ipv4) in setup_sockets()
1389 …s->fd_legacy_unicast_ipv4 = s->fd_ipv4 >= 0 && s->config.enable_reflector ? avahi_open_unicast_soc… in setup_sockets()
1397 if (s->fd_ipv4 >= 0) in setup_sockets()
1398 …s->watch_ipv4 = s->poll_api->watch_new(s->poll_api, s->fd_ipv4, AVAHI_WATCH_IN, mcast_socket_event… in setup_sockets()
1567 if (s->fd_ipv4 >= 0) in avahi_server_free()
1568 close(s->fd_ipv4); in avahi_server_free()

12