Re: bridge through code

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

 



Hi,
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>
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

Look at existing bridge utilities (brctl) and RSTP source code.

      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

[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