summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_uio.h
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2015-06-04 12:46:56 +0000
committertuexen <tuexen@FreeBSD.org>2015-06-04 12:46:56 +0000
commit1aac6c70c34814fca11e8b3d71028027df40352a (patch)
tree18fb806cd6a81a48ba80704ae0b6334454ff6420 /sys/netinet/sctp_uio.h
parentcb66f99a5e282b3ef77841aa7bea5f2f040ec97b (diff)
downloadFreeBSD-src-1aac6c70c34814fca11e8b3d71028027df40352a.zip
FreeBSD-src-1aac6c70c34814fca11e8b3d71028027df40352a.tar.gz
Export a pointer to the SCTP socket. This is needed to add SCTP support
to sockstat. MFC after: 3 days
Diffstat (limited to 'sys/netinet/sctp_uio.h')
-rw-r--r--sys/netinet/sctp_uio.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/netinet/sctp_uio.h b/sys/netinet/sctp_uio.h
index d22b9d1..fd78d34 100644
--- a/sys/netinet/sctp_uio.h
+++ b/sys/netinet/sctp_uio.h
@@ -1165,7 +1165,12 @@ struct xsctp_inpcb {
uint16_t local_port;
uint16_t qlen;
uint16_t maxqlen;
- uint32_t extra_padding[31]; /* future */
+ void *socket;
+#if defined(__LP64__)
+ uint32_t extra_padding[29]; /* future */
+#else
+ uint32_t extra_padding[30]; /* future */
+#endif
};
struct xsctp_tcb {
OpenPOWER on IntegriCloud