Hi, I need to create an user interface (QT based MMI) to manage bridge but I can't found c/c++ function in user space to develop this application. The functions are: br_add_bridge, br_del_bridge etc. in libbridge.a library are accessible from user space linking the library ? 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 if I try to use thase functions in kernel space a compile time error is generated, the function are not declared. Are the br_*_bridge functions the correct way to manage bridge through code in user space ? For our needs something in kernel space is useful too. What you can suggest ? Thanks Best Regards Luca -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20090830/0a50baf2/attachment-0001.htm
On Sun, 30 Aug 2009 02:33:27 -0700 (PDT) "salaria113 at yahoo.com" <salaria113 at yahoo.com> wrote:> Hi, > I need to create an user interface (QT based MMI) to manage bridge but I can't found c/c++ function in user space to develop this application. > The functions are: br_add_bridge, br_del_bridge etc. in libbridge.a library are accessible from user space linking the library ?There is no standard user library for this. You need to build your own interface. Look at bridge utils source and RSTP daemon source. They use combinations of ioctl()'s, sysfs and netlink. Eventually, I hope to make all of bridge control under netlink but for now you need ioctl's and sysfs. --