Home
last modified time | relevance | path

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

/iperf/src/
H A Diperf_time.c41 struct timespec ts; in iperf_time_now() local
43 result = clock_gettime(CLOCK_MONOTONIC, &ts); in iperf_time_now()
45 time1->secs = (uint32_t) ts.tv_sec; in iperf_time_now()
46 time1->usecs = (uint32_t) ts.tv_nsec / 1000; in iperf_time_now()
H A Diperf_auth.c67 int check_authentication(const char *username, const char *password, const time_t ts, const char *f… in check_authentication() argument
70 if ( (utc_seconds - ts) > skew_threshold || (utc_seconds - ts) < -skew_threshold ) { in check_authentication()
311 …debug, const char *authtoken, EVP_PKEY *private_key, char **username, char **password, time_t *ts){ in decode_auth_setting() argument
350 *ts = (time_t)utc_seconds; in decode_auth_setting()
H A Diperf_auth.h39 …debug, const char *authtoken, EVP_PKEY *private_key, char **username, char **password, time_t *ts);
40 int check_authentication(const char *username, const char *password, const time_t ts, const char *f…
H A Diperf_api.c1986 time_t ts; in test_is_authorized() local
1987 …g(test->debug, test->settings->authtoken, test->server_rsa_private_key, &username, &password, &ts); in test_is_authorized()
1991 …int ret = check_authentication(username, password, ts, test->server_authorized_users, test->server… in test_is_authorized()
1994 iperf_printf(test, report_authentication_succeeded, username, ts); in test_is_authorized()
2001 iperf_printf(test, report_authentication_failed, username, ts); in test_is_authorized()