* [Bridge] bridge through code
@ 2009-08-25 7:51 LucaMt
2009-08-25 15:47 ` Stephen Hemminger
0 siblings, 1 reply; 3+ messages in thread
From: LucaMt @ 2009-08-25 7:51 UTC (permalink / raw)
To: bridge
[-- Attachment #1: Type: text/plain, Size: 178 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 206 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bridge] bridge through code
2009-08-25 7:51 [Bridge] bridge through code LucaMt
@ 2009-08-25 15:47 ` Stephen Hemminger
2009-08-27 8:48 ` LucaMt
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2009-08-25 15:47 UTC (permalink / raw)
To: LucaMt; +Cc: bridge
On Tue, 25 Aug 2009 09:51:50 +0200
LucaMt <lucamt74@gmail.com> 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
--
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [Bridge] bridge through code
2009-08-25 15:47 ` Stephen Hemminger
@ 2009-08-27 8:48 ` LucaMt
0 siblings, 0 replies; 3+ messages in thread
From: LucaMt @ 2009-08-27 8:48 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: bridge
[-- Attachment #1: Type: text/plain, Size: 1162 bytes --]
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@linux-foundation.org>
> On Tue, 25 Aug 2009 09:51:50 +0200
> LucaMt <lucamt74@gmail.com> 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
> --
>
[-- Attachment #2: Type: text/html, Size: 1872 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-08-27 8:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-25 7:51 [Bridge] bridge through code LucaMt
2009-08-25 15:47 ` Stephen Hemminger
2009-08-27 8:48 ` LucaMt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox