summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_pcb.h
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2012-11-17 20:04:04 +0000
committertuexen <tuexen@FreeBSD.org>2012-11-17 20:04:04 +0000
commit9a8531105a4561079ee099a51460bb789ef9cfd1 (patch)
treecb12971e11e4ffedd293c41c360db0d49a962bb4 /sys/netinet/sctp_pcb.h
parentbeace53e29166cd087c9e1f48d43899f7c742d2b (diff)
downloadFreeBSD-src-9a8531105a4561079ee099a51460bb789ef9cfd1.zip
FreeBSD-src-9a8531105a4561079ee099a51460bb789ef9cfd1.tar.gz
Add support for SCTP/UDP/IPV6.
This completes the support of http://tools.ietf.org/html/draft-ietf-tsvwg-sctp-udp-encaps MFC after: 1 week
Diffstat (limited to 'sys/netinet/sctp_pcb.h')
-rw-r--r--sys/netinet/sctp_pcb.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/netinet/sctp_pcb.h b/sys/netinet/sctp_pcb.h
index e416658..c1f04bc 100644
--- a/sys/netinet/sctp_pcb.h
+++ b/sys/netinet/sctp_pcb.h
@@ -144,7 +144,12 @@ struct sctp_tagblock {
struct sctp_epinfo {
- struct socket *udp_tun_socket;
+#ifdef INET
+ struct socket *udp4_tun_socket;
+#endif
+#ifdef INET6
+ struct socket *udp6_tun_socket;
+#endif
struct sctpasochead *sctp_asochash;
u_long hashasocmark;
OpenPOWER on IntegriCloud