[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100803140539.GE31096@basil.fritz.box>
Date: Tue, 3 Aug 2010 16:05:39 +0200
From: Andi Kleen <andi@...stfloor.org>
To: David Miller <davem@...emloft.net>
Cc: andi@...stfloor.org, leonerd@...nerd.org.uk, netdev@...r.kernel.org
Subject: Re: RFC: New BGF 'LOOP' instruction
On Tue, Aug 03, 2010 at 06:07:54AM -0700, David Miller wrote:
> From: Andi Kleen <andi@...stfloor.org>
> Date: Tue, 03 Aug 2010 14:58:02 +0200
>
> > David Miller <davem@...emloft.net> writes:
> >>
> >> That makes the looping construct largely useless, which I mentioned in
> >> my second reply to this thread.
> >
> > How about simply adding a "skip ipv6 extension headers until header type
> > X" opcode?
> >
> > I bet that would solve most of the problems here in practice.
>
> BPF really should not have protocol specific opcodes.
Well you could generalize it, like "SKIP headers where length
is at offset X and type at offset Y"
-Andi
--
ak@...ux.intel.com -- Speaking for myself only.
--
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