get_ph_seg_offset public