aboutsummaryrefslogtreecommitdiffstats
path: root/net/ethernet/eth.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-05-09 17:04:03 +0000
committerDavid S. Miller <davem@davemloft.net>2012-05-10 23:33:01 -0400
commitbaf523c9ba4a69e97b0b5a6fb0e0a9e43550a65b (patch)
tree9c0a9ba3234ceecf51f292bb2089ce787d993b8b /net/ethernet/eth.c
parentdrivers/net: Convert compare_ether_addr to ether_addr_equal (diff)
downloadlinux-dev-baf523c9ba4a69e97b0b5a6fb0e0a9e43550a65b.tar.xz
linux-dev-baf523c9ba4a69e97b0b5a6fb0e0a9e43550a65b.zip
etherdevice.h: Add ether_addr_equal_64bits
Add an optimized boolean function to check if 2 ethernet addresses are the same. This is to avoid any confusion about compare_ether_addr_64bits returning an unsigned, and not being able to use the compare_ether_addr_64bits function for sorting ala memcmp. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions