Searched refs:addr_len (Results 1 – 6 of 6) sorted by relevance
/php-src/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 343 int addr_len; in fpm_socket_af_inet_listening_socket() local 353 addr_len = strlen(addr); in fpm_socket_af_inet_listening_socket() 354 if (addr[0] == '[' && addr[addr_len - 1] == ']') { in fpm_socket_af_inet_listening_socket() 355 addr[addr_len - 1] = '\0'; in fpm_socket_af_inet_listening_socket()
|
/php-src/ext/sockets/ |
H A D | sockets.c | 1161 size_t addr_len; local 1167 Z_PARAM_STRING(addr, addr_len) 1220 if (addr_len >= sizeof(s_un.sun_path)) { 1226 memcpy(&s_un.sun_path, addr, addr_len); 1272 size_t addr_len; local 1278 Z_PARAM_STRING(addr, addr_len) 1293 if (addr_len >= sizeof(sa->sun_path)) { 1297 memcpy(&sa->sun_path, addr, addr_len); 1561 size_t buf_len, addr_len; local 1571 Z_PARAM_STRING(addr, addr_len) [all …]
|
/php-src/sapi/cli/ |
H A D | php_cli_server.c | 176 socklen_t addr_len; member 700 size_t addr_len = addr_end - addr_start; in sapi_cli_server_register_variables() local 701 strncpy(addr, addr_start, addr_len); in sapi_cli_server_register_variables() 702 addr[addr_len] = '\0'; in sapi_cli_server_register_variables() 703 ZEND_ASSERT(addr_len == strlen(addr)); in sapi_cli_server_register_variables() 705 "REMOTE_ADDR", strlen("REMOTE_ADDR"), addr, addr_len); in sapi_cli_server_register_variables() 1959 …_cli_server *server, php_socket_t client_sock, struct sockaddr *addr, socklen_t addr_len) /* {{{ */ in php_cli_server_client_ctor() argument 1964 client->addr_len = addr_len; in php_cli_server_client_ctor() 1969 php_network_populate_name_from_sockaddr(addr, addr_len, &tmp_addr, NULL, 0); in php_cli_server_client_ctor()
|
/php-src/ext/standard/ |
H A D | dns.c | 149 size_t addr_len; in PHP_FUNCTION() local 153 Z_PARAM_PATH(addr, addr_len) in PHP_FUNCTION()
|
H A D | basic_functions.c | 606 size_t addr_len; in PHP_FUNCTION() local 610 Z_PARAM_STRING(addr, addr_len) in PHP_FUNCTION() 613 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) { in PHP_FUNCTION()
|
/php-src/sapi/litespeed/ |
H A D | lsapilib.c | 2590 int addr_len; in LSAPI_CreateListenSock2() local 2595 addr_len = 16; in LSAPI_CreateListenSock2() 2598 addr_len = sizeof( struct sockaddr_in6 ); in LSAPI_CreateListenSock2() 2601 addr_len = sizeof( struct sockaddr_un ); in LSAPI_CreateListenSock2() 2617 ret = bind( fd, pServerAddr, addr_len ); in LSAPI_CreateListenSock2()
|
Completed in 48 milliseconds