Searched refs:ans (Results 1 – 1 of 1) sorted by relevance
/PHP-7.2/ext/standard/ |
H A D | dns.c | 357 u_char ans[MAXPACKET]; in PHP_FUNCTION() local 416 i = php_dns_search(handle, hostname, C_IN, type, ans, sizeof(ans)); in PHP_FUNCTION() 1038 u_char ans[MAXPACKET]; in PHP_FUNCTION() local 1081 i = php_dns_search(handle, hostname, C_IN, DNS_T_MX, (u_char *)&ans, sizeof(ans)); in PHP_FUNCTION() 1085 if (i > (int)sizeof(ans)) { in PHP_FUNCTION() 1086 i = sizeof(ans); in PHP_FUNCTION() 1088 hp = (HEADER *)&ans; in PHP_FUNCTION() 1089 cp = (u_char *)&ans + HFIXEDSZ; in PHP_FUNCTION() 1090 end = (u_char *)&ans +i; in PHP_FUNCTION() 1112 if ((i = dn_expand(ans, end, cp, buf, sizeof(buf)-1)) < 0) { in PHP_FUNCTION()
|
Completed in 5 milliseconds