[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201008031817.40664.remi@remlab.net>
Date: Tue, 3 Aug 2010 18:17:40 +0300
From: "Rémi Denis-Courmont" <remi@...lab.net>
To: netdev@...r.kernel.org
Subject: Re: RFC: New BPF 'LOOP' instruction
Le mardi 3 août 2010 17:19:24 Paul LeoNerd Evans, vous avez écrit :
> On Tue, Aug 03, 2010 at 04:16:02PM +0200, Rémi Denis-Courmont wrote:
> > > Is there any way it could be done lazily, at the moment that filter.c
> > > knows it has to provide either SKF_TRANS_OFF or SKF_AD_TRANSPROTO?
> >
> > You would essentially need to implement dedicated parsing for each
> > protocols family.
> > So you might as well add an opcode dedicated to IPv6...
>
> And what happens when IPv8 comes along?
> Or we want to parse IPX/SPX or
> any of those thousands of other network protocols?
It does not work. That's why your SKB_TRANS_OFF proposal sucks totally because
it is not implementable. On the other hand, n IPv6-specific opcode sucks only
a little due to its ugliness and lack of forward compatibility.
--
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists