Searched refs:addr_str (Results 1 – 3 of 3) sorted by relevance
/PHP-8.1/ext/sockets/ |
H A D | multicast.c | 702 char addr_str[17] = {0}; in php_add4_to_if_index() local 703 inet_ntop(AF_INET, addr, addr_str, sizeof(addr_str)); in php_add4_to_if_index() 705 "The interface with IP address %s was not found", addr_str); in php_add4_to_if_index() 830 char addr_str[17] = {0}; local 831 inet_ntop(AF_INET, addr, addr_str, sizeof(addr_str)); 833 "The interface with IP address %s was not found", addr_str);
|
H A D | conversions.c | 547 zend_string *addr_str, *tmp_addr_str; in from_zval_write_sin_addr() local 549 addr_str = zval_get_tmp_string((zval *) zaddr_str, &tmp_addr_str); in from_zval_write_sin_addr() 550 res = php_set_inet_addr(&saddr, ZSTR_VAL(addr_str), ctx->sock); in from_zval_write_sin_addr() 556 "address", ZSTR_VAL(addr_str)); in from_zval_write_sin_addr() 597 zend_string *addr_str, *tmp_addr_str; in from_zval_write_sin6_addr() local 599 addr_str = zval_get_tmp_string((zval *) zaddr_str, &tmp_addr_str); in from_zval_write_sin6_addr() 600 res = php_set_inet6_addr(&saddr6, ZSTR_VAL(addr_str), ctx->sock); in from_zval_write_sin6_addr()
|
/PHP-8.1/sapi/cli/ |
H A D | php_cli_server.c | 167 char *addr_str; member 658 if ((tmp = strrchr(client->addr_str, ':'))) { in sapi_cli_server_register_variables() 660 const char *addr_start = client->addr_str, *addr_end = tmp; in sapi_cli_server_register_variables() 1904 zend_string *addr_str = 0; in php_cli_server_client_ctor() local 1906 php_network_populate_name_from_sockaddr(addr, addr_len, &addr_str, NULL, 0); in php_cli_server_client_ctor() 1907 client->addr_str = pestrndup(ZSTR_VAL(addr_str), ZSTR_LEN(addr_str), 1); in php_cli_server_client_ctor() 1908 client->addr_str_len = ZSTR_LEN(addr_str); in php_cli_server_client_ctor() 1909 zend_string_release_ex(addr_str, 0); in php_cli_server_client_ctor() 1938 pefree(client->addr_str, 1); in php_cli_server_client_dtor() 1946 php_cli_server_logf(PHP_CLI_SERVER_LOG_MESSAGE, "%s Closing", client->addr_str); in php_cli_server_close_connection() [all …]
|
Completed in 18 milliseconds