summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2011-11-20 15:00:45 +0000
committertuexen <tuexen@FreeBSD.org>2011-11-20 15:00:45 +0000
commit4de38879e5e0ffa7986549aa0beda02dce5e3438 (patch)
tree3746f6ebf09a3779e4f0a7d91dfe4a7008d5f731 /lib/libc
parent0f6ef690b3118882121ed67561c7ce2660cfebe1 (diff)
downloadFreeBSD-src-4de38879e5e0ffa7986549aa0beda02dce5e3438.zip
FreeBSD-src-4de38879e5e0ffa7986549aa0beda02dce5e3438.tar.gz
Add support for the SCTP_REMOTE_UDP_ENCAPS_PORT socket option.
Retire the the now unused sctp_udp_tunneling_for_client_enable sysctl variable. MFC after: 3 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 0d721d5..72e9883 100644
--- a/lib/libc/net/sctp_sys_calls.c
+++ b/lib/libc/net/sctp_sys_calls.c
@@ -413,6 +413,9 @@ sctp_opt_info(int sd, sctp_assoc_t id, int opt, void *arg, socklen_t * size)
case SCTP_PEER_ADDR_THLDS:
((struct sctp_paddrthlds *)arg)->spt_assoc_id = id;
break;
+ case SCTP_REMOTE_UDP_ENCAPS_PORT:
+ ((struct sctp_udpencaps *)arg)->sue_assoc_id = id;
+ break;
case SCTP_MAX_BURST:
((struct sctp_assoc_value *)arg)->assoc_id = id;
break;
OpenPOWER on IntegriCloud