From c9c5805975092e825b46afbfe395a9eb23dbc382 Mon Sep 17 00:00:00 2001 From: Michael Tuexen Date: Sun, 20 Nov 2011 15:00:45 +0000 Subject: 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. --- lib/libc/net/sctp_sys_calls.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/libc/net') 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; -- cgit v1.2.3