pub fn ext_timestamp(exttimestamp: &mut u64, timestamp: u32) -> u64