diff options
author | tuexen <tuexen@FreeBSD.org> | 2015-06-04 12:46:56 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2015-06-04 12:46:56 +0000 |
commit | 1aac6c70c34814fca11e8b3d71028027df40352a (patch) | |
tree | 18fb806cd6a81a48ba80704ae0b6334454ff6420 /sys/netinet/sctp_uio.h | |
parent | cb66f99a5e282b3ef77841aa7bea5f2f040ec97b (diff) | |
download | FreeBSD-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.h | 7 |
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 { |