summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_uio.h
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2009-02-09 17:37:17 +0000
committerrrs <rrs@FreeBSD.org>2009-02-09 17:37:17 +0000
commitb885a20f24ffe00abb3c58aabcb468b34ac7cd0b (patch)
tree6cbdac2a06255be7b8d4fd945008fdc71ce4ddd7 /sys/netinet/sctp_uio.h
parent6de6ef2c054de37445adc305b0db58b7849e8268 (diff)
downloadFreeBSD-src-b885a20f24ffe00abb3c58aabcb468b34ac7cd0b.zip
FreeBSD-src-b885a20f24ffe00abb3c58aabcb468b34ac7cd0b.tar.gz
Add padding to then end of the xsctp_xxx structures to
allow future changes to be able to maintain ABI compatibility
Diffstat (limited to 'sys/netinet/sctp_uio.h')
-rw-r--r--sys/netinet/sctp_uio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet/sctp_uio.h b/sys/netinet/sctp_uio.h
index 27597ba..02d2b4b 100644
--- a/sys/netinet/sctp_uio.h
+++ b/sys/netinet/sctp_uio.h
@@ -987,6 +987,7 @@ struct xsctp_inpcb {
uint16_t local_port;
uint16_t qlen;
uint16_t maxqlen;
+ uint32_t extra_padding[8]; /* future */
};
struct xsctp_tcb {
@@ -1017,12 +1018,14 @@ struct xsctp_tcb {
struct sctp_timeval start_time; /* sctpAssocEntry 16 */
struct sctp_timeval discontinuity_time; /* sctpAssocEntry 17 */
sctp_assoc_t assoc_id; /* sctpAssocEntry 1 */
+ uint32_t extra_padding[8]; /* future */
};
struct xsctp_laddr {
union sctp_sockstore address; /* sctpAssocLocalAddrEntry 1/2 */
uint32_t last;
struct sctp_timeval start_time; /* sctpAssocLocalAddrEntry 3 */
+ uint32_t extra_padding[8]; /* future */
};
struct xsctp_raddr {
@@ -1039,6 +1042,7 @@ struct xsctp_raddr {
uint8_t confirmed; /* */
uint8_t heartbeat_enabled; /* sctpAssocLocalRemEntry 4 */
struct sctp_timeval start_time; /* sctpAssocLocalRemEntry 8 */
+ uint32_t extra_padding[8]; /* future */
};
#define SCTP_MAX_LOGGING_SIZE 30000
OpenPOWER on IntegriCloud