From owner-freebsd-hackers@freebsd.org Thu Jan 12 13:04:17 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 145F8CAB00C for ; Thu, 12 Jan 2017 13:04:17 +0000 (UTC) (envelope-from aduane@juniper.net) Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0096.outbound.protection.outlook.com [104.47.38.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AFA701A40 for ; Thu, 12 Jan 2017 13:04:16 +0000 (UTC) (envelope-from aduane@juniper.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=junipernetworks.onmicrosoft.com; s=selector1-juniper-net; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=vjfmuG+0RWW9pJ8zKExC/o7AMLQsEZIU2H5jwvxVYDY=; b=Vmih0Sriy2jFruz59O76swetyBQro/LuBxzRyjQ6W30ndAdRDbA9NZCPJk00JG6+1J55xionTjVMQAcmHJ0mOCcktBfxx9gY9qTkvey1C1PHVgVMLvPPUCw6j8oBtQEXOA6SOwRLmWi6wDFOYvgqgJvCXPdRs6ou+ig3JKOmyvo= Received: from SN1PR0501MB2125.namprd05.prod.outlook.com (10.163.228.152) by SN1PR0501MB2125.namprd05.prod.outlook.com (10.163.228.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.6; Thu, 12 Jan 2017 13:04:14 +0000 Received: from SN1PR0501MB2125.namprd05.prod.outlook.com ([10.163.228.152]) by SN1PR0501MB2125.namprd05.prod.outlook.com ([10.163.228.152]) with mapi id 15.01.0845.012; Thu, 12 Jan 2017 13:04:14 +0000 From: Andrew Duane To: Mark Saad , "freebsd-hackers@freebsd.org" Subject: RE: Silly netstat question Thread-Topic: Silly netstat question Thread-Index: AQHSbIM2ulk0DCeS80mRDljQLtkp/6E0z5vQ Date: Thu, 12 Jan 2017 13:04:14 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=aduane@juniper.net; x-originating-ip: [66.129.241.13] x-ms-office365-filtering-correlation-id: 080051ec-fc8a-467b-8d87-08d43aeb8288 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:SN1PR0501MB2125; x-microsoft-exchange-diagnostics: 1; SN1PR0501MB2125; 7:j65GEuo5jhp9irF49ofrmVgYtVAGzD1zdNiVWLppSj1fdNTAIoJHcoXrNSVt4Q8KAp2oY9l+3F7fOI9VsjuQsrbMy3ua+LUfyAzmI0+tUzpNzUw1iGuzQAnu0IfqXFktj/rWEiFPRYlH96AJsoQnfaoPI6B1GwVLYOuGjRxAY5PRdiKhFMp1rMGORgjQViIoQWkp2/QGwmYinNnK4R4VEoSPcxTy2U5UQ2pKo22jTOALj5TUIZy8qyILcF/08twEwVRMRxzAodhyzXawAakQwDJJyiNM5vs5/nKCsqWf3wO+6pSXE8toWxAOkSxpZqQVafIR5wVd509zH/MAVvqKNm5hmNBNxhcVtZzlBSqT7rP68JdBruYdagijMZTARmwQ0nIBUh9uZRGBXGnGamN3ZH4uj4az4lfkQyk0arFm0IBZv+tpgwpbLT9SaqgzeWX/g9iRQE6Y5o9h8Jda7he9zQ== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(138986009662008)(75325880899374); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123555025)(20161123562025)(20161123564025)(20161123560025)(6072148); SRVR:SN1PR0501MB2125; BCL:0; PCL:0; RULEID:; SRVR:SN1PR0501MB2125; x-forefront-prvs: 018577E36E x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(39410400002)(39850400002)(39450400003)(39840400002)(39860400002)(199003)(377454003)(189002)(13464003)(33656002)(8936002)(6306002)(105586002)(101416001)(3480700004)(54356999)(76176999)(189998001)(50986999)(68736007)(107886002)(106356001)(106116001)(9686003)(2950100002)(66066001)(2900100001)(7696004)(86362001)(3280700002)(5660300001)(74316002)(102836003)(6116002)(3846002)(7736002)(3660700001)(92566002)(305945005)(2906002)(2501003)(38730400001)(77096006)(97736004)(122556002)(25786008)(5001770100001)(81166006)(6436002)(6506006)(8676002)(81156014)(229853002)(55016002)(99286003)(7116003); DIR:OUT; SFP:1102; SCL:1; SRVR:SN1PR0501MB2125; H:SN1PR0501MB2125.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jan 2017 13:04:14.6701 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0501MB2125 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2017 13:04:17 -0000 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"