From: "Milos Gajdos" <gy2kre@centrum.cz>
To: bridge@lists.linux-foundation.org
Subject: [Bridge] Create bridge using rtnetlink
Date: Tue, 27 May 2014 22:32:23 +0200 [thread overview]
Message-ID: <20140527223223.EB230DF3@centrum.cz> (raw)
Guys,
I've been thinking about this past few days and thought I'd ask here.
Is it possible to create bridge device using rtnetlink interface ?
I've tried to go through iproute package source but got a bit overwhelmed and confused.
Could someone give me a hint how to go about it ?
I had a look at bridge utils source but that one literally uses direct syscalls.
What I'm after is rtnetlink thingy which would correspond to:
ip link add name mybridge type bridge
Any advice/hints would be very appreciated!
thanks
reply other threads:[~2014-05-27 20:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20140527223223.EB230DF3@centrum.cz \
--to=gy2kre@centrum.cz \
--cc=bridge@lists.linux-foundation.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.