commit | 2407534f8be8015d585104bcc4374870b6b70fe7 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@osdl.org> | Tue Nov 01 16:52:11 2005 -0800 |
committer | Arnaldo Carvalho de Melo <acme@mandriva.com> | Wed Nov 02 21:54:07 2005 -0200 |
tree | fba7cb22827991ccf447824a6b2d66a543b27e21 | |
parent | 450b5b18983cc15f4d27bd3f62901e02281e818b [diff] |
[ETHERNET]: Optimize is_broadcast_ether_addr Optimize the match for broadcast address by using bit operations instead of comparison. This saves a number of conditional branches, and generates smaller code. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>