From: Denis V. <vd...@po...> - 2005-04-04 06:17:59
|
This patch replaces MAC_XXX macros with inline functions and replaces acx_is_mac_address_XXX function with mac_is_XXX for three reasons: 1) names were just far too long 2) they have nothing to do specifically with acx, acx_prefix is unjustified 3) they did not follow TRUE=1,FALSE=0 convention. Compare this: - else if (OK == acx_is_mac_address_equal(priv->dev_addr, hdr->a3.a1)) { + else if (mac_is_equal(priv->dev_addr, hdr->a3.a1)) { Some memcmp's and memcpy's were converted to new functions -- vda |