]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/ipv4/ip_output.c
[IPV4] SNMP: Support OutMcastPkts and OutBcastPkts
authorMitsuru Chinen <mitch@linux.vnet.ibm.com>
Mon, 30 Apr 2007 07:48:20 +0000 (00:48 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 30 Apr 2007 07:58:32 +0000 (00:58 -0700)
commit80787ebc2bbd8e675d8b9ff8cfa40f15134feebe
treed0bf901985fdaa863a1528196d9a9fd94327b7fd
parent5506b54b36f067b9776935085c9f8e607b026b23
[IPV4] SNMP: Support OutMcastPkts and OutBcastPkts

A transmitted IP multicast datagram should be counted as OutMcastPkts.
By the same token, a transmitted IP broadcast datagram should be
counted as OutBcastPkts.

Signed-off-by: Mitsuru Chinen <mitch@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_output.c