Searched refs:sntp_time (Results 1 – 6 of 6) sorted by relevance
/Zephyr-latest/samples/net/sockets/sntp_client/src/ |
D | main.c | 26 struct sntp_time sntp_time; in main() local 45 rv = sntp_query(&ctx, 4 * MSEC_PER_SEC, &sntp_time); in main() 53 (uint32_t)(sntp_time.seconds >> 32), (uint32_t)sntp_time.seconds); in main() 73 rv = sntp_query(&ctx, 0, &sntp_time); in main() 81 (uint32_t)(sntp_time.seconds >> 32), (uint32_t)sntp_time.seconds); in main()
|
/Zephyr-latest/include/zephyr/net/ |
D | sntp.h | 32 struct sntp_time { struct 56 struct sntp_time expected_orig_ts; argument 81 int sntp_query(struct sntp_ctx *ctx, uint32_t timeout, struct sntp_time *ts); 93 int sntp_recv_response(struct sntp_ctx *ctx, uint32_t timeout, struct sntp_time *ts); 116 struct sntp_time *ts); 134 struct sntp_time *ts);
|
/Zephyr-latest/subsys/net/lib/sntp/ |
D | sntp_simple.c | 13 struct sntp_time *ts) in sntp_simple_helper() 75 struct sntp_time *ts) in sntp_simple_addr() 87 int sntp_simple(const char *server, uint32_t timeout, struct sntp_time *ts) in sntp_simple()
|
D | sntp.c | 60 static int32_t parse_response(uint8_t *data, uint16_t len, struct sntp_time *expected_orig_ts, in parse_response() 61 struct sntp_time *res) in parse_response() 184 int sntp_query(struct sntp_ctx *ctx, uint32_t timeout, struct sntp_time *ts) in sntp_query() 214 struct sntp_time *ts) in sntp_recv_response()
|
D | Kconfig | 15 Get a more reliable timestamp by supplying the sntp_time struct with an
|
/Zephyr-latest/subsys/net/lib/config/ |
D | init_clock_sntp.c | 21 static int sntp_init_helper(struct sntp_time *tm) in sntp_init_helper() 42 struct sntp_time ts; in net_init_clock_via_sntp()
|