Subject: Re: Ethernet Input Processing
To: Michael Hertrick <m.hertrick@neovera.com>
From: Allen Briggs <briggs@wasabisystems.com>
List: tech-net
Date: 11/18/2003 01:31:29
On Tue, Nov 18, 2003 at 12:45:55AM -0500, Michael Hertrick wrote:
> http://www.netbsd.org/Documentation/kernel/porting-freebsd-net.html says 
> "NetBSD: whole packet, indirectly through ifp->ifp_input", but I can't 
> find ifp_input used anywhere either.

At the end of fxp_rxintr in i82557.c, you'll note the line:

                (*ifp->if_input)(ifp, m);

(just after the conditional call to bpf_mtap())

That's what you're looking for, I think.

Are you in promiscuous mode?  If not, then the packets won't even be
picked up--the chip will not even try to pick up those packets.

-allen

-- 
 Allen Briggs                     briggs@wasabisystems.com
 Wasabi Systems, Inc.             http://www.wasabisystems.com/