On Wed, 18 Jul 2007 18:37:38 +0530 "rajneesh rana" <rana.rajneesh@xxxxxxxxx> wrote: > On 7/18/07, rajneesh rana <rana.rajneesh@xxxxxxxxx> wrote: > > > > I'm trying to trap ethernet frames from a user process over the wire, > > using the linux tap device. I see a lot of docs/threads about using tun > > device, but none for tap device. Use AF_PACKET, it is easier and faster. That is what tcpdump etc use. > > I am able to open Tap device and attach it to bridge but getting no clue > > how to read and write data from tap device. Examples in http://vtun.sourceforge.net/tun/ _______________________________________________ Bridge mailing list Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/bridge