Home
last modified time | relevance | path

Searched refs:num_alpn_protocols (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/tsi/
Dssl_transport_security.h123 const char** alpn_protocols, uint16_t num_alpn_protocols,
152 size_t num_alpn_protocols; member
169 num_alpn_protocols(0), in tsi_ssl_client_handshaker_options()
238 const char** alpn_protocols, uint16_t num_alpn_protocols,
253 uint16_t num_alpn_protocols, tsi_ssl_server_handshaker_factory** factory);
283 uint16_t num_alpn_protocols; member
300 num_alpn_protocols(0), in tsi_ssl_server_handshaker_options()
Dssl_transport_security.cc857 const char** alpn_protocols, uint16_t num_alpn_protocols, in build_alpn_protocol_name_list() argument
863 if (num_alpn_protocols == 0) return TSI_INVALID_ARGUMENT; in build_alpn_protocol_name_list()
864 for (i = 0; i < num_alpn_protocols; i++) { in build_alpn_protocol_name_list()
878 for (i = 0; i < num_alpn_protocols; i++) { in build_alpn_protocol_name_list()
1885 const char** alpn_protocols, uint16_t num_alpn_protocols, in tsi_create_ssl_client_handshaker_factory() argument
1892 options.num_alpn_protocols = num_alpn_protocols; in tsi_create_ssl_client_handshaker_factory()
1963 if (options->num_alpn_protocols != 0) { in tsi_create_ssl_client_handshaker_factory_with_options()
1965 options->alpn_protocols, options->num_alpn_protocols, in tsi_create_ssl_client_handshaker_factory_with_options()
2008 const char** alpn_protocols, uint16_t num_alpn_protocols, in tsi_create_ssl_server_handshaker_factory() argument
2014 cipher_suites, alpn_protocols, num_alpn_protocols, factory); in tsi_create_ssl_server_handshaker_factory()
[all …]
/external/grpc-grpc/src/core/tsi/
Dssl_transport_security.h111 const char** alpn_protocols, uint16_t num_alpn_protocols,
140 size_t num_alpn_protocols; member
207 const char** alpn_protocols, uint16_t num_alpn_protocols,
222 uint16_t num_alpn_protocols, tsi_ssl_server_handshaker_factory** factory);
252 uint16_t num_alpn_protocols; member
Dssl_transport_security.cc719 const char** alpn_protocols, uint16_t num_alpn_protocols, in build_alpn_protocol_name_list() argument
725 if (num_alpn_protocols == 0) return TSI_INVALID_ARGUMENT; in build_alpn_protocol_name_list()
726 for (i = 0; i < num_alpn_protocols; i++) { in build_alpn_protocol_name_list()
740 for (i = 0; i < num_alpn_protocols; i++) { in build_alpn_protocol_name_list()
1624 const char** alpn_protocols, uint16_t num_alpn_protocols, in tsi_create_ssl_client_handshaker_factory() argument
1632 options.num_alpn_protocols = num_alpn_protocols; in tsi_create_ssl_client_handshaker_factory()
1696 if (options->num_alpn_protocols != 0) { in tsi_create_ssl_client_handshaker_factory_with_options()
1698 options->alpn_protocols, options->num_alpn_protocols, in tsi_create_ssl_client_handshaker_factory_with_options()
1737 const char** alpn_protocols, uint16_t num_alpn_protocols, in tsi_create_ssl_server_handshaker_factory() argument
1743 cipher_suites, alpn_protocols, num_alpn_protocols, factory); in tsi_create_ssl_server_handshaker_factory()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/ssl/
Dssl_security_connector.cc103 grpc_fill_alpn_protocol_strings(&options.num_alpn_protocols); in InitializeHandshakerFactory()
238 size_t num_alpn_protocols = 0; in InitializeHandshakerFactory() local
240 grpc_fill_alpn_protocol_strings(&num_alpn_protocols); in InitializeHandshakerFactory()
253 options.num_alpn_protocols = static_cast<uint16_t>(num_alpn_protocols); in InitializeHandshakerFactory()
348 size_t num_alpn_protocols = 0; in try_replace_server_handshaker_factory() local
350 grpc_fill_alpn_protocol_strings(&num_alpn_protocols); in try_replace_server_handshaker_factory()
365 options.num_alpn_protocols = static_cast<uint16_t>(num_alpn_protocols); in try_replace_server_handshaker_factory()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/
Dssl_utils.cc203 const char** grpc_fill_alpn_protocol_strings(size_t* num_alpn_protocols) { in grpc_fill_alpn_protocol_strings() argument
204 GPR_ASSERT(num_alpn_protocols != nullptr); in grpc_fill_alpn_protocol_strings()
205 *num_alpn_protocols = grpc_chttp2_num_alpn_versions(); in grpc_fill_alpn_protocol_strings()
207 gpr_malloc(sizeof(const char*) * (*num_alpn_protocols))); in grpc_fill_alpn_protocol_strings()
208 for (size_t i = 0; i < *num_alpn_protocols; i++) { in grpc_fill_alpn_protocol_strings()
417 grpc_fill_alpn_protocol_strings(&options.num_alpn_protocols); in grpc_ssl_tsi_client_handshaker_factory_init()
445 size_t num_alpn_protocols = 0; in grpc_ssl_tsi_server_handshaker_factory_init() local
447 grpc_fill_alpn_protocol_strings(&num_alpn_protocols); in grpc_ssl_tsi_server_handshaker_factory_init()
456 options.num_alpn_protocols = static_cast<uint16_t>(num_alpn_protocols); in grpc_ssl_tsi_server_handshaker_factory_init()
Dssl_utils.h87 const char** grpc_fill_alpn_protocol_strings(size_t* num_alpn_protocols);
/external/grpc-grpc/src/core/lib/security/security_connector/
Dsecurity_connector.cc692 static const char** fill_alpn_protocol_strings(size_t* num_alpn_protocols) { argument
693 GPR_ASSERT(num_alpn_protocols != nullptr);
694 *num_alpn_protocols = grpc_chttp2_num_alpn_versions();
696 gpr_malloc(sizeof(const char*) * (*num_alpn_protocols)));
697 for (size_t i = 0; i < *num_alpn_protocols; i++) {
718 size_t num_alpn_protocols = 0; local
720 fill_alpn_protocol_strings(&num_alpn_protocols);
731 static_cast<uint16_t>(num_alpn_protocols), &new_handshaker_factory);
1051 fill_alpn_protocol_strings(&options.num_alpn_protocols);
1146 size_t num_alpn_protocols = 0; local
[all …]
/external/grpc-grpc/test/core/tsi/
Dssl_transport_security_test.cc122 client_options.num_alpn_protocols = alpn_lib->num_client_alpn_protocols; in ssl_test_setup_handshakers()
139 server_options.num_alpn_protocols = alpn_lib->num_server_alpn_protocols; in ssl_test_setup_handshakers()
141 server_options.num_alpn_protocols--; in ssl_test_setup_handshakers()