Subject: netstat bug?
To: NetBSD list <amiga@NetBSD.ORG>
From: Jukka Marin <jmarin@muikku.jmp.fi>
List: amiga
Date: 02/22/1995 10:12:39
Haven't looked into the source yet, so I don't know whether this is a bug
in netstat command or the kernel:

tcp:
        15008904 packets sent
                4447817 data packets (540003117 bytes)
                26293 data packets (1466287 bytes) retransmitted
                8832393 ack-only packets (4128011 delayed)
                393 URG only packets
                2458 window probe packets
                1669296 window update packets
                30356 control packets
        15065090 packets received
                4166225 acks (for 540108420 bytes)
                394254 duplicate acks
                0 acks for unsent data
                11744544 packets (-2012120161 bytes) received in-sequence
                379719 completely duplicate packets (55707509 bytes)
                0 old duplicate packets


-2012120161 bytes?  Argh. ;-)  What's the talk about NetBSD 1.0 being 64-bit
if fields like these are treated as 32-bit _signed_ numbers?

I wonder what other variables withh start behaving oddly after running for
a while without crashes...

Any comments (other than the famous "fix it yourself")? ;-)

  Jukka Marin


P.S. Uptime 27 days, I guess the uninitialized variables were set to very
     good values during the last reboot..  15 users (w) on the system at the
     same time almost every day.