Searched refs:protolen (Results 1 – 3 of 3) sorted by relevance
/PHP-7.3/main/streams/ |
H A D | xp_socket.c | 882 PHPAPI php_stream *php_stream_generic_socket_factory(const char *proto, size_t protolen, in php_stream_generic_socket_factory() argument 893 if (strncmp(proto, "tcp", protolen) == 0) { in php_stream_generic_socket_factory() 895 } else if (strncmp(proto, "udp", protolen) == 0) { in php_stream_generic_socket_factory() 899 else if (strncmp(proto, "unix", protolen) == 0) { in php_stream_generic_socket_factory() 901 } else if (strncmp(proto, "udg", protolen) == 0) { in php_stream_generic_socket_factory()
|
H A D | php_stream_transport.h | 28 typedef php_stream *(php_stream_transport_factory_func)(const char *proto, size_t protolen,
|
/PHP-7.3/ext/openssl/ |
H A D | xp_ssl.c | 2658 php_stream *php_openssl_ssl_socket_factory(const char *proto, size_t protolen, in php_openssl_ssl_socket_factory() argument 2697 if (strncmp(proto, "ssl", protolen) == 0) { in php_openssl_ssl_socket_factory() 2700 } else if (strncmp(proto, "sslv2", protolen) == 0) { in php_openssl_ssl_socket_factory() 2704 } else if (strncmp(proto, "sslv3", protolen) == 0) { in php_openssl_ssl_socket_factory() 2714 } else if (strncmp(proto, "tls", protolen) == 0) { in php_openssl_ssl_socket_factory() 2717 } else if (strncmp(proto, "tlsv1.0", protolen) == 0) { in php_openssl_ssl_socket_factory() 2720 } else if (strncmp(proto, "tlsv1.1", protolen) == 0) { in php_openssl_ssl_socket_factory() 2730 } else if (strncmp(proto, "tlsv1.2", protolen) == 0) { in php_openssl_ssl_socket_factory()
|
Completed in 20 milliseconds