ABI expansions to hopefully future-proof our MIB/netstat code for 8.0

This commit is contained in:
Randall Stewart 2009-05-07 16:42:45 +00:00
parent 506d3686a2
commit 892f1c7141
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=191890

View File

@ -764,6 +764,8 @@ struct sctp_timeval {
};
struct sctpstat {
struct sctp_timeval sctps_discontinuitytime; /* sctpStats 18
* (TimeStamp) */
/* MIB according to RFC 3873 */
uint32_t sctps_currestab; /* sctpStats 1 (Gauge32) */
uint32_t sctps_activeestab; /* sctpStats 2 (Counter32) */
@ -948,8 +950,8 @@ struct sctpstat {
uint32_t sctps_fwdtsn_map_over; /* number of map array over-runs via
* fwd-tsn's */
struct sctp_timeval sctps_discontinuitytime; /* sctpStats 18
* (TimeStamp) */
uint32_t sctps_reserved[32]; /* Future ABI compat - remove int's
* from here when adding new */
};
#define SCTP_STAT_INCR(_x) SCTP_STAT_INCR_BY(_x,1)