Lines Matching refs:addr_str
167 char *addr_str; member
619 if ((tmp = strrchr(client->addr_str, ':'))) { in sapi_cli_server_register_variables()
623 strncpy(addr, client->addr_str, tmp - client->addr_str); in sapi_cli_server_register_variables()
624 addr[tmp - client->addr_str] = '\0'; in sapi_cli_server_register_variables()
628 sapi_cli_server_register_variable(track_vars_array, "REMOTE_ADDR", client->addr_str TSRMLS_CC); in sapi_cli_server_register_variables()
1093 spprintf(&basic_buf, 0, "%s [%d]: %s", client->addr_str, status, client->request.request_uri); in php_cli_server_log_response()
1737 char *addr_str = 0; in php_cli_server_client_ctor() local
1739 …php_network_populate_name_from_sockaddr(addr, addr_len, &addr_str, &addr_str_len, NULL, 0 TSRMLS_C… in php_cli_server_client_ctor()
1740 client->addr_str = pestrndup(addr_str, addr_str_len, 1); in php_cli_server_client_ctor()
1742 efree(addr_str); in php_cli_server_client_ctor()
1766 pefree(client->addr_str, 1); in php_cli_server_client_dtor()
1775 php_cli_server_logf("%s Closing" TSRMLS_CC, client->addr_str); in php_cli_server_close_connection()
2226 php_cli_server_logf("%s Invalid request (%s)" TSRMLS_CC, client->addr_str, errstr); in php_cli_server_recv_event_read_request()
2317 php_cli_server_logf("%s Accepted" TSRMLS_CC, client->addr_str); in php_cli_server_do_event_for_each_fd_callback()