[net] etherif_get_by_id() + add missing file