Lines Matching refs:socklen
195 socklen_t socklen; member
1272 …en_socket(const char *host, int *port, int socktype, int *af, socklen_t *socklen, zend_string **er… in php_network_listen_socket() argument
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()
2591 if (FAILURE == php_cli_server_client_ctor(client, server, client_sock, sa, socklen)) { in php_cli_server_do_event_for_each_fd_callback()