From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David S. Miller" Subject: Re: Best way to hook incoming eth pkts? Date: Wed, 20 Aug 2003 10:54:37 -0700 Sender: netdev-bounce@oss.sgi.com Message-ID: <20030820105437.73dc86db.davem@redhat.com> References: <20030820154727.GB9119@gtf.org> <6756.1061401768@marajade.sandelman.ottawa.on.ca> <20030820175929.GD23984@gtf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: mcr@sandelman.ottawa.on.ca, netdev@oss.sgi.com Return-path: To: Jeff Garzik In-Reply-To: <20030820175929.GD23984@gtf.org> Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org On Wed, 20 Aug 2003 13:59:29 -0400 Jeff Garzik wrote: > On Wed, Aug 20, 2003 at 01:49:28PM -0400, Michael Richardson wrote: > > For ethernet protocols, you can just register the protocol handler, and you > > will get them. > > Dumb question: how? example code, or relevant functions to grep for? He's talking about net/core/dev.c:dev_add_pack()