Searched refs:is_server (Results 1 – 4 of 4) sorted by relevance
50 bool is_server; member
48 return eswifi_at_cmd(eswifi, socket->is_server ? cmd_srv : cmd_cli); in __stop_socket()279 socket->is_server = true; in __eswifi_listen()
59 socket->is_server = true; in eswifi_off_listen()
1288 static int tls_mbedtls_init(struct tls_context *context, bool is_server) in tls_mbedtls_init() argument1292 role = is_server ? MBEDTLS_SSL_IS_SERVER : MBEDTLS_SSL_IS_CLIENT; in tls_mbedtls_init()1377 if (!is_server && !context->options.is_hostname_set) { in tls_mbedtls_init()1417 if (is_server && context->options.cache_enabled) { in tls_mbedtls_init()3065 bool is_server = ctx->options.role == MBEDTLS_SSL_IS_SERVER; in ztls_socket_data_check() local3067 ret = tls_mbedtls_init(ctx, is_server); in ztls_socket_data_check()