From ba8547ee3f34d8fe7bedb559530b2c0374f2089c Mon Sep 17 00:00:00 2001 From: Trent Lloyd Date: Mon, 25 Apr 2005 18:48:57 +0000 Subject: * Import fixes to multicast code to IP_ADD_MEMBERSHIP per interface, rather than a 'global' one, which didn't really work. -- Trent Lloyd git-svn-id: file:///home/lennart/svn/public/avahi/trunk@31 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- socket.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'socket.h') diff --git a/socket.h b/socket.h index eb7013a..61d17a5 100644 --- a/socket.h +++ b/socket.h @@ -14,4 +14,10 @@ gint flx_send_dns_packet_ipv6(gint fd, gint iface, flxDnsPacket *p); flxDnsPacket *flx_recv_dns_packet_ipv4(gint fd, struct sockaddr_in*ret_sa, gint *ret_iface, guint8 *ret_ttl); flxDnsPacket *flx_recv_dns_packet_ipv6(gint fd, struct sockaddr_in6*ret_sa, gint *ret_iface, guint8 *ret_ttl); +int flx_mdns_mcast_join_ipv4(int index, int fd); +int flx_mdns_mcast_join_ipv6(int index, int fd); + +int flx_mdns_mcast_leave_ipv4(int index, int fd); +int flx_mdns_mcast_leave_ipv6(int index, int fd); + #endif -- cgit