Searched refs:use_service_port (Results 1 - 2 of 2) sorted by relevance

/macosx-10.10.1/ntp-92/libsntp/
H A Dlibsntp.h126 sntp_query(char *host, bool use_service_port, sntp_query_result_handler_t result_handler);
141 * @param use_service_port
163 sntp_query_extended(const char *hostname, const char *servname, bool use_service_port, int attempts, struct timeval attempt_timeout, sntp_query_extended_result_handler_t result_handler);
H A Dlibsntp_query.c27 sntp_query_result_t on_wire (struct addrinfo *host, bool use_service_port, int numTries, struct timeval timeout, /* out */ uint64_t *out_mach_time, /* out */ struct timeval *out_time, /* out */ double *out_delay, /* out */ double *out_dispersion, int *retry_attempts);
32 sntp_query(char *host, bool use_service_port, sntp_query_result_handler_t result_handler) argument
35 return sntp_query_extended(host, "123", use_service_port, 5, attempt_timeout, ^(sntp_query_result_t query_result, uint64_t mach_timestamp, struct timeval time, double delay, double dispersion, bool more_servers, const char *ip_addr, const char *port, int retry_attempts){
41 sntp_query_extended(const char *host, const char *servname, bool use_service_port, int attempts, struct timeval attempt_timeout, sntp_query_extended_result_handler_t result_handler)
65 sntp_query_result_t this_result = on_wire(ai, use_service_port, attempts, attempt_timeout, &mach_timestamp, &time_estimate, &delay, &dispersion, &retry_attempts);
99 bool use_service_port,
131 if (use_service_port) {

Completed in 71 milliseconds