summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2011-06-17 07:06:42 +0000
committertuexen <tuexen@FreeBSD.org>2011-06-17 07:06:42 +0000
commit3bd2da3f30b7c9865079a72a9f38e2cd572feffd (patch)
tree441bcc2859bbad6ec610e025ad484ec85665af01 /lib/libc
parentc0c8567b6cd0e9309e2f58371f869ce5c359cfe6 (diff)
downloadFreeBSD-src-3bd2da3f30b7c9865079a72a9f38e2cd572feffd.zip
FreeBSD-src-3bd2da3f30b7c9865079a72a9f38e2cd572feffd.tar.gz
Add SCTP_MAX_BURST support to sctp_opt_info().
This only applies to 9.0 and higher, since the type of the values has changed since we introduced it. So it can't be MFCed.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/sctp_sys_calls.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/net/sctp_sys_calls.c b/lib/libc/net/sctp_sys_calls.c
index a97fe96..27664bc 100644
--- a/lib/libc/net/sctp_sys_calls.c
+++ b/lib/libc/net/sctp_sys_calls.c
@@ -410,6 +410,9 @@ sctp_opt_info(int sd, sctp_assoc_t id, int opt, void *arg, socklen_t * size)
case SCTP_DEFAULT_PRINFO:
((struct sctp_default_prinfo *)arg)->pr_assoc_id = id;
break;
+ case SCTP_MAX_BURST:
+ ((struct sctp_assoc_value *)arg)->assoc_id = id;
+ break;
default:
break;
}
OpenPOWER on IntegriCloud