Subject: Re: if_iqdrops deprecated?
To: Kevin Lahey <kml@logictier.com>
From: Castor Fu <castor@geocast.com>
List: tech-net
Date: 05/17/2000 15:00:29
> In message <Pine.NEB.4.10.10005171343170.378-100000@swamp.sfo.geocast.net>,
> "Castor Fu" writes:
> >Is the use of if_iqdrops to keep track of dropped input packets
> >deprecated?   
> >
> >I can't find anything which actually reports this back
> >to the user.  It seems like it could be useful to know when
> >trying to debug stuff, though other errors are likely to
> >also be incremented.
> 
> Doesn't "netstat -q" report that?

I don't think so.  The man page doesn't say so, and
the getopt line doesn't have a 'q'.  "netstat -d" reports
"dropped" packets, but that's on the send queue, not a statistic
from the NIC itself.  

> It looks like this is taken care of in the IF_DROP macro,
> isn't it?  It looks like the link-layer handling stuff
> in /sys/net/if_{ppp,ether,hippi,whatever}.c takes care of
> most of this...

Again, this is an output queue variable.