Searched refs:expected_orig_ts (Results 1 – 2 of 2) sorted by relevance
60 static int32_t parse_response(uint8_t *data, uint16_t len, struct sntp_time *expected_orig_ts, in parse_response() argument68 if (ntohl(pkt->orig_tm_s) != expected_orig_ts->seconds || in parse_response()69 ntohl(pkt->orig_tm_f) != expected_orig_ts->fraction) { in parse_response()71 ntohl(pkt->orig_tm_s), ntohl(pkt->orig_tm_f), expected_orig_ts->seconds, in parse_response()72 expected_orig_ts->fraction); in parse_response()99 q32_32_s_to_ll_us(expected_orig_ts->seconds, expected_orig_ts->fraction); in parse_response()199 ctx->expected_orig_ts.seconds = ts_us / USEC_PER_SEC; in sntp_query()200 ctx->expected_orig_ts.fraction = (ts_us % USEC_PER_SEC) * (UINT32_MAX / USEC_PER_SEC); in sntp_query()201 tx_pkt.tx_tm_s = htonl(ctx->expected_orig_ts.seconds); in sntp_query()202 tx_pkt.tx_tm_f = htonl(ctx->expected_orig_ts.fraction); in sntp_query()[all …]
56 struct sntp_time expected_orig_ts; member