From: Bart De Schuymer <bdschuym@pandora.be>
To: Rein van Koten <rein@vankoten.com>, bridge@osdl.org
Cc: shemminger@osdl.org
Subject: Re: [Bridge] Mirroring an interface to an other by using bridge ?
Date: Mon, 29 Mar 2004 19:48:42 +0200 [thread overview]
Message-ID: <200403291948.42235.bdschuym@pandora.be> (raw)
In-Reply-To: <000e01c4128b$8c13f9d0$7f619082@simba>
On Thursday 25 March 2004 18:06, Rein van Koten wrote:
> Hi,
> Anyway,
>
> I would appreciate your opinion on this or whether you know someone working
> along the same lines... I myself am not C savvy enough to rewrite the
> bridge module without additional input on this idea. And then again, maybe
> it already exists.
It should be simple, removing the following code from
br_input.c::br_handle_frame_finish() should probably be enough:
dst = br_fdb_get(br, dest);
if (dst != NULL && dst->is_local) {
if (!passedup)
br_pass_frame_up(br, skb);
else
kfree_skb(skb);
br_fdb_put(dst);
goto out;
}
if (dst != NULL) {
br_forward(dst->dst, skb);
br_fdb_put(dst);
goto out;
}
It would probably be interesting to have a bridge userspace tool option so
that the bridge acts like a hub, which is basically what you want.
cheers,
Bart
next prev parent reply other threads:[~2004-03-29 17:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-25 17:06 [Bridge] Mirroring an interface to an other by using bridge ? Rein van Koten
2004-03-29 17:48 ` Bart De Schuymer [this message]
2004-03-31 14:39 ` [Bridge] " Mike Andersen
2004-04-01 16:18 ` Bart De Schuymer
2004-04-02 7:23 ` Mike Andersen
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=200403291948.42235.bdschuym@pandora.be \
--to=bdschuym@pandora.be \
--cc=bridge@osdl.org \
--cc=rein@vankoten.com \
--cc=shemminger@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox