Searched refs:addr_len (Results 1 – 6 of 6) sorted by relevance
/PHP-8.3/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 342 int addr_len; in fpm_socket_af_inet_listening_socket() local 352 addr_len = strlen(addr); in fpm_socket_af_inet_listening_socket() 353 if (addr[0] == '[' && addr[addr_len - 1] == ']') { in fpm_socket_af_inet_listening_socket() 354 addr[addr_len - 1] = '\0'; in fpm_socket_af_inet_listening_socket()
|
/PHP-8.3/ext/sockets/ |
H A D | sockets.c | 1127 size_t addr_len; local 1183 if (addr_len >= sizeof(s_un.sun_path)) { 1189 memcpy(&s_un.sun_path, addr, addr_len); 1191 (socklen_t)(XtOffsetOf(struct sockaddr_un, sun_path) + addr_len)); 1235 size_t addr_len; local 1253 if (addr_len >= sizeof(sa->sun_path)) { 1257 memcpy(&sa->sun_path, addr, addr_len); 1260 offsetof(struct sockaddr_un, sun_path) + addr_len); 1515 size_t buf_len, addr_len; local 2191 socklen_t addr_len = sizeof(addr); local [all …]
|
/PHP-8.3/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() 1965 …_cli_server *server, php_socket_t client_sock, struct sockaddr *addr, socklen_t addr_len) /* {{{ */ in php_cli_server_client_ctor() argument 1970 client->addr_len = addr_len; in php_cli_server_client_ctor() 1975 php_network_populate_name_from_sockaddr(addr, addr_len, &tmp_addr, NULL, 0); in php_cli_server_client_ctor()
|
/PHP-8.3/ext/standard/ |
H A D | basic_functions.c | 602 size_t addr_len; in PHP_FUNCTION() local 610 Z_PARAM_STRING(addr, addr_len) in PHP_FUNCTION() 614 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) { in PHP_FUNCTION() 619 if (addr_len == 0 || (ip = inet_addr(addr)) == INADDR_NONE) { in PHP_FUNCTION() 623 if (addr_len == sizeof("255.255.255.255") - 1 && in PHP_FUNCTION()
|
H A D | dns.c | 150 size_t addr_len; in PHP_FUNCTION() local 154 Z_PARAM_PATH(addr, addr_len) in PHP_FUNCTION()
|
/PHP-8.3/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 45 milliseconds