aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/core
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-03-07 14:59:05 +0100
committerHarald Welte <laforge@osmocom.org>2020-03-10 19:08:51 +0100
commit44b9926c84c9cb9a3fcf2d0770d4951a4eab5fe2 (patch)
tree5ceb5a159345d46e67380e2bdab081c137cf0239 /include/osmocom/core
parent31c29ea0517904cd588654426fb133aeb34af506 (diff)
socket: Add osmo_sock_mcast_iface_set() to bind multicast to device
Diffstat (limited to 'include/osmocom/core')
-rw-r--r--include/osmocom/core/socket.h1
1 files changed, 1 insertions, 0 deletions
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);