Extraterrestrial neutrinos and Earth structure