• Home
  • Raw
  • Download

Lines Matching refs:herrno

142                                   const struct addrinfo*, int* herrno);
154 static int res_queryN(const char* name, res_target* target, res_state res, int* herrno);
155 static int res_searchN(const char* name, res_target* target, res_state res, int* herrno);
157 int* herrno);
835 *herrno = NO_RECOVERY; \
841 int qtype, const struct addrinfo* pai, int* herrno) { in getanswer() argument
886 *herrno = NO_RECOVERY; in getanswer()
891 *herrno = NO_RECOVERY; in getanswer()
902 *herrno = NO_RECOVERY; in getanswer()
1018 *herrno = NETDB_SUCCESS; in getanswer()
1022 *herrno = NO_RECOVERY; in getanswer()
1605 int herrno; member
1638 .herrno = NO_RECOVERY, in doQuery()
1675 static int res_queryN_parallel(const char* name, res_target* target, res_state res, int* herrno) { in res_queryN_parallel() argument
1696 if (r.herrno == NO_RECOVERY) { in res_queryN_parallel()
1697 *herrno = r.herrno; in res_queryN_parallel()
1707 *herrno = getHerrnoFromRcode(rcode); in res_queryN_parallel()
1714 static int res_queryN_wrapper(const char* name, res_target* target, res_state res, int* herrno) { in res_queryN_wrapper() argument
1717 if (parallel_lookup) return res_queryN_parallel(name, target, res, herrno); in res_queryN_wrapper()
1719 return res_queryN(name, target, res, herrno); in res_queryN_wrapper()
1732 static int res_queryN(const char* name, res_target* target, res_state res, int* herrno) { in res_queryN() argument
1767 *herrno = NO_RECOVERY; in res_queryN()
1796 *herrno = getHerrnoFromRcode(rcode); in res_queryN()
1808 static int res_searchN(const char* name, res_target* target, res_state res, int* herrno) { in res_searchN() argument
1821 *herrno = HOST_NOT_FOUND; /* default, if we never query */ in res_searchN()
1832 ret = res_querydomainN(name, NULL, target, res, herrno); in res_searchN()
1834 saved_herrno = *herrno; in res_searchN()
1853 ret = res_querydomainN(name, domain.c_str(), target, res, herrno); in res_searchN()
1870 *herrno = TRY_AGAIN; in res_searchN()
1874 switch (*herrno) { in res_searchN()
1901 ret = res_querydomainN(name, NULL, target, res, herrno); in res_searchN()
1914 *herrno = saved_herrno; in res_searchN()
1916 *herrno = NO_DATA; in res_searchN()
1918 *herrno = TRY_AGAIN; in res_searchN()
1925 int* herrno) { in res_querydomainN() argument
1936 *herrno = NO_RECOVERY; in res_querydomainN()
1948 *herrno = NO_RECOVERY; in res_querydomainN()
1953 return res_queryN_wrapper(longname, target, res, herrno); in res_querydomainN()