Searched refs:socklen (Results 1 – 4 of 4) sorted by relevance
/PHP-8.3/sapi/fpm/fpm/ |
H A D | fpm_sockets.h | 32 int fpm_socket_unix_test_connect(struct sockaddr_un *sock, size_t socklen);
|
H A D | fpm_sockets.c | 204 …kets_new_listening_socket(struct fpm_worker_pool_s *wp, struct sockaddr *sa, int socklen) /* {{{ */ in fpm_sockets_new_listening_socket() argument 222 if (fpm_socket_unix_test_connect((struct sockaddr_un *)sa, socklen) == 0) { in fpm_sockets_new_listening_socket() 231 if (0 > bind(sock, sa, socklen)) { in fpm_sockets_new_listening_socket() 275 …kets_get_listening_socket(struct fpm_worker_pool_s *wp, struct sockaddr *sa, int socklen) /* {{{ */ in fpm_sockets_get_listening_socket() argument 284 sock = fpm_sockets_new_listening_socket(wp, sa, socklen); in fpm_sockets_get_listening_socket() 651 int fpm_socket_unix_test_connect(struct sockaddr_un *sock, size_t socklen) /* {{{ */ in fpm_socket_unix_test_connect() argument 663 if (connect(fd, (struct sockaddr *)sock, socklen) == -1) { in fpm_socket_unix_test_connect()
|
/PHP-8.3/main/ |
H A D | network.c | 422 socklen_t socklen; local 439 socklen = sizeof(struct sockaddr_in6); 444 socklen = sizeof(struct sockaddr_in); 485 n = bind(sock, sa, socklen); 797 socklen_t socklen; local 830 socklen = sizeof(struct sockaddr_in6); 839 socklen = sizeof(struct sockaddr_in); 924 n = php_network_connect_socket(sock, sa, socklen, asynchronous,
|
/PHP-8.3/sapi/cli/ |
H A D | php_cli_server.c | 201 socklen_t socklen; member 1310 *socklen = sizeof(struct sockaddr_in6); in php_network_listen_socket() 1317 *socklen = sizeof(struct sockaddr_in); in php_network_listen_socket() 1321 *socklen = 0; in php_network_listen_socket() 1333 if (bind(retval, sa, *socklen) == SOCK_CONN_ERR) { in php_network_listen_socket() 1346 if (getsockname(retval, sa, socklen)) { in php_network_listen_socket() 2571 …etwork_listen_socket(host, &port, SOCK_STREAM, &server->address_family, &server->socklen, &errstr); in php_cli_server_ctor() 2714 socklen_t socklen = server->socklen; in php_cli_server_do_event_for_each_fd_callback() local 2715 struct sockaddr *sa = pemalloc(server->socklen, 1); in php_cli_server_do_event_for_each_fd_callback() 2716 client_sock = accept(server->server_sock, sa, &socklen); in php_cli_server_do_event_for_each_fd_callback() [all …]
|
Completed in 20 milliseconds