looking in the internet I have found several functions to manage bridge.
These functions are: br_add_bridge, br_del_bridge etc. These functions are in user space or kernel space ? Developing an application (bridgeConf.so) during loading phase of the application the undefined reference error related to the previus functions is generated.
While in the kernel space is not defined the libbridge.h.
Are the br_*_bridge function the correct way to manage bridge through code in user space ?
For our needs something in kernel space is useful too.
Thanks
Best Regards
Luca
2009/8/25 Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx>
Look at existing bridge utilities (brctl) and RSTP source code.On Tue, 25 Aug 2009 09:51:50 +0200
LucaMt <lucamt74@xxxxxxxxx> wrote:
> Hi,
> I want to ask if exist a way allowing bridge control through c/c++ code.
> Where I can found API to develop an user interface to manage the bridge.
>
> Thanks
>
> Best regards
>
> Luca
git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/bridge-utils.git
git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/rstp.git
--
_______________________________________________ Bridge mailing list Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/bridge