Lines Matching full:timeout
75 * @param timeout Timeout of waiting for sntp response (in milliseconds).
79 * @return 0 if ok, <0 if error (-ETIMEDOUT if timeout).
81 int sntp_query(struct sntp_ctx *ctx, uint32_t timeout, struct sntp_time *ts);
87 * @param timeout Timeout of waiting for sntp response (in milliseconds).
91 * @return 0 if ok, <0 if error (-ETIMEDOUT if timeout).
93 int sntp_recv_response(struct sntp_ctx *ctx, uint32_t timeout, struct sntp_time *ts);
109 * @param timeout Query timeout
113 * @return 0 if ok, <0 if error (-ETIMEDOUT if timeout).
115 int sntp_simple(const char *server, uint32_t timeout,
127 * @param timeout Query timeout
131 * @return 0 if ok, <0 if error (-ETIMEDOUT if timeout).
133 int sntp_simple_addr(struct sockaddr *addr, socklen_t addr_len, uint32_t timeout,