diff options
author | tuexen <tuexen@FreeBSD.org> | 2014-08-22 19:57:39 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2014-08-22 19:57:39 +0000 |
commit | a4786844b5aed176a639f1a041df00e694738983 (patch) | |
tree | d2cc67bf7d3042259b0eb0a50770a14d90b095f4 /lib | |
parent | c03375e227571ca74ca3e1d283016c01f74d24e2 (diff) | |
download | FreeBSD-src-a4786844b5aed176a639f1a041df00e694738983.zip FreeBSD-src-a4786844b5aed176a639f1a041df00e694738983.tar.gz |
MFC r269436, r269445:
Cleanup the ECN configuration handling and provide an SCTP socket
option for controlling ECN on future associations and get the
status on current associations.
A simialar pattern will be used for controlling SCTP extensions in
upcoming commits.
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 a7da95c..b2451d7 100644 --- a/lib/libc/net/sctp_sys_calls.c +++ b/lib/libc/net/sctp_sys_calls.c @@ -350,6 +350,9 @@ sctp_opt_info(int sd, sctp_assoc_t id, int opt, void *arg, socklen_t * size) case SCTP_REMOTE_UDP_ENCAPS_PORT: ((struct sctp_udpencaps *)arg)->sue_assoc_id = id; break; + case SCTP_ECN_SUPPORTED: + ((struct sctp_assoc_value *)arg)->assoc_id = id; + break; case SCTP_MAX_BURST: ((struct sctp_assoc_value *)arg)->assoc_id = id; break; |