Lines Matching refs:socklen
192 socklen_t socklen; member
1157 …en_socket(const char *host, int *port, int socktype, int *af, socklen_t *socklen, char **errstr TS… in php_network_listen_socket() argument
1190 *socklen = sizeof(struct sockaddr_in6); in php_network_listen_socket()
1203 *socklen = sizeof(struct sockaddr_in); in php_network_listen_socket()
1207 *socklen = 0; in php_network_listen_socket()
1219 if (bind(retval, sa, *socklen) == SOCK_CONN_ERR) { in php_network_listen_socket()
1232 if (getsockname(retval, sa, socklen)) { in php_network_listen_socket()
2156 …isten_socket(host, &port, SOCK_STREAM, &server->address_family, &server->socklen, &errstr TSRMLS_C… in php_cli_server_ctor()
2291 socklen_t socklen = server->socklen; in php_cli_server_do_event_for_each_fd_callback() local
2292 struct sockaddr *sa = pemalloc(server->socklen, 1); in php_cli_server_do_event_for_each_fd_callback()
2296 client_sock = accept(server->server_sock, sa, &socklen); in php_cli_server_do_event_for_each_fd_callback()
2310 …1)) || FAILURE == php_cli_server_client_ctor(client, server, client_sock, sa, socklen TSRMLS_CC)) { in php_cli_server_do_event_for_each_fd_callback()