Lines Matching refs:ts
66 } ts; member
154 opt.ts.ena = true; in cs_parse_args()
278 if (opt.ts.ena) { in cs_write_cmsg()
332 struct scm_timestamping *ts; in cs_read_cmsg() local
336 if (!opt.ts.ena) in cs_read_cmsg()
342 ts = NULL; in cs_read_cmsg()
357 if (cmsg->cmsg_len < sizeof(*ts)) in cs_read_cmsg()
360 ts = (void *)CMSG_DATA(cmsg); in cs_read_cmsg()
373 if (!ts) in cs_read_cmsg()
381 if (!ts->ts[i].tv_sec && !ts->ts[i].tv_nsec) in cs_read_cmsg()
384 rel_time = (ts->ts[i].tv_sec - time_start_real.tv_sec) * in cs_read_cmsg()
386 (ts->ts[i].tv_nsec - time_start_real.tv_nsec) / in cs_read_cmsg()