Home
last modified time | relevance | path

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

/third_party/lwip/src/apps/sntp/
Dsntp.c239 static struct sntp_server sntp_servers[SNTP_MAX_SERVERS]; variable
414 if (!ip_addr_isany(&sntp_servers[sntp_current_server].addr) in sntp_try_next_server()
416 || (sntp_servers[sntp_current_server].name != NULL) in sntp_try_next_server()
511 sntp_servers[sntp_current_server].reachability |= 1; in sntp_recv()
561 sntp_servers[sntp_current_server].reachability <<= 1; in sntp_send_request()
592 sntp_servers[sntp_current_server].addr = *ipaddr; in sntp_dns_found()
617 if (sntp_servers[sntp_current_server].name) { in sntp_request()
619 ip_addr_set_zero(&sntp_servers[sntp_current_server].addr); in sntp_request()
620 err = dns_gethostbyname(sntp_servers[sntp_current_server].name, &sntp_server_address, in sntp_request()
627 sntp_servers[sntp_current_server].addr = sntp_server_address; in sntp_request()
[all …]