Lines Matching refs:mac_mask
657 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in efx_ethtool_get_class_rule() local
736 eth_broadcast_addr(mac_mask->h_dest); in efx_ethtool_get_class_rule()
738 ether_addr_copy(mac_mask->h_dest, in efx_ethtool_get_class_rule()
743 eth_broadcast_addr(mac_mask->h_source); in efx_ethtool_get_class_rule()
747 mac_mask->h_proto = ETHER_TYPE_FULL_MASK; in efx_ethtool_get_class_rule()
930 struct ethhdr *mac_mask = &rule->m_u.ether_spec; in efx_ethtool_set_class_rule() local
1085 if (!is_zero_ether_addr(mac_mask->h_dest)) { in efx_ethtool_set_class_rule()
1086 if (ether_addr_equal(mac_mask->h_dest, in efx_ethtool_set_class_rule()
1089 else if (is_broadcast_ether_addr(mac_mask->h_dest)) in efx_ethtool_set_class_rule()
1095 if (!is_zero_ether_addr(mac_mask->h_source)) { in efx_ethtool_set_class_rule()
1096 if (!is_broadcast_ether_addr(mac_mask->h_source)) in efx_ethtool_set_class_rule()
1101 if (mac_mask->h_proto) { in efx_ethtool_set_class_rule()
1102 if (mac_mask->h_proto != ETHER_TYPE_FULL_MASK) in efx_ethtool_set_class_rule()