Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/net/
Dsntp.h33 struct sntp_time { struct
57 struct sntp_time expected_orig_ts; argument
82 int sntp_query(struct sntp_ctx *ctx, uint32_t timeout, struct sntp_time *ts);
94 int sntp_recv_response(struct sntp_ctx *ctx, uint32_t timeout, struct sntp_time *ts);
139 int sntp_read_async(struct net_socket_service_event *event, struct sntp_time *ts);
162 struct sntp_time *ts);
180 struct sntp_time *ts);
/Zephyr-latest/subsys/net/lib/sntp/
Dsntp_simple.c13 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()
Dsntp.c61 static int32_t parse_response(uint8_t *data, uint16_t len, struct sntp_time *expected_orig_ts, in parse_response()
62 struct sntp_time *res) in parse_response()
203 int sntp_query(struct sntp_ctx *ctx, uint32_t timeout, struct sntp_time *ts) in sntp_query()
221 struct sntp_time *ts) in sntp_recv_response()
301 int sntp_read_async(struct net_socket_service_event *event, struct sntp_time *ts) in sntp_read_async()
DKconfig15 Get a more reliable timestamp by supplying the sntp_time struct with an
/Zephyr-latest/subsys/net/lib/config/
Dinit_clock_sntp.c21 static int sntp_init_helper(struct sntp_time *tm) in sntp_init_helper()
42 struct sntp_time ts; in net_init_clock_via_sntp()
/Zephyr-latest/samples/net/sockets/sntp_client/src/
Dmain.c55 struct sntp_time s_time; in sntp_service_handler()
77 struct sntp_time s_time; in do_sntp()