Subject: Re: Calling ipf->if_input
To: Matthias Scheler <email@example.com>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
Date: 11/30/1999 18:00:48
> (*ifp->if_input)(ifp, m);
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