commit | baf523c9ba4a69e97b0b5a6fb0e0a9e43550a65b | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Wed May 09 17:04:03 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu May 10 23:33:01 2012 -0400 |
tree | 9c0a9ba3234ceecf51f292bb2089ce787d993b8b | |
parent | 2e42e4747ea72943c21551d8a206b51a9893b1e0 [diff] |
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>