Searched refs:ans (Results 1 – 1 of 1) sorted by relevance
/PHP-7.1/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() 1037 u_char ans[MAXPACKET]; in PHP_FUNCTION() local 1077 i = php_dns_search(handle, hostname, C_IN, DNS_T_MX, (u_char *)&ans, sizeof(ans)); in PHP_FUNCTION() 1081 if (i > (int)sizeof(ans)) { in PHP_FUNCTION() 1082 i = sizeof(ans); in PHP_FUNCTION() 1084 hp = (HEADER *)&ans; in PHP_FUNCTION() 1085 cp = (u_char *)&ans + HFIXEDSZ; in PHP_FUNCTION() 1086 end = (u_char *)&ans +i; in PHP_FUNCTION() 1108 if ((i = dn_expand(ans, end, cp, buf, sizeof(buf)-1)) < 0) { in PHP_FUNCTION()
|
Completed in 12 milliseconds