aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/net
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2011-11-20 15:00:45 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2011-11-20 15:00:45 +0000
commitc9c5805975092e825b46afbfe395a9eb23dbc382 (patch)
tree3746f6ebf09a3779e4f0a7d91dfe4a7008d5f731 /lib/libc/net
parent3c87aa1d3dc1d8dad3efad322852a8e1e76dee55 (diff)
downloadsrc-c9c5805975092e825b46afbfe395a9eb23dbc382.tar.gz
src-c9c5805975092e825b46afbfe395a9eb23dbc382.zip
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.
Notes
Notes: svn path=/head/; revision=227755
Diffstat (limited to 'lib/libc/net')
-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 0d721d5e71d1..72e9883898d1 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;