Module Name:    src
Committed By:   he
Date:           Sat Feb 14 22:09:53 UTC 2015

Modified Files:
        src/sys/netinet: tcp_var.h

Log Message:
Change the new counter variables in struct tcpcb to uint32_t, as
per christos' comments.


To generate a diff of this commit:
cvs rdiff -u -r1.176 -r1.177 src/sys/netinet/tcp_var.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/netinet/tcp_var.h
diff -u src/sys/netinet/tcp_var.h:1.176 src/sys/netinet/tcp_var.h:1.177
--- src/sys/netinet/tcp_var.h:1.176	Sat Feb 14 12:57:53 2015
+++ src/sys/netinet/tcp_var.h	Sat Feb 14 22:09:53 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: tcp_var.h,v 1.176 2015/02/14 12:57:53 he Exp $	*/
+/*	$NetBSD: tcp_var.h,v 1.177 2015/02/14 22:09:53 he Exp $	*/
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -366,9 +366,9 @@ struct tcpcb {
 	u_int	t_msl;			/* MSL to use for this connexion */
 
 	/* maintain a few stats per connection: */
-	int	t_rcvoopack;	 	/* out-of-order packets received */
-	int	t_sndrexmitpack; 	/* retransmit packets sent */
-	int	t_sndzerowin;		/* zero-window updates sent */
+	uint32_t t_rcvoopack;	 	/* out-of-order packets received */
+	uint32_t t_sndrexmitpack; 	/* retransmit packets sent */
+	uint32_t t_sndzerowin;		/* zero-window updates sent */
 };
 
 /*

Reply via email to