Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/netstat s/u_quad_t/uint64_t/. No functional change.



details:   https://anonhg.NetBSD.org/src/rev/4ef0f6d15b54
branches:  trunk
changeset: 370179:4ef0f6d15b54
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Sep 21 07:59:19 2022 +0000

description:
s/u_quad_t/uint64_t/. No functional change.

diffstat:

 usr.bin/netstat/if.c    |  22 +++++++++++-----------
 usr.bin/netstat/inet.c  |   6 +++---
 usr.bin/netstat/inet6.c |   8 ++++----
 3 files changed, 18 insertions(+), 18 deletions(-)

diffs (106 lines):

diff -r 56082e0dba86 -r 4ef0f6d15b54 usr.bin/netstat/if.c
--- a/usr.bin/netstat/if.c      Wed Sep 21 07:15:24 2022 +0000
+++ b/usr.bin/netstat/if.c      Wed Sep 21 07:59:19 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.c,v 1.104 2022/09/12 02:25:44 msaitoh Exp $ */
+/*     $NetBSD: if.c,v 1.105 2022/09/21 07:59:19 msaitoh Exp $ */
 
 /*
  * Copyright (c) 1983, 1988, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "from: @(#)if.c 8.2 (Berkeley) 2/21/94";
 #else
-__RCSID("$NetBSD: if.c,v 1.104 2022/09/12 02:25:44 msaitoh Exp $");
+__RCSID("$NetBSD: if.c,v 1.105 2022/09/21 07:59:19 msaitoh Exp $");
 #endif
 #endif /* not lint */
 
@@ -73,15 +73,15 @@
 
 struct iftot {
        char ift_name[IFNAMSIZ];        /* interface name */
-       u_quad_t ift_ip;                /* input packets */
-       u_quad_t ift_ib;                /* input bytes */
-       u_quad_t ift_ie;                /* input errors */
-       u_quad_t ift_iq;                /* input drops */
-       u_quad_t ift_op;                /* output packets */
-       u_quad_t ift_ob;                /* output bytes */
-       u_quad_t ift_oe;                /* output errors */
-       u_quad_t ift_oq;                /* output drops */
-       u_quad_t ift_co;                /* collisions */
+       uint64_t ift_ip;                /* input packets */
+       uint64_t ift_ib;                /* input bytes */
+       uint64_t ift_ie;                /* input errors */
+       uint64_t ift_iq;                /* input drops */
+       uint64_t ift_op;                /* output packets */
+       uint64_t ift_ob;                /* output bytes */
+       uint64_t ift_oe;                /* output errors */
+       uint64_t ift_oq;                /* output drops */
+       uint64_t ift_co;                /* collisions */
 };
 
 struct if_data_ext {
diff -r 56082e0dba86 -r 4ef0f6d15b54 usr.bin/netstat/inet.c
--- a/usr.bin/netstat/inet.c    Wed Sep 21 07:15:24 2022 +0000
+++ b/usr.bin/netstat/inet.c    Wed Sep 21 07:59:19 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: inet.c,v 1.116 2022/09/02 06:25:43 msaitoh Exp $       */
+/*     $NetBSD: inet.c,v 1.117 2022/09/21 07:59:19 msaitoh Exp $       */
 
 /*
  * Copyright (c) 1983, 1988, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "from: @(#)inet.c       8.4 (Berkeley) 4/20/94";
 #else
-__RCSID("$NetBSD: inet.c,v 1.116 2022/09/02 06:25:43 msaitoh Exp $");
+__RCSID("$NetBSD: inet.c,v 1.117 2022/09/21 07:59:19 msaitoh Exp $");
 #endif
 #endif /* not lint */
 
@@ -539,7 +539,7 @@
 udp_stats(u_long off, const char *name)
 {
        uint64_t udpstat[UDP_NSTATS];
-       u_quad_t delivered;
+       uint64_t delivered;
 
        if (use_sysctl) {
                size_t size = sizeof(udpstat);
diff -r 56082e0dba86 -r 4ef0f6d15b54 usr.bin/netstat/inet6.c
--- a/usr.bin/netstat/inet6.c   Wed Sep 21 07:15:24 2022 +0000
+++ b/usr.bin/netstat/inet6.c   Wed Sep 21 07:59:19 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: inet6.c,v 1.81 2022/09/02 06:25:43 msaitoh Exp $       */
+/*     $NetBSD: inet6.c,v 1.82 2022/09/21 07:59:19 msaitoh Exp $       */
 /*     BSDI inet.c,v 2.3 1995/10/24 02:19:29 prb Exp   */
 
 /*
@@ -64,7 +64,7 @@
 #if 0
 static char sccsid[] = "@(#)inet.c     8.4 (Berkeley) 4/20/94";
 #else
-__RCSID("$NetBSD: inet6.c,v 1.81 2022/09/02 06:25:43 msaitoh Exp $");
+__RCSID("$NetBSD: inet6.c,v 1.82 2022/09/21 07:59:19 msaitoh Exp $");
 #endif
 #endif /* not lint */
 
@@ -501,7 +501,7 @@
 udp6_stats(u_long off, const char *name)
 {
        uint64_t udp6stat[UDP6_NSTATS];
-       u_quad_t delivered;
+       uint64_t delivered;
 
        if (use_sysctl) {
                size_t size = sizeof(udp6stat);
@@ -1349,7 +1349,7 @@
 rip6_stats(u_long off, const char *name)
 {
        uint64_t rip6stat[RIP6_NSTATS];
-       u_quad_t delivered;
+       uint64_t delivered;
 
        if (use_sysctl) {
                size_t size = sizeof(rip6stat);



Home | Main Index | Thread Index | Old Index