Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jan 2017 13:04:14 +0000
From:      Andrew Duane <aduane@juniper.net>
To:        Mark Saad <nonesuch@longcount.org>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   RE: Silly netstat question
Message-ID:  <SN1PR0501MB212534F336BD17BCF2FB47D2CE790@SN1PR0501MB2125.namprd05.prod.outlook.com>
In-Reply-To: <CAMXt9NZgv4Kzcea8zOwO0iF69RNH6f-nxQek41LNZ0ZGUefJqQ@mail.gmail.com>
References:  <CAMXt9NZgv4Kzcea8zOwO0iF69RNH6f-nxQek41LNZ0ZGUefJqQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
It's just a flag to indicate whether the -b flag was set on the command lin=
e.

....................................
Andrew L. Duane - Principal Resident Engineer
AT&T Advanced Services Technical Lead
m=A0=A0=A0+1 603.770.7088
o    +1 408.933.6944 (2-6944)
skype: andrewlduane
aduane@juniper.net



-----Original Message-----
From: owner-freebsd-hackers@freebsd.org [mailto:owner-freebsd-hackers@freeb=
sd.org] On Behalf Of Mark Saad
Sent: Wednesday, January 11, 2017 10:23 PM
To: freebsd-hackers@freebsd.org
Subject: Silly netstat question

All
 I am looking at confirming if netstat returns 32 bit counters when you cal=
l netstat -bni -I nic#

I tracked this down to the bflag variable whic is in src/usr.bin/netstat/ne=
tstat.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
_______________________________________________
freebsd-hackers@freebsd.org mailing list https://lists.freebsd.org/mailman/=
listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"



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