Home
last modified time | relevance | path

Searched defs:hp (Results 1 – 11 of 11) sorted by relevance

/packages/modules/DnsResolver/
Dgethnamaddr.cpp130 const HEADER* hp; in getanswer() local
388 int resolv_gethostbyname(const char* name, int af, hostent* hp, char* buf, size_t buflen, in resolv_gethostbyname()
475 int resolv_gethostbyaddr(const void* addr, socklen_t len, int af, hostent* hp, char* buf, in resolv_gethostbyaddr()
615 static void convert_v4v6_hostent(struct hostent* hp, char** bpp, char* ep, in convert_v4v6_hostent()
640 static void pad_v4v6_hostent(struct hostent* hp, char** bpp, char* ep) { in pad_v4v6_hostent()
642 [](struct hostent* hp) { in pad_v4v6_hostent()
678 hostent* hp = getanswer(buf.get(), n, name, type, info->hp, info->buf, info->buflen, &he); in dns_gethtbyname() local
741 hostent* hp = getanswer(buf.get(), n, qbuf, T_PTR, info->hp, info->buf, info->buflen, &he); in dns_gethtbyaddr() local
Dres_mkquery.cpp108 HEADER* hp; in res_nmkquery() local
199 HEADER* hp; in res_nopt() local
Dsethostent.cpp69 struct hostent *hp, hent; in _hf_gethtbyname2() local
192 struct hostent* hp; in _hf_gethtbyaddr() local
Dres_query.cpp110 HEADER* hp = (HEADER*) (void*) answer; in res_nquery() local
212 HEADER* hp = (HEADER*) (void*) answer; in res_nsearch() local
Dhostent.h37 struct hostent* hp; member
DDnsProxyListener.cpp212 int extractGetHostByNameAnswers(const hostent* hp, std::vector<std::string>* ip_addrs) { in extractGetHostByNameAnswers()
275 auto hp = reinterpret_cast<HEADER*>(msg); in setQueryId() local
407 bool onlyNonSpecialUseIPv4Addresses(struct hostent* hp) { in onlyNonSpecialUseIPv4Addresses()
429 void logDnsQueryResult(const struct hostent* hp) { in logDnsQueryResult()
477 bool synthesizeNat64PrefixWithARecord(const netdutils::IPPrefix& prefix, struct hostent* hp) { in synthesizeNat64PrefixWithARecord()
596 static bool sendhostent(SocketClient* c, hostent* hp) { in sendhostent()
1148 hostent* hp = nullptr; in run() local
1316 hostent* hp = nullptr; in run() local
Dresolv_unit_test.cpp1245 hostent* hp = nullptr; in TEST_F() local
1289 struct hostent* hp = nullptr; in TEST_F() local
1311 hostent* hp = nullptr; in TEST_F() local
1352 hostent* hp = nullptr; in TEST_F() local
1372 hostent* hp = nullptr; in TEST_F() local
1405 struct hostent* hp = nullptr; in TEST_F() local
1457 struct hostent* hp = nullptr; in TEST_F() local
1479 struct hostent* hp = nullptr; in TEST_F() local
Dres_send.cpp441 HEADER* hp = (HEADER*)(void*)ans; in res_nsend() local
501 auto hp = reinterpret_cast<const HEADER*>(buf); in res_nsend() local
654 const HEADER* hp = (const HEADER*) (const void*) buf; in send_vc() local
974 const HEADER* hp = (const HEADER*)(const void*)buf; in ignoreInvalidAnswer() local
Dgetaddrinfo.cpp848 const HEADER* hp; in getanswer() local
1613 HEADER* hp = (HEADER*)(void*)t->answer.data(); in doQuery() local
1743 HEADER* hp = (HEADER*)(void*)t->answer.data(); in res_queryN() local
1807 HEADER* hp; in res_searchN() local
/packages/modules/DnsResolver/tests/
Dresolv_gold_test.cpp211 hostent* hp = nullptr; in VerifyGetHostByName() local
Dresolv_integration_test.cpp2515 auto hp = reinterpret_cast<HEADER*>(buf); in TEST_F() local