Transport of ions across the blood-brain barrier.