Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet Change the new counter variables in struct tcpcb...



details:   https://anonhg.NetBSD.org/src/rev/bcb6a5489689
branches:  trunk
changeset: 806305:bcb6a5489689
user:      he <he%NetBSD.org@localhost>
date:      Sat Feb 14 22:09:53 2015 +0000

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

diffstat:

 sys/netinet/tcp_var.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r efbc7d47cb64 -r bcb6a5489689 sys/netinet/tcp_var.h
--- a/sys/netinet/tcp_var.h     Sat Feb 14 21:32:46 2015 +0000
+++ b/sys/netinet/tcp_var.h     Sat Feb 14 22:09:53 2015 +0000
@@ -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 @@
        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 */
 };
 
 /*



Home | Main Index | Thread Index | Old Index