Home
last modified time | relevance | path

Searched defs:sock (Results 1 – 11 of 11) sorted by relevance

/php-src/main/streams/
H A Dxp_socket.c59 php_netstream_data_t *sock = (php_netstream_data_t*)stream->abstract; in php_sockop_write() local
161 php_netstream_data_t *sock = (php_netstream_data_t*)stream->abstract; in php_sockop_read() local
214 php_netstream_data_t *sock = (php_netstream_data_t*)stream->abstract; in php_sockop_close() local
292 static inline int sock_recvfrom(php_netstream_data_t *sock, char *buf, size_t buflen, int flags, in sock_recvfrom()
334 php_netstream_data_t *sock = (php_netstream_data_t*)stream->abstract; in php_sockop_set_option() local
499 php_netstream_data_t *sock = (php_netstream_data_t*)stream->abstract; in php_sockop_cast() local
662 static inline int php_tcp_sockop_bind(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_bind()
741 static inline int php_tcp_sockop_connect(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_connect()
854 static inline int php_tcp_sockop_accept(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_accept()
902 php_netstream_data_t *sock = (php_netstream_data_t*)stream->abstract; in php_tcp_sockop_set_option() local
[all …]
/php-src/sapi/fpm/fpm/
H A Dfpm_sockets.c33 int sock; member
139 static int fpm_sockets_hash_op(int sock, struct sockaddr *sa, char *key, int type, int op) /* {{{ */ in fpm_sockets_hash_op()
208 int sock; in fpm_sockets_new_listening_socket() local
278 int sock; in fpm_sockets_get_listening_socket() local
310 int sock = -1; in fpm_socket_af_inet_socket_by_addr() local
345 int sock = -1; in fpm_socket_af_inet_listening_socket() local
550 int fpm_socket_get_listening_queue(int sock, unsigned *cur_lq, unsigned *max_lq) in fpm_socket_get_listening_queue()
593 int fpm_socket_get_listening_queue(int sock, unsigned *cur_lq, unsigned *max_lq) in fpm_socket_get_listening_queue()
616 int fpm_socket_get_listening_queue(int sock, unsigned *cur_lq, unsigned *max_lq) in fpm_socket_get_listening_queue()
644 int fpm_socket_get_listening_queue(int sock, unsigned *cur_lq, unsigned *max_lq) in fpm_socket_get_listening_queue()
[all …]
/php-src/ext/sockets/
H A Dmulticast.c108 php_socket *sock, unsigned int *if_index) in php_get_if_index_from_array()
121 php_socket *sock, php_sockaddr_storage *ss, socklen_t *ss_len) in php_get_address_from_array()
369 php_socket *sock, in php_mcast_join()
379 php_socket *sock, in php_mcast_leave()
390 php_socket *sock, in php_mcast_join_source()
402 php_socket *sock, in php_mcast_leave_source()
414 php_socket *sock, in php_mcast_block_source()
426 php_socket *sock, in php_mcast_unblock_source()
440 php_socket *sock, in _php_mcast_join_leave()
503 php_socket *sock, in _php_mcast_source_op()
H A Dconversions.c77 php_socket *sock; member
1382 php_socket *sock = Z_SOCKET_P(elem); in from_zval_write_fd_array_aux() local
1458 php_socket *sock = Z_SOCKET_P(&elem); in to_zval_read_fd_array() local
1477 php_socket *sock, in from_zval_run_conversions()
H A Dsockets.c303 static int php_read(php_socket *sock, void *buf, size_t maxlen, int flags)
2793 PHP_SOCKET sock; local
/php-src/main/
H A Dnetwork.c287 # define SET_SOCKET_BLOCKING_MODE(sock, save) \ argument
289 # define RESTORE_SOCKET_BLOCKING_MODE(sock, save) \ argument
293 # define SET_SOCKET_BLOCKING_MODE(sock, save) \ argument
296 # define RESTORE_SOCKET_BLOCKING_MODE(sock, save) \ argument
418 php_socket_t sock; local
665 PHPAPI int php_network_get_peer_name(php_socket_t sock,
685 PHPAPI int php_network_get_sock_name(php_socket_t sock,
782 php_socket_t sock; local
1073 php_netstream_data_t *sock; local
H A Dphp_network.h279 #define php_connect_nonb(sock, addr, addrlen, timeout) \ argument
/php-src/Zend/
H A Dzend_portability.h504 #define ZEND_VALID_SOCKET(sock) (INVALID_SOCKET != (sock)) argument
506 #define ZEND_VALID_SOCKET(sock) ((sock) >= 0) argument
/php-src/ext/standard/
H A Dproc_open.c869 php_socket_t sock[2]; in set_proc_descriptor_to_socket() local
/php-src/ext/openssl/
H A Dxp_ssl.c2321 …ic inline int php_openssl_tcp_sockop_accept(php_stream *stream, php_openssl_netstream_data_t *sock, in php_openssl_tcp_sockop_accept()
/php-src/sapi/cli/
H A Dphp_cli_server.c174 php_socket_t sock; member

Completed in 58 milliseconds