Skip to content
Snippets Groups Projects
Commit bcc2a66b authored by Michael Tüxen's avatar Michael Tüxen
Browse files

Neither NetBSD nor OpenBSD support SCTP.

parent 6b2fe3fa
No related branches found
No related tags found
No related merge requests found
...@@ -2974,7 +2974,7 @@ error_out: ...@@ -2974,7 +2974,7 @@ error_out:
static int syscall_sctp_sendmsg(struct state *state, struct syscall_spec *syscall, static int syscall_sctp_sendmsg(struct state *state, struct syscall_spec *syscall,
struct expression_list *args, char **error) struct expression_list *args, char **error)
{ {
#if defined(__FreeBSD__) || defined(__Linux__) || defined(__NetBSD__) || defined(__OpenBSD__) #if defined(__FreeBSD__) || defined(__Linux__)
int result, script_fd, live_fd, len; int result, script_fd, live_fd, len;
void *msg = NULL; void *msg = NULL;
struct sockaddr_storage to; struct sockaddr_storage to;
...@@ -3055,7 +3055,7 @@ static int syscall_sctp_sendmsg(struct state *state, struct syscall_spec *syscal ...@@ -3055,7 +3055,7 @@ static int syscall_sctp_sendmsg(struct state *state, struct syscall_spec *syscal
#endif #endif
} }
#if defined(__FreeBSD__) || defined(__Linux__) || defined(__NetBSD__) || defined(__OpenBSD__) #if defined(__FreeBSD__) || defined(__Linux__)
static int check_sctp_sndrcvinfo(struct sctp_sndrcvinfo_expr *expr, static int check_sctp_sndrcvinfo(struct sctp_sndrcvinfo_expr *expr,
struct sctp_sndrcvinfo *sctp_sndrcvinfo, struct sctp_sndrcvinfo *sctp_sndrcvinfo,
char** error) { char** error) {
...@@ -3163,7 +3163,7 @@ static int syscall_sctp_recvmsg(struct state *state, struct syscall_spec *syscal ...@@ -3163,7 +3163,7 @@ static int syscall_sctp_recvmsg(struct state *state, struct syscall_spec *syscal
struct expression_list *args, struct expression_list *args,
char **error) char **error)
{ {
#if defined(__FreeBSD__) || defined(__Linux__) || defined(__NetBSD__) || defined(__OpenBSD__) #if defined(__FreeBSD__) || defined(__Linux__)
int script_fd, live_fd, live_msg_flags, result; int script_fd, live_fd, live_msg_flags, result;
void *msg; void *msg;
u32 len; u32 len;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment