On Thu, 2019-04-04 at 22:38 +0200, Johannes Berg wrote:

> > The bridge mode is used only for testing by sending frames
> > without de-muxing to some other driver such as a USB netdev so packets
> > can be parsed on a tethered PC.
> 
> Yeah, I get it, it's just done in a strange way. You'd think adding a
> tcpdump or some small application that just resends the packets directly
> received from the underlying "real_dev" using a ptype_all socket would
> be sufficient? Though perhaps not quite the same performance, but then
> you could easily not use an application but a dev_add_pack() thing? Or
> probably even tc's mirred?

And to extend that thought, tc's ife action would let you encapsulate
the things you have in ethernet headers... I think.

johannes

Reply via email to