diff options
author | tuexen <tuexen@FreeBSD.org> | 2011-11-20 15:00:45 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2011-11-20 15:00:45 +0000 |
commit | 4de38879e5e0ffa7986549aa0beda02dce5e3438 (patch) | |
tree | 3746f6ebf09a3779e4f0a7d91dfe4a7008d5f731 /lib/libc/net | |
parent | 0f6ef690b3118882121ed67561c7ce2660cfebe1 (diff) | |
download | FreeBSD-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/net')
-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 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; |