ifnet: Rework if_ringmap_match