Searched refs:socklen (Results 1 – 4 of 4) sorted by relevance
/PHP-7.4/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 192 …kets_new_listening_socket(struct fpm_worker_pool_s *wp, struct sockaddr *sa, int socklen) /* {{{ */ in fpm_sockets_new_listening_socket() argument 210 if (fpm_socket_unix_test_connect((struct sockaddr_un *)sa, socklen) == 0) { in fpm_sockets_new_listening_socket() 219 if (0 > bind(sock, sa, socklen)) { in fpm_sockets_new_listening_socket() 249 …kets_get_listening_socket(struct fpm_worker_pool_s *wp, struct sockaddr *sa, int socklen) /* {{{ */ in fpm_sockets_get_listening_socket() argument 258 sock = fpm_sockets_new_listening_socket(wp, sa, socklen); in fpm_sockets_get_listening_socket() 565 int fpm_socket_unix_test_connect(struct sockaddr_un *sock, size_t socklen) /* {{{ */ in fpm_socket_unix_test_connect() argument 577 if (connect(fd, (struct sockaddr *)sock, socklen) == -1) { in fpm_socket_unix_test_connect()
|
H A D | fpm_sockets.h | 29 int fpm_socket_unix_test_connect(struct sockaddr_un *sock, size_t socklen);
|
/PHP-7.4/main/ |
H A D | network.c | 420 socklen_t socklen; local 445 socklen = sizeof(struct sockaddr_in6); 451 socklen = sizeof(struct sockaddr_in); 455 socklen = 0; 487 n = bind(sock, sa, socklen); 792 socklen_t socklen; local 833 socklen = sizeof(struct sockaddr_in6); 835 socklen = 0; 843 socklen = sizeof(struct sockaddr_in); 847 socklen = 0; [all …]
|
/PHP-7.4/sapi/cli/ |
H A D | php_cli_server.c | 195 socklen_t socklen; member 1299 *socklen = sizeof(struct sockaddr_in6); in php_network_listen_socket() 1306 *socklen = sizeof(struct sockaddr_in); in php_network_listen_socket() 1310 *socklen = 0; in php_network_listen_socket() 1329 if (bind(retval, sa, *socklen) == SOCK_CONN_ERR) { in php_network_listen_socket() 1342 if (getsockname(retval, sa, socklen)) { in php_network_listen_socket() 2429 …etwork_listen_socket(host, &port, SOCK_STREAM, &server->address_family, &server->socklen, &errstr); in php_cli_server_ctor() 2572 socklen_t socklen = server->socklen; in php_cli_server_do_event_for_each_fd_callback() local 2573 struct sockaddr *sa = pemalloc(server->socklen, 1); in php_cli_server_do_event_for_each_fd_callback() 2574 client_sock = accept(server->server_sock, sa, &socklen); in php_cli_server_do_event_for_each_fd_callback() [all …]
|
Completed in 18 milliseconds