6 #include <osmocom/core/socket.h>
11 #include <netinet/sctp.h>
12 #define OSMO_STREAM_MAX_ADDRS OSMO_SOCK_MAX_ADDRS
18 #define MSG_NOSIGNAL 0
21 #define OSMO_STREAM_MAX_ADDRS 1
28 enum osmo_stream_mode {
29 OSMO_STREAM_MODE_UNKNOWN,
30 OSMO_STREAM_MODE_OSMO_FD,
31 OSMO_STREAM_MODE_OSMO_IO,
34 int stream_sctp_sock_activate_events(
int fd);
35 int stream_setsockopt_nodelay(
int fd,
int proto,
int on);
36 int stream_sctp_recvmsg_wrapper(
int fd,
struct msgb *msg,
const char *log_pfx);