[Bridge] Access the bridge through the userspace (Rx/Tx)

Malcolm Scott Malcolm.Scott at cl.cam.ac.uk
Mon Apr 28 12:57:56 PDT 2008


On Thu, 24 Apr 2008, Faruk Keskin wrote:

> I'm trying to implement Layer 2 packet processing, where I need  to
> transfer packets arriving at the Linux Bridge to a dedicated userspace
> application. So my very basic question would be whether you could
> recommend a strategy to achieve this.
>
> Can I use TUN/TAP or do I need to implement specific code around a socket?

You could alternatively use libpcap, if I understand your requirements 
properly.

-- 
Malcolm Scott
Research Assistant
University of Cambridge Computer Laboratory



More information about the Bridge mailing list