Lines Matching refs:type_to_fetch

466 static u_char *php_parserr(u_char *cp, u_char *end, querybuf *answer, int type_to_fetch, int store,…  in php_parserr()  argument
494 if (type_to_fetch != DNS_T_ANY && type != type_to_fetch) { in php_parserr()
831 int type_to_fetch; in PHP_FUNCTION() local
909 type_to_fetch = type_param; in PHP_FUNCTION()
914 type_to_fetch = type_param&PHP_DNS_A ? DNS_T_A : 0; in PHP_FUNCTION()
917 type_to_fetch = type_param&PHP_DNS_NS ? DNS_T_NS : 0; in PHP_FUNCTION()
920 type_to_fetch = type_param&PHP_DNS_CNAME ? DNS_T_CNAME : 0; in PHP_FUNCTION()
923 type_to_fetch = type_param&PHP_DNS_SOA ? DNS_T_SOA : 0; in PHP_FUNCTION()
926 type_to_fetch = type_param&PHP_DNS_PTR ? DNS_T_PTR : 0; in PHP_FUNCTION()
929 type_to_fetch = type_param&PHP_DNS_HINFO ? DNS_T_HINFO : 0; in PHP_FUNCTION()
932 type_to_fetch = type_param&PHP_DNS_MX ? DNS_T_MX : 0; in PHP_FUNCTION()
935 type_to_fetch = type_param&PHP_DNS_TXT ? DNS_T_TXT : 0; in PHP_FUNCTION()
938 type_to_fetch = type_param&PHP_DNS_AAAA ? DNS_T_AAAA : 0; in PHP_FUNCTION()
941 type_to_fetch = type_param&PHP_DNS_SRV ? DNS_T_SRV : 0; in PHP_FUNCTION()
944 type_to_fetch = type_param&PHP_DNS_NAPTR ? DNS_T_NAPTR : 0; in PHP_FUNCTION()
947 type_to_fetch = type_param&PHP_DNS_A6 ? DNS_T_A6 : 0; in PHP_FUNCTION()
950 type_to_fetch = type_param&PHP_DNS_CAA ? DNS_T_CAA : 0; in PHP_FUNCTION()
957 type_to_fetch = DNS_T_ANY; in PHP_FUNCTION()
961 if (type_to_fetch) { in PHP_FUNCTION()
978 n = php_dns_search(handle, hostname, C_IN, type_to_fetch, answer.qb2, sizeof answer); in PHP_FUNCTION()
1027 cp = php_parserr(cp, end, &answer, type_to_fetch, store_results, raw, &retval); in PHP_FUNCTION()