Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2017 22:23:06 -0500
From:      Mark Saad <nonesuch@longcount.org>
To:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Silly netstat question
Message-ID:  <CAMXt9NZgv4Kzcea8zOwO0iF69RNH6f-nxQek41LNZ0ZGUefJqQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
All
 I am looking at confirming if netstat returns 32 bit counters when you call
netstat -bni -I nic#

I tracked this down to the bflag variable whic is in
src/usr.bin/netstat/netstat.h

 extern int      bflag;  /* show i/f total bytes in/out */

Does anyone know why this is a signed int , and not a u_long ?



-- 
mark saad | nonesuch@longcount.org



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