Home
last modified time | relevance | path

Searched refs:addr_str (Results 1 – 3 of 3) sorted by relevance

/PHP-8.2/ext/sockets/
H A Dmulticast.c702 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 Dconversions.c547 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.2/sapi/cli/
H A Dphp_cli_server.c168 zend_string *addr_str; member
683 if ((tmp = strrchr(ZSTR_VAL(client->addr_str), ':'))) { in sapi_cli_server_register_variables()
685 const char *addr_start = ZSTR_VAL(client->addr_str), *addr_end = tmp; in sapi_cli_server_register_variables()
701 "REMOTE_ADDR", strlen("REMOTE_ADDR"), client->addr_str); in sapi_cli_server_register_variables()
1210 spprintf(&basic_buf, 0, "%s [%d]: %s %s", ZSTR_VAL(client->addr_str), status, in php_cli_server_log_response()
1966 client->addr_str = zend_string_dup(tmp_addr, /* persistent */ true); in php_cli_server_client_ctor()
1967 GC_MAKE_PERSISTENT_LOCAL(client->addr_str); in php_cli_server_client_ctor()
1993 zend_string_release_ex(client->addr_str, /* persistent */ true); in php_cli_server_client_dtor()
2005 php_cli_server_logf(PHP_CLI_SERVER_LOG_MESSAGE, "%s Closing", ZSTR_VAL(client->addr_str)); in php_cli_server_close_connection()
2621 …rver_logf(PHP_CLI_SERVER_LOG_ERROR, "%s Invalid request (%s)", ZSTR_VAL(client->addr_str), errstr); in php_cli_server_recv_event_read_request()
[all …]

Completed in 23 milliseconds