[IPV4] SNMP: Support InMcastPkts and InBcastPkts
authorMitsuru Chinen <mitch@linux.vnet.ibm.com>
Mon, 30 Apr 2007 07:48:10 +0000 (00:48 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 30 Apr 2007 07:58:29 +0000 (00:58 -0700)
commit5506b54b36f067b9776935085c9f8e607b026b23
tree04a5d22848fedd739463f22e98c93dc28db792f4
parent704aed53b4e43bebfbd425cf95b66794a9cfa2c2
[IPV4] SNMP: Support InMcastPkts and InBcastPkts

A received IP multicast datagram should be counted as InMcastPkts.
By the same token, a received IP broadcast datagram should be
counted as InBcastPkts.

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