svn commit: r191890 - head/sys/netinet

Randall Stewart rrs at FreeBSD.org
Thu May 7 16:42:46 UTC 2009


Author: rrs
Date: Thu May  7 16:42:45 2009
New Revision: 191890
URL: http://svn.freebsd.org/changeset/base/191890

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

Modified:
  head/sys/netinet/sctp_uio.h

Modified: head/sys/netinet/sctp_uio.h
==============================================================================
--- head/sys/netinet/sctp_uio.h	Thu May  7 16:31:50 2009	(r191889)
+++ head/sys/netinet/sctp_uio.h	Thu May  7 16:42:45 2009	(r191890)
@@ -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)


More information about the svn-src-all mailing list