Lines Matching refs:hostname
157 char *hostname; in PHP_FUNCTION() local
163 hostname = php_gethostbyaddr(addr); in PHP_FUNCTION()
165 if (hostname == NULL) { in PHP_FUNCTION()
173 RETVAL_STRING(hostname, 0); in PHP_FUNCTION()
217 char *hostname; in PHP_FUNCTION() local
221 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &hostname_len) == FAILURE) { in PHP_FUNCTION()
225 addr = php_gethostbyname(hostname); in PHP_FUNCTION()
235 char *hostname; in PHP_FUNCTION() local
241 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &hostname_len) == FAILURE) { in PHP_FUNCTION()
245 hp = gethostbyname(hostname); in PHP_FUNCTION()
348 char *hostname, *rectype = NULL; in PHP_FUNCTION() local
360 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &hostname, &hostname_len, &rectype, &r… in PHP_FUNCTION()
403 i = php_dns_search(handle, hostname, C_IN, type, ans, sizeof(ans)); in PHP_FUNCTION()
710 char *hostname; in PHP_FUNCTION() local
729 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lzz", &hostname, &hostname_len, &type_para… in PHP_FUNCTION()
824 n = php_dns_search(handle, hostname, C_IN, type_to_fetch, answer.qb2, sizeof answer); in PHP_FUNCTION()
896 char *hostname; in PHP_FUNCTION() local
915 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz|z", &hostname, &hostname_len, &mx_list, &… in PHP_FUNCTION()
941 i = php_dns_search(handle, hostname, C_IN, DNS_T_MX, (u_char *)&ans, sizeof(ans)); in PHP_FUNCTION()