netdev
[Top] [All Lists]

Re: Best way to hook incoming eth pkts?

To: Jeff Garzik <jgarzik@xxxxxxxxx>
Subject: Re: Best way to hook incoming eth pkts?
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Wed, 20 Aug 2003 10:54:37 -0700
Cc: mcr@xxxxxxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20030820175929.GD23984@xxxxxxx>
References: <20030820154727.GB9119@xxxxxxx> <6756.1061401768@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20030820175929.GD23984@xxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Wed, 20 Aug 2003 13:59:29 -0400
Jeff Garzik <jgarzik@xxxxxxxxx> 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()

<Prev in Thread] Current Thread [Next in Thread>