preliminary ospfs_read implementation