Home
last modified time | relevance | path

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

/Zephyr-latest/samples/net/cloud/aws_iot_mqtt/src/
Dmain.c55 static const char * const alpn_list[] = {"x-amzn-mqtt-ca"}; variable
272 tls_config->alpn_protocol_name_list = alpn_list; in aws_client_setup()
273 tls_config->alpn_protocol_name_count = ARRAY_SIZE(alpn_list); in aws_client_setup()
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_tls.c190 const char *alpn_list[ALPN_MAX_PROTOCOLS]; member
1407 if (ALPN_MAX_PROTOCOLS && context->options.alpn_list[0] != NULL) { in tls_mbedtls_init()
1409 context->options.alpn_list); in tls_mbedtls_init()
1628 if (alpn_cnt + 1 > ARRAY_SIZE(context->options.alpn_list)) { in tls_opt_alpn_list_set()
1632 memcpy(context->options.alpn_list, optval, optlen); in tls_opt_alpn_list_set()
1633 context->options.alpn_list[alpn_cnt] = NULL; in tls_opt_alpn_list_set()
1888 const char **alpn_list = context->options.alpn_list; in tls_opt_alpn_list_get() local
1901 while (alpn_list[i] != NULL) { in tls_opt_alpn_list_get()
1902 ret_list[i] = alpn_list[i]; in tls_opt_alpn_list_get()
/Zephyr-latest/subsys/net/lib/http/
Dhttp_server_core.c62 static const char *const alpn_list[] = {"h2", "http/1.1"}; variable
194 if (zsock_setsockopt(fd, SOL_TLS, TLS_ALPN_LIST, alpn_list, in http_server_init()
195 sizeof(alpn_list)) < 0) { in http_server_init()