Searched refs:server_name (Results 1 – 6 of 6) sorted by relevance
/AliOS-Things-master/components/sntp/src/ |
A D | sntp.c | 214 char *server_name = NULL; in sntp_query_server() local 225 if (arg && arg->server_name) { in sntp_query_server() 226 server_name = arg->server_name; in sntp_query_server() 233 server_name = NULL; in sntp_query_server() 238 server_name = SNTP_SERVER_ADDRESS; in sntp_query_server() 241 if (server_name) { in sntp_query_server() 242 host = gethostbyname(server_name); in sntp_query_server() 244 SNTP_ERROR("invalid address parameter '%s'",server_name); in sntp_query_server() 280 SNTP_DEBUG("server name:%s", server_name ? server_name : "NULL"); in sntp_query_server() 311 if (server_name == NULL) { in sntp_query_server() [all …]
|
/AliOS-Things-master/components/sntp/include/sntp/ |
A D | sntp.h | 58 char *server_name; /* remote server name, if this is not NULL, this will be preferred. */ member 78 int sntp_set_server(uint8_t idx, char *server_name);
|
/AliOS-Things-master/components/mbedtls/programs/x509/ |
A D | cert_app.c | 125 const char *server_name; /* hostname of the server (client only) */ member 207 opt.server_name = DFL_SERVER_NAME; in main() 243 opt.server_name = q; in main() 404 mbedtls_printf( " . SSL connection to tcp/%s/%s...", opt.server_name, in main() 408 if( ( ret = mbedtls_net_connect( &server_fd, opt.server_name, in main() 445 if( ( ret = mbedtls_ssl_set_hostname( &ssl, opt.server_name ) ) != 0 ) in main()
|
/AliOS-Things-master/components/mbedtls/programs/ssl/ |
A D | ssl_mail_client.c | 162 const char *server_name; /* hostname of the server (client only) */ member 424 opt.server_name = DFL_SERVER_NAME; in main() 446 opt.server_name = q; in main() 594 mbedtls_printf( " . Connecting to tcp/%s/%s...", opt.server_name, in main() 598 if( ( ret = mbedtls_net_connect( &server_fd, opt.server_name, in main() 645 if( ( ret = mbedtls_ssl_set_hostname( &ssl, opt.server_name ) ) != 0 ) in main()
|
A D | ssl_client2.c | 337 const char *server_name; /* hostname of the server (client only) */ member 613 opt.server_name = DFL_SERVER_NAME; in main() 668 opt.server_name = q; in main() 1316 opt.server_addr = opt.server_name; in main() 1515 if( ( ret = mbedtls_ssl_set_hostname( &ssl, opt.server_name ) ) != 0 ) in main()
|
/AliOS-Things-master/components/mbedtls/ |
A D | ChangeLog | 2177 * Ability to disable server_name extension (RFC 6066)
|
Completed in 14 milliseconds