etherdevice.h: Add is_unicast_ether_addr function
authorTobias Klauser <tklauser@distanz.ch>
Wed, 12 Jan 2011 22:14:56 +0000 (22:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Jan 2011 05:49:56 +0000 (21:49 -0800)
commit51e7eed79c41180919ff94942895ba38467d9ad4
tree7779a12f1a54d0d205c0ceec14cc2c59ba581c3d
parent5cd8a77df3e9916069787365a32918caa371fc16
etherdevice.h: Add is_unicast_ether_addr function

From a check for !is_multicast_ether_addr it is not always obvious that
we're checking for a unicast address. So add this helper function to
make those code paths easier to read.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/etherdevice.h