/php-src/main/streams/ |
H A D | xp_socket.c | 59 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 D | fpm_sockets.c | 33 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 D | multicast.c | 108 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 D | conversions.c | 77 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 D | sockets.c | 303 static int php_read(php_socket *sock, void *buf, size_t maxlen, int flags) 2839 PHP_SOCKET sock; local
|
/php-src/main/ |
H A D | network.c | 287 # 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 459 php_socket_t sock; in php_network_bind_socket_to_local_addr() local 706 PHPAPI int php_network_get_peer_name(php_socket_t sock, in php_network_get_peer_name() 726 PHPAPI int php_network_get_sock_name(php_socket_t sock, in php_network_get_sock_name() 822 php_socket_t sock; in php_network_connect_socket_to_host() local 1107 php_netstream_data_t *sock; in _php_stream_sock_open_from_socket() local
|
H A D | php_network.h | 279 #define php_connect_nonb(sock, addr, addrlen, timeout) \ argument
|
/php-src/Zend/ |
H A D | zend_portability.h | 502 #define ZEND_VALID_SOCKET(sock) (INVALID_SOCKET != (sock)) argument 504 #define ZEND_VALID_SOCKET(sock) ((sock) >= 0) argument
|
/php-src/ext/standard/ |
H A D | proc_open.c | 924 php_socket_t sock[2]; in set_proc_descriptor_to_socket() local
|
/php-src/ext/openssl/ |
H A D | xp_ssl.c | 2321 …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 D | php_cli_server.c | 174 php_socket_t sock; member
|