I am trying to modify the bridge code so I can define what interfaces to
transmit data through. I added a function in brctl CLI to accept the
interface name as an argument.

 

For example:

 

brctl settransmit br0 ath0

 

Basically this is for an embedded device where I have two radios on the
device. I want to send all the outgoing traffic through ath0 (radio 1) and
use the other radio for receving ath1 (radio 2).

 

I am trying to load the net_bridge_port from the ifindex and set that as the
port for the *skb->dev->br_port in br_device.c in function br_dev_xmit. No
real success so far.

 

Any ideas on how this could be accomplished? 

 

Thank you!

 

Regards,

Hasan Rashid

Software Developer

 

Digital Path, Inc

275 Airpark Blvd suite 500

Chico, CA 95973

 

_______________________________________________
Bridge mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/bridge

Reply via email to