aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorStephen Hemminger <[email protected]>2005-11-01 16:52:11 -0800
committerArnaldo Carvalho de Melo <[email protected]>2005-11-02 21:54:07 -0200
commit2407534f8be8015d585104bcc4374870b6b70fe7 (patch)
treefba7cb22827991ccf447824a6b2d66a543b27e21 /scripts/basic
parent450b5b18983cc15f4d27bd3f62901e02281e818b (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 <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions