Searched refs:clisockdata (Results 1 – 2 of 2) sorted by relevance
/PHP-7.3/main/streams/ |
H A D | xp_socket.c | 833 php_netstream_data_t *clisockdata = (php_netstream_data_t*) emalloc(sizeof(*clisockdata)); in php_tcp_sockop_accept() local 835 memcpy(clisockdata, sock, sizeof(*clisockdata)); in php_tcp_sockop_accept() 836 clisockdata->socket = clisock; in php_tcp_sockop_accept() 838 xparam->outputs.client = php_stream_alloc_rel(stream->ops, clisockdata, NULL, "r+"); in php_tcp_sockop_accept()
|
/PHP-7.3/ext/openssl/ |
H A D | xp_ssl.c | 2343 …php_openssl_netstream_data_t *clisockdata = (php_openssl_netstream_data_t*) emalloc(sizeof(*clisoc… in php_openssl_tcp_sockop_accept() local 2346 memset(clisockdata, 0, sizeof(*clisockdata)); in php_openssl_tcp_sockop_accept() 2347 memcpy(clisockdata, sock, sizeof(clisockdata->s)); in php_openssl_tcp_sockop_accept() 2349 clisockdata->s.socket = clisock; in php_openssl_tcp_sockop_accept() 2351 xparam->outputs.client = php_stream_alloc_rel(stream->ops, clisockdata, NULL, "r+"); in php_openssl_tcp_sockop_accept() 2365 clisockdata->method = sock->method; in php_openssl_tcp_sockop_accept() 2367 if (php_stream_xport_crypto_setup(xparam->outputs.client, clisockdata->method, in php_openssl_tcp_sockop_accept()
|
Completed in 17 milliseconds