ecore_get_n_elements
mac_obj->get_n_elements = ecore_get_n_elements;
vlan_obj->get_n_elements = ecore_get_n_elements;