Home
last modified time | relevance | path

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

/PHP-8.4/ext/sockets/
H A Dmulticast.c700 char addr_str[17] = {0}; in php_add4_to_if_index() local
701 inet_ntop(AF_INET, addr, addr_str, sizeof(addr_str)); in php_add4_to_if_index()
703 "The interface with IP address %s was not found", addr_str); in php_add4_to_if_index()
828 char addr_str[17] = {0}; local
829 inet_ntop(AF_INET, addr, addr_str, sizeof(addr_str));
831 "The interface with IP address %s was not found", addr_str);
H A Dconversions.c555 zend_string *addr_str, *tmp_addr_str; in from_zval_write_sin_addr() local
557 addr_str = zval_get_tmp_string((zval *) zaddr_str, &tmp_addr_str); in from_zval_write_sin_addr()
558 res = php_set_inet_addr(&saddr, ZSTR_VAL(addr_str), ctx->sock); in from_zval_write_sin_addr()
564 "address", ZSTR_VAL(addr_str)); in from_zval_write_sin_addr()
605 zend_string *addr_str, *tmp_addr_str; in from_zval_write_sin6_addr() local
607 addr_str = zval_get_tmp_string((zval *) zaddr_str, &tmp_addr_str); in from_zval_write_sin6_addr()
608 res = php_set_inet6_addr(&saddr6, ZSTR_VAL(addr_str), ctx->sock); in from_zval_write_sin6_addr()
/PHP-8.4/sapi/cli/
H A Dphp_cli_server.c177 zend_string *addr_str; member
692 if ((tmp = strrchr(ZSTR_VAL(client->addr_str), ':'))) { in sapi_cli_server_register_variables()
694 const char *addr_start = ZSTR_VAL(client->addr_str), *addr_end = tmp; in sapi_cli_server_register_variables()
710 "REMOTE_ADDR", strlen("REMOTE_ADDR"), client->addr_str); in sapi_cli_server_register_variables()
1218 spprintf(&basic_buf, 0, "%s [%d]: %s %s", ZSTR_VAL(client->addr_str), status, in php_cli_server_log_response()
1968 client->addr_str = zend_string_dup(tmp_addr, /* persistent */ true); in php_cli_server_client_ctor()
1969 GC_MAKE_PERSISTENT_LOCAL(client->addr_str); in php_cli_server_client_ctor()
1995 zend_string_release_ex(client->addr_str, /* persistent */ true); in php_cli_server_client_dtor()
2007 php_cli_server_logf(PHP_CLI_SERVER_LOG_MESSAGE, "%s Closing", ZSTR_VAL(client->addr_str)); in php_cli_server_close_connection()
2640 …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 20 milliseconds