use ts_ioctl() to operate libts now