netdev
[Top] [All Lists]

Re: Best way to hook incoming eth pkts?

To: Michael Richardson <mcr@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Best way to hook incoming eth pkts?
From: Jeff Garzik <jgarzik@xxxxxxxxx>
Date: Wed, 20 Aug 2003 13:59:29 -0400
Cc: netdev@xxxxxxxxxxx
In-reply-to: <6756.1061401768@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
References: <20030820154727.GB9119@xxxxxxx> <6756.1061401768@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
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?

grepping for 'register.*prot' didn't seem to turn up anything useful,
and I didn't see any register*ether functions in linux/if_ether.h.

Thanks,

        Jeff




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