Lines Matching refs:socklen
201 socklen_t socklen; member
1283 …en_socket(const char *host, int *port, int socktype, int *af, socklen_t *socklen, zend_string **er… in php_network_listen_socket() argument
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()
2570 …etwork_listen_socket(host, &port, SOCK_STREAM, &server->address_family, &server->socklen, &errstr); in php_cli_server_ctor()
2713 socklen_t socklen = server->socklen; in php_cli_server_do_event_for_each_fd_callback() local
2714 struct sockaddr *sa = pemalloc(server->socklen, 1); in php_cli_server_do_event_for_each_fd_callback()
2715 client_sock = accept(server->server_sock, sa, &socklen); in php_cli_server_do_event_for_each_fd_callback()
2734 php_cli_server_client_ctor(client, server, client_sock, sa, socklen); in php_cli_server_do_event_for_each_fd_callback()