[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <52A1A099.3010901@redhat.com>
Date: Fri, 06 Dec 2013 11:02:01 +0100
From: Daniel Borkmann <dborkman@...hat.com>
To: David Laight <David.Laight@...LAB.COM>
CC: Eric Dumazet <eric.dumazet@...il.com>,
Michal Sekletár
<sekletar.m@...il.com>, Michal Sekletar <msekleta@...hat.com>,
netdev@...r.kernel.org, Michael Kerrisk <mtk.manpages@...il.com>
Subject: Re: [PATCH] net: introduce SO_BPF_EXTENSIONS
On 12/06/2013 10:50 AM, David Laight wrote:
>> if SO_BPF_EXTENSIONS is supported, than you can assume that all current
>> extensions are supported.
>>
>> No need to consume one bit per feature, as all these features wont ever
>> disappear from linux.
>
> However one of the BSDs could add a subset of the features and
> wish to advertise the fact.
> So using extra flags for non-trivial extensions could be useful.
Haven't had a closer look at the BSD BPF code /yet/, so ...
i) Does BSD have such extensions and if so do we overlap some?
ii) Is it planned to also introduce SO_BPF_EXTENSIONS for BSD kernels
to have one common api (that i.e. libpcap would then make use of)?
> David
>
--
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