Silly netstat question

Mark Saad nonesuch at longcount.org
Thu Jan 12 03:23:08 UTC 2017


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 at longcount.org


More information about the freebsd-hackers mailing list