Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2009 09:51:48 GMT
From:      Gabor Pali <pgj@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 165381 for review
Message-ID:  <200906290951.n5T9pmDq092621@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=165381

Change 165381 by pgj@petymeg-current on 2009/06/29 09:51:18

	Add padding for unpcb streamed data.

Affected files ...

.. //depot/projects/soc2009/pgj_libstat/src/sys/sys/unpcb.h#4 edit

Differences ...

==== //depot/projects/soc2009/pgj_libstat/src/sys/sys/unpcb.h#4 (text+ko) ====

@@ -160,11 +160,11 @@
 /* Exported data for user applications (not complete) */
 struct unpcb_data {
 	u_int64_t	ud_gencnt;
-	uint8_t		ud_address_len;
+	u_int8_t	ud_address_len;
 	char		ud_address[104];
-	uint16_t	ud_qlen;
-	uint16_t	ud_incqlen;
-	uint16_t	ud_qlimit;
+	u_int16_t	ud_qlen;
+	u_int16_t	ud_incqlen;
+	u_int16_t	ud_qlimit;
 	u_int32_t	ud_snd_cc;
 	u_int32_t	ud_snd_mcnt;
 	u_int32_t	ud_snd_ccnt;
@@ -184,6 +184,7 @@
 	u_int64_t	ud_conn;
 	u_int64_t	ud_refs;
 	u_int64_t	ud_reflink;
+	u_int8_t	_ud_pad[51];
 };
 
 #endif /* _SYS_UNPCB_H_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906290951.n5T9pmDq092621>