Subject: Re: Calling ipf->if_input
To: Matthias Scheler <>
From: Matthias Drochner <>
List: tech-net
Date: 11/30/1999 18:00:48 said:
>     (*ifp->if_input)(ifp, m);
>     ifp->if_ipackets++; 

Right - the device driver has to count the packets.
The only reason I can imagine for it (instead of
counting within ether_input() -like if_ibytes-) is
to get ths packets passed to the packetfilter as well.
In this case however the ++ should be done a bit earlier
in the driver's receive handler - before the packetfilter

best regards