Home
last modified time | relevance | path

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

/PHP-8.0/main/streams/
H A Dxp_socket.c892 PHPAPI php_stream *php_stream_generic_socket_factory(const char *proto, size_t protolen, in php_stream_generic_socket_factory() argument
903 if (strncmp(proto, "tcp", protolen) == 0) { in php_stream_generic_socket_factory()
905 } else if (strncmp(proto, "udp", protolen) == 0) { in php_stream_generic_socket_factory()
909 else if (strncmp(proto, "unix", protolen) == 0) { in php_stream_generic_socket_factory()
911 } else if (strncmp(proto, "udg", protolen) == 0) { in php_stream_generic_socket_factory()
H A Dphp_stream_transport.h26 typedef php_stream *(php_stream_transport_factory_func)(const char *proto, size_t protolen,
/PHP-8.0/ext/openssl/
H A Dxp_ssl.c2603 php_stream *php_openssl_ssl_socket_factory(const char *proto, size_t protolen, in php_openssl_ssl_socket_factory() argument
2642 if (strncmp(proto, "ssl", protolen) == 0) { in php_openssl_ssl_socket_factory()
2645 } else if (strncmp(proto, "sslv2", protolen) == 0) { in php_openssl_ssl_socket_factory()
2649 } else if (strncmp(proto, "sslv3", protolen) == 0) { in php_openssl_ssl_socket_factory()
2659 } else if (strncmp(proto, "tls", protolen) == 0) { in php_openssl_ssl_socket_factory()
2662 } else if (strncmp(proto, "tlsv1.0", protolen) == 0) { in php_openssl_ssl_socket_factory()
2665 } else if (strncmp(proto, "tlsv1.1", protolen) == 0) { in php_openssl_ssl_socket_factory()
2675 } else if (strncmp(proto, "tlsv1.2", protolen) == 0) { in php_openssl_ssl_socket_factory()
2685 } else if (strncmp(proto, "tlsv1.3", protolen) == 0) { in php_openssl_ssl_socket_factory()

Completed in 21 milliseconds