diff options
author | Harald Welte <laforge@osmocom.org> | 2020-03-07 14:59:05 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2020-03-10 19:08:51 +0100 |
commit | 44b9926c84c9cb9a3fcf2d0770d4951a4eab5fe2 (patch) | |
tree | 5ceb5a159345d46e67380e2bdab081c137cf0239 /include | |
parent | 31c29ea0517904cd588654426fb133aeb34af506 (diff) |
socket: Add osmo_sock_mcast_iface_set() to bind multicast to device
Change-Id: Ib52d22710020b56965aefcef09bde8247ace4a9c
Related: OS#2966
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/core/socket.h | 1 |
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); |