Searched refs:expected_orig_ts (Results 1 – 2 of 2) sorted by relevance
61 static int32_t parse_response(uint8_t *data, uint16_t len, struct sntp_time *expected_orig_ts, in parse_response() argument69 if (ntohl(pkt->orig_tm_s) != expected_orig_ts->seconds || in parse_response()70 ntohl(pkt->orig_tm_f) != expected_orig_ts->fraction) { in parse_response()72 ntohl(pkt->orig_tm_s), ntohl(pkt->orig_tm_f), expected_orig_ts->seconds, in parse_response()73 expected_orig_ts->fraction); in parse_response()100 q32_32_s_to_ll_us(expected_orig_ts->seconds, expected_orig_ts->fraction); in parse_response()195 ctx->expected_orig_ts.seconds = ts_us / USEC_PER_SEC; in sntp_query_send()196 ctx->expected_orig_ts.fraction = (ts_us % USEC_PER_SEC) * (UINT32_MAX / USEC_PER_SEC); in sntp_query_send()197 tx_pkt.tx_tm_s = htonl(ctx->expected_orig_ts.seconds); in sntp_query_send()198 tx_pkt.tx_tm_f = htonl(ctx->expected_orig_ts.fraction); in sntp_query_send()[all …]
57 struct sntp_time expected_orig_ts; member