Home
last modified time | relevance | path

Searched refs:t3_ns (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.7.0/subsys/net/l2/ethernet/gptp/
Dgptp_md.c305 uint64_t t1_ns = 0U, t2_ns = 0U, t3_ns = 0U, t4_ns = 0U; in gptp_md_compute_prop_time() local
347 t3_ns = ((uint64_t)ntohs(fup->resp_orig_ts_secs_high)) << 32; in gptp_md_compute_prop_time()
348 t3_ns |= ntohl(fup->resp_orig_ts_secs_low); in gptp_md_compute_prop_time()
349 t3_ns *= NSEC_PER_SEC; in gptp_md_compute_prop_time()
350 t3_ns += ntohl(fup->resp_orig_ts_nsecs); in gptp_md_compute_prop_time()
351 t3_ns += (ntohll(hdr->correction_field) >> 16); in gptp_md_compute_prop_time()
356 turn_around = t3_ns - t2_ns; in gptp_md_compute_prop_time()