From owner-freebsd-hackers@freebsd.org Thu Jan 12 03:23:07 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 ECF56CA9E22 for ; Thu, 12 Jan 2017 03:23:07 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: from mail-yw0-x22a.google.com (mail-yw0-x22a.google.com [IPv6:2607:f8b0:4002:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BF86918BE for ; Thu, 12 Jan 2017 03:23:07 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: by mail-yw0-x22a.google.com with SMTP id l75so4589660ywb.0 for ; Wed, 11 Jan 2017 19:23:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=longcount-org.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=DQZ1Seu0Ey+f+ydJj5mewNNauTuN86/IZfuhMcXZCDs=; b=q3muwzo/+L+krKbC2+2H6lEJ1GDTcdt/zVaYi3WrhJjSKawgRqcdw2w497FRFly2za sGxIVGenb2wkhM9y/WT6jReB1inU+hJRNIr1gutTtY6MrJDt47tYHhThRTc2gzHI57bN RI/R+pOT6qrH9OX9MGPEO4XJYek/KZl11Xu2FjYlugbnCDnTbi/g75o7RchSr2El/uw3 //hrV4cBqMftAI59AMGWHqr1o5JrYbqQ/N1gcM3/+LlpmuLsZIcFJ8+r6kOrduOc6IDV Xx6jzkcKNr+0NTB7kD1JafTKxza5W4KqozvgExwc2TbwbFmgjlt5EVcF3ZmXPneOovnM lkcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=DQZ1Seu0Ey+f+ydJj5mewNNauTuN86/IZfuhMcXZCDs=; b=oOP9qhM4GBojyY8e89Hu8I6fHgHyaiC3Qhh9b2Ouh1xjDNJAHNbNjpipCUnlXIo5Lw aNjdIpiRwol/xVrSXgQDCOaHuX4hPgjPjiiB+SWoevia3Tbs8iCq8473kK/UKei5aKrc R0zhoReAjF79pyhxydWtQnMyTuBHPPGx17etore5z4Z3l8j43eGu7j/obWZA61HehIZy Zq8Kacr1UNNo+/oLDipXPv200R7Z/iFIsuKK6KqITfGVulqEKkevyJ45+8J5gnViPyJQ jGMSNcNQLd/w4waolNfoVE3YdoZWnl3HQeRdwhpVe5AQK/wMHF8NMcC6wp6tIpVYfdXo ep1Q== X-Gm-Message-State: AIkVDXLOLVSfX79vt6Az/N3rek0Sb1qkupBIekVncBIs9Zb5Stz3Ba3FrsJLRYpAh4hYUqX+nhkCWpKoQLTbCw== X-Received: by 10.129.60.10 with SMTP id j10mr9505572ywa.133.1484191386503; Wed, 11 Jan 2017 19:23:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.23.214 with HTTP; Wed, 11 Jan 2017 19:23:06 -0800 (PST) X-Originating-IP: [67.86.122.252] From: Mark Saad Date: Wed, 11 Jan 2017 22:23:06 -0500 Message-ID: Subject: Silly netstat question To: "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset=UTF-8 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 03:23:08 -0000 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