diff options
author | tuexen <tuexen@FreeBSD.org> | 2014-08-22 20:05:09 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2014-08-22 20:05:09 +0000 |
commit | 94e8309da0a98cd328fb5723308f6b1faaf4af51 (patch) | |
tree | 8285df9827fc48bc9dd0e3c536f58b9f2ede3e8c /lib/libc | |
parent | b33760ea4b44ba1f0bb5c5f8e190f82322d0f604 (diff) | |
download | FreeBSD-src-94e8309da0a98cd328fb5723308f6b1faaf4af51.zip FreeBSD-src-94e8309da0a98cd328fb5723308f6b1faaf4af51.tar.gz |
MFC r269475:
Add SCTP socket option SCTP_NRSACK_SUPPORTED to control the
NRSACK extension. The default will still be off, since it
it not an RFC (yet).
Changing the sysctl name will be in a separate commit.
Diffstat (limited to 'lib/libc')
-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 5d29111..1d6e191 100644 --- a/lib/libc/net/sctp_sys_calls.c +++ b/lib/libc/net/sctp_sys_calls.c @@ -356,6 +356,9 @@ sctp_opt_info(int sd, sctp_assoc_t id, int opt, void *arg, socklen_t * size) case SCTP_PR_SUPPORTED: ((struct sctp_assoc_value *)arg)->assoc_id = id; break; + case SCTP_NRSACK_SUPPORTED: + ((struct sctp_assoc_value *)arg)->assoc_id = id; + break; case SCTP_MAX_BURST: ((struct sctp_assoc_value *)arg)->assoc_id = id; break; |