summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2011-08-03 20:21:00 +0000
committertuexen <tuexen@FreeBSD.org>2011-08-03 20:21:00 +0000
commitf47c615e88590b29d88403fce2ef7e0e28e8ecb3 (patch)
tree6202f1b3524e68a30395d3b510eebc5a90fa3068 /lib/libc
parent9654d8888d412ad356d2b05a0c6e1be510a21ee9 (diff)
downloadFreeBSD-src-f47c615e88590b29d88403fce2ef7e0e28e8ecb3.zip
FreeBSD-src-f47c615e88590b29d88403fce2ef7e0e28e8ecb3.tar.gz
The result of a joint work between rrs@ and myself at the IETF:
* Decouple the path supervision using a separate HB timer per path. * Add support for potentially failed state. * Bring back RTO.min to 1 second. * Accept packets on IP-addresses already announced via an ASCONF * While there: do some cleanups. Approved by: re@ MFC after: 2 months.
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 27664bc..0d721d5 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_PEER_ADDR_THLDS:
+ ((struct sctp_paddrthlds *)arg)->spt_assoc_id = id;
+ break;
case SCTP_MAX_BURST:
((struct sctp_assoc_value *)arg)->assoc_id = id;
break;
OpenPOWER on IntegriCloud