From: Stephen Hemminger <shemminger@osdl.org>
To: "Paul C. Diem" <PCDiem@foxvalley.net>,
"David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org, bridge@lists.osdl.org
Subject: [Bridge] [PATCH] bridge: keep track of received multicast packets
Date: Thu, 4 May 2006 16:10:19 -0700 [thread overview]
Message-ID: <20060504161019.17feb2aa@localhost.localdomain> (raw)
In-Reply-To: <FFEPKIHJDEDDAAFOFDGFMEJGCBAA.PCDiem@FoxValley.net>
It makes sense to add this simple statistic to keep track of received
multicast packets.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
--- bridge.orig/net/bridge/br_input.c 2006-04-21 14:28:55.000000000 -0700
+++ bridge/net/bridge/br_input.c 2006-05-04 16:07:24.000000000 -0700
@@ -66,6 +66,7 @@
}
if (is_multicast_ether_addr(dest)) {
+ br->statistics.multicast++;
br_flood_forward(br, skb, !passedup);
if (!passedup)
br_pass_frame_up(br, skb);
WARNING: multiple messages have this Message-ID (diff)
From: Stephen Hemminger <shemminger@osdl.org>
To: "Paul C. Diem" <PCDiem@foxvalley.net>,
"David S. Miller" <davem@davemloft.net>
Cc: <bridge@lists.osdl.org>, netdev@vger.kernel.org
Subject: [PATCH] bridge: keep track of received multicast packets
Date: Thu, 4 May 2006 16:10:19 -0700 [thread overview]
Message-ID: <20060504161019.17feb2aa@localhost.localdomain> (raw)
In-Reply-To: <FFEPKIHJDEDDAAFOFDGFMEJGCBAA.PCDiem@FoxValley.net>
It makes sense to add this simple statistic to keep track of received
multicast packets.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
--- bridge.orig/net/bridge/br_input.c 2006-04-21 14:28:55.000000000 -0700
+++ bridge/net/bridge/br_input.c 2006-05-04 16:07:24.000000000 -0700
@@ -66,6 +66,7 @@
}
if (is_multicast_ether_addr(dest)) {
+ br->statistics.multicast++;
br_flood_forward(br, skb, !passedup);
if (!passedup)
br_pass_frame_up(br, skb);
next prev parent reply other threads:[~2006-05-04 23:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-04 21:16 [Bridge] Interface Statistics Paul C. Diem
2006-05-04 21:36 ` Stephen Hemminger
2006-05-04 22:01 ` Paul C. Diem
2006-05-04 23:10 ` Stephen Hemminger [this message]
2006-05-04 23:10 ` [PATCH] bridge: keep track of received multicast packets Stephen Hemminger
2006-05-06 0:07 ` [Bridge] " David S. Miller
2006-05-06 0:07 ` David S. Miller
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=20060504161019.17feb2aa@localhost.localdomain \
--to=shemminger@osdl.org \
--cc=PCDiem@foxvalley.net \
--cc=bridge@lists.osdl.org \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.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.