[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAD6jFUSPxPjtkNHBakuQpDS--uG2YTt+EAE-6Q+t473_t9A3sQ@mail.gmail.com>
Date: Mon, 10 Sep 2012 13:49:36 +0200
From: Daniel Borkmann <danborkmann@...earbox.net>
To: David Laight <David.Laight@...lab.com>
Cc: Eric Dumazet <eric.dumazet@...il.com>,
Andi Kleen <ak@...ux.intel.com>,
George Bakos <gbakos@...inista.org>,
tcpdump-workers@...ts.tcpdump.org,
Jay Schulist <jschlst@...ba.org>, netdev@...r.kernel.org
Subject: Re: [tcpdump-workers] Modular arithmetic
On Mon, Sep 10, 2012 at 12:41 PM, David Laight <David.Laight@...lab.com> wrote:
>> > What about the other OS - eg all the BSDs?
>> > I had a vague idea that BPF was supposed to be reasonable portable.
>>
>> Yes, does it mean BPF is frozen ?
>>
>> Or is BSD so hard to update these days ?
>
> Not really - but it some other places that need updating in order
> to make this useful for cross-platform tools (like tcpdump).
>
> The 'real fun (tm)' happens when NetBSD tries to run Linux binaries
> that include the Linux libpcap.
Correct me if I'm wrong, but if you want to run the _Linux_ version of
libpcap, then you would also need PF_PACKET's RX_RING API in NetBSD.
Otherwise, it doesn't run either. Probably then this BPF instruction
is the smaller problem for NetBSD.
--
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