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:
parent
6de6ef2c05
commit
b885a20f24
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user