diff options
author | tuexen <tuexen@FreeBSD.org> | 2014-08-03 18:12:55 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2014-08-03 18:12:55 +0000 |
commit | ff18393ff054f8f8f4779a04e260ff6549b44e78 (patch) | |
tree | 88dfe8df411bcdde9f67d745992545bd2736f499 /lib/libc | |
parent | 2399792c1722d8038876b8e9561d850e5c8719cc (diff) | |
download | FreeBSD-src-ff18393ff054f8f8f4779a04e260ff6549b44e78.zip FreeBSD-src-ff18393ff054f8f8f4779a04e260ff6549b44e78.tar.gz |
Add support for the SCTP_PKTDROP_SUPPORTED socket option and
the corresponding sysctl variable.
The default is off, since the specification is not an RFC yet.
MFC after: 1 week
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 1d6e191..6fd136e 100644 --- a/lib/libc/net/sctp_sys_calls.c +++ b/lib/libc/net/sctp_sys_calls.c @@ -359,6 +359,9 @@ sctp_opt_info(int sd, sctp_assoc_t id, int opt, void *arg, socklen_t * size) case SCTP_NRSACK_SUPPORTED: ((struct sctp_assoc_value *)arg)->assoc_id = id; break; + case SCTP_PKTDROP_SUPPORTED: + ((struct sctp_assoc_value *)arg)->assoc_id = id; + break; case SCTP_MAX_BURST: ((struct sctp_assoc_value *)arg)->assoc_id = id; break; |