diff options
author | tuexen <tuexen@FreeBSD.org> | 2011-06-17 07:06:42 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2011-06-17 07:06:42 +0000 |
commit | 3bd2da3f30b7c9865079a72a9f38e2cd572feffd (patch) | |
tree | 441bcc2859bbad6ec610e025ad484ec85665af01 /lib | |
parent | c0c8567b6cd0e9309e2f58371f869ce5c359cfe6 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | lib/libc/net/sctp_sys_calls.c | 3 |
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; } |