Ethernet Bridge development
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@linux-foundation.org>
To: "salaria113@yahoo.com" <salaria113@yahoo.com>
Cc: bridge@linux-foundation.org
Subject: Re: [Bridge] bridge management through code
Date: Tue, 1 Sep 2009 14:02:02 -0700	[thread overview]
Message-ID: <20090901140202.5d3a15ad@nehalam> (raw)
In-Reply-To: <971341.46520.qm@web65703.mail.ac4.yahoo.com>

On Sun, 30 Aug 2009 02:33:27 -0700 (PDT)
"salaria113@yahoo.com" <salaria113@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.


-- 

      reply	other threads:[~2009-09-01 21:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-30  9:33 [Bridge] bridge management through code salaria113
2009-09-01 21:02 ` Stephen Hemminger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090901140202.5d3a15ad@nehalam \
    --to=shemminger@linux-foundation.org \
    --cc=bridge@linux-foundation.org \
    --cc=salaria113@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox