Home
last modified time | relevance | path

Searched refs:clisockdata (Results 1 – 2 of 2) sorted by relevance

/PHP-8.2/main/streams/
H A Dxp_socket.c853 php_netstream_data_t *clisockdata = (php_netstream_data_t*) emalloc(sizeof(*clisockdata)); in php_tcp_sockop_accept() local
855 memcpy(clisockdata, sock, sizeof(*clisockdata)); in php_tcp_sockop_accept()
856 clisockdata->socket = clisock; in php_tcp_sockop_accept()
859 clisockdata->is_blocked = 1; in php_tcp_sockop_accept()
862 xparam->outputs.client = php_stream_alloc_rel(stream->ops, clisockdata, NULL, "r+"); in php_tcp_sockop_accept()
/PHP-8.2/ext/openssl/
H A Dxp_ssl.c2350 …php_openssl_netstream_data_t *clisockdata = (php_openssl_netstream_data_t*) emalloc(sizeof(*clisoc… in php_openssl_tcp_sockop_accept() local
2353 memset(clisockdata, 0, sizeof(*clisockdata)); in php_openssl_tcp_sockop_accept()
2354 memcpy(clisockdata, sock, sizeof(clisockdata->s)); in php_openssl_tcp_sockop_accept()
2356 clisockdata->s.socket = clisock; in php_openssl_tcp_sockop_accept()
2359 clisockdata->s.is_blocked = 1; in php_openssl_tcp_sockop_accept()
2362 xparam->outputs.client = php_stream_alloc_rel(stream->ops, clisockdata, NULL, "r+"); in php_openssl_tcp_sockop_accept()
2374 clisockdata->method = sock->method; in php_openssl_tcp_sockop_accept()
2376 if (php_stream_xport_crypto_setup(xparam->outputs.client, clisockdata->method, in php_openssl_tcp_sockop_accept()

Completed in 18 milliseconds