Searched refs:ans (Results 1 – 1 of 1) sorted by relevance
/PHP-7.0/ext/standard/ |
H A D | dns.c | 362 u_char ans[MAXPACKET]; in PHP_FUNCTION() local 419 i = php_dns_search(handle, hostname, C_IN, type, ans, sizeof(ans)); in PHP_FUNCTION() 1027 u_char ans[MAXPACKET]; in PHP_FUNCTION() local 1067 i = php_dns_search(handle, hostname, C_IN, DNS_T_MX, (u_char *)&ans, sizeof(ans)); in PHP_FUNCTION() 1071 if (i > (int)sizeof(ans)) { in PHP_FUNCTION() 1072 i = sizeof(ans); in PHP_FUNCTION() 1074 hp = (HEADER *)&ans; in PHP_FUNCTION() 1075 cp = (u_char *)&ans + HFIXEDSZ; in PHP_FUNCTION() 1076 end = (u_char *)&ans +i; in PHP_FUNCTION() 1098 if ((i = dn_expand(ans, end, cp, buf, sizeof(buf)-1)) < 0) { in PHP_FUNCTION()
|
Completed in 6 milliseconds