diff options
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/core/socket.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osmocom/core/socket.h b/include/osmocom/core/socket.h index d2118ef0..6db436ae 100644 --- a/include/osmocom/core/socket.h +++ b/include/osmocom/core/socket.h @@ -8,6 +8,7 @@ * \file socket.h */ #include <stdint.h> +#include <stdbool.h> struct sockaddr; struct osmo_fd; @@ -47,4 +48,9 @@ int osmo_sock_unix_init_ofd(struct osmo_fd *ofd, uint16_t type, uint8_t proto, char *osmo_sock_get_name(void *ctx, int fd); +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_subscribe(int fd, const char *grp_addr); + /*! @} */ |