how to get port status (spanning tree)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
I'm working on an hardware switch and I try to implement spanning tree.
I need to modify the linux bridge to get bridge port status because i have to set hardware registers in my switch.
I looked in bridge source code and I found br_log_state() function.
This function is called by br_make_forwarding() and br_make_blocking().

I plan to add some code to send IOCTLS to my switch driver when port state change.

Is there one function that is called when state changed ?
I need to have the 5 states ?

Best Regards,
Sébastien JEFFROY
_______________________________________________
Bridge mailing list
Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/bridge

[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux