Add padding to then end of the xsctp_xxx structures to

allow future changes to be able to maintain ABI compatibility
This commit is contained in:
Randall Stewart 2009-02-09 17:37:17 +00:00
parent 7c9d6ad424
commit 11b14db397
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=188398

View file

@ -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