Searched refs:addr_str (Results 1 – 3 of 3) sorted by relevance
/PHP-7.1/ext/sockets/ |
H A D | multicast.c | 708 char addr_str[17] = {0}; in php_add4_to_if_index() local 709 inet_ntop(AF_INET, addr, addr_str, sizeof(addr_str)); in php_add4_to_if_index() 711 "The interface with IP address %s was not found", addr_str); in php_add4_to_if_index() 837 char addr_str[17] = {0}; local 838 inet_ntop(AF_INET, addr, addr_str, sizeof(addr_str)); 840 "The interface with IP address %s was not found", addr_str);
|
H A D | conversions.c | 544 zend_string *addr_str; in from_zval_write_sin_addr() local 546 addr_str = zval_get_string((zval *) zaddr_str); in from_zval_write_sin_addr() 547 res = php_set_inet_addr(&saddr, ZSTR_VAL(addr_str), ctx->sock); in from_zval_write_sin_addr() 553 "address", ZSTR_VAL(addr_str)); in from_zval_write_sin_addr() 556 zend_string_release(addr_str); in from_zval_write_sin_addr() 594 zend_string *addr_str; in from_zval_write_sin6_addr() local 596 addr_str = zval_get_string((zval *) zaddr_str); in from_zval_write_sin6_addr() 597 res = php_set_inet6_addr(&saddr6, ZSTR_VAL(addr_str), ctx->sock); in from_zval_write_sin6_addr() 606 zend_string_release(addr_str); in from_zval_write_sin6_addr()
|
/PHP-7.1/sapi/cli/ |
H A D | php_cli_server.c | 168 char *addr_str; member 640 if ((tmp = strrchr(client->addr_str, ':'))) { in sapi_cli_server_register_variables() 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() 1861 zend_string *addr_str = 0; in php_cli_server_client_ctor() local 1864 client->addr_str = pestrndup(ZSTR_VAL(addr_str), ZSTR_LEN(addr_str), 1); in php_cli_server_client_ctor() 1865 client->addr_str_len = ZSTR_LEN(addr_str); in php_cli_server_client_ctor() 1866 zend_string_release(addr_str); in php_cli_server_client_ctor() 1895 pefree(client->addr_str, 1); in php_cli_server_client_dtor() 1904 php_cli_server_logf("%s Closing", client->addr_str); in php_cli_server_close_connection() [all …]
|
Completed in 25 milliseconds