Lines Matching refs:addr
166 struct sockaddr *addr; member
641 char addr[64], port[8]; in sapi_cli_server_register_variables() local
644 strncpy(addr, client->addr_str, tmp - client->addr_str); in sapi_cli_server_register_variables()
645 addr[tmp - client->addr_str] = '\0'; in sapi_cli_server_register_variables()
646 sapi_cli_server_register_variable(track_vars_array, "REMOTE_ADDR", addr); in sapi_cli_server_register_variables()
1854 …lient, php_cli_server *server, php_socket_t client_sock, struct sockaddr *addr, socklen_t addr_len… in php_cli_server_client_ctor() argument
1858 client->addr = addr; in php_cli_server_client_ctor()
1863 php_network_populate_name_from_sockaddr(addr, addr_len, &addr_str, NULL, 0); in php_cli_server_client_ctor()
1894 pefree(client->addr, 1); in php_cli_server_client_dtor()
2270 static int php_cli_server_ctor(php_cli_server *server, const char *addr, const char *document_root,… in php_cli_server_ctor() argument
2282 if (addr[0] == '[') { in php_cli_server_ctor()
2283 host = pestrdup(addr + 1, 1); in php_cli_server_ctor()
2300 host = pestrdup(addr, 1); in php_cli_server_ctor()
2314 fprintf(stderr, "Invalid address: %s\n", addr); in php_cli_server_ctor()