From 44b9926c84c9cb9a3fcf2d0770d4951a4eab5fe2 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 7 Mar 2020 14:59:05 +0100 Subject: socket: Add osmo_sock_mcast_iface_set() to bind multicast to device Change-Id: Ib52d22710020b56965aefcef09bde8247ace4a9c Related: OS#2966 --- include/osmocom/core/socket.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/osmocom/core/socket.h b/include/osmocom/core/socket.h index e26ca0d3..129612c6 100644 --- a/include/osmocom/core/socket.h +++ b/include/osmocom/core/socket.h @@ -87,6 +87,7 @@ int osmo_sock_get_remote_ip_port(int fd, char *port, size_t len); int osmo_sock_mcast_loop_set(int fd, bool enable); int osmo_sock_mcast_ttl_set(int fd, uint8_t ttl); int osmo_sock_mcast_all_set(int fd, bool enable); +int osmo_sock_mcast_iface_set(int fd, const char *ifname); int osmo_sock_mcast_subscribe(int fd, const char *grp_addr); int osmo_sock_local_ip(char *local_ip, const char *remote_ip); -- cgit v1.2.3