svn commit: r188398 - head/sys/netinet
Randall Stewart
rrs at FreeBSD.org
Mon Feb 9 09:37:17 PST 2009
Author: rrs
Date: Mon Feb 9 17:37:17 2009
New Revision: 188398
URL: http://svn.freebsd.org/changeset/base/188398
Log:
Add padding to then end of the xsctp_xxx structures to
allow future changes to be able to maintain ABI compatibility
Modified:
head/sys/netinet/sctp_uio.h
Modified: head/sys/netinet/sctp_uio.h
==============================================================================
--- head/sys/netinet/sctp_uio.h Mon Feb 9 17:14:49 2009 (r188397)
+++ head/sys/netinet/sctp_uio.h Mon Feb 9 17:37:17 2009 (r188398)
@@ -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
More information about the svn-src-head
mailing list