[PKTGEN]: Replacing with (compare|is_zero)_ether_addr() and ETH_ALEN
authorKris Katterjohn <kjak@users.sourceforge.net>
Tue, 17 Jan 2006 21:04:57 +0000 (13:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jan 2006 21:04:57 +0000 (13:04 -0800)
commitf404e9a67ffdc0bb0302a5ad1f7eaf58e5a59109
tree4406dc808ccf1654c3648fcea12e68ff5a56fdee
parenta8fc3d8decfd5601fb14a2163952f81fa6b971bb
[PKTGEN]: Replacing with (compare|is_zero)_ether_addr() and ETH_ALEN

This replaces some tests with is_zero_ether_addr(), memcmp(one, two,
6) with compare_ether_addr(one, two), and 6 with ETH_ALEN where
appropriate.

Signed-off-by: Kris Katterjohn <kjak@users.sourceforge.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c