Home
last modified time | relevance | path

Searched refs:hbuf (Results 1 – 6 of 6) sorted by relevance

/packages/modules/DnsResolver/
Dresolv_unit_test.cpp1210 hostent hbuf; in TEST_F() local
1213 int rv = resolv_gethostbyname("jiababuei", config.ai_family, &hbuf, tmpbuf, sizeof(tmpbuf), in TEST_F()
1254 hostent hbuf; in TEST_F() local
1257 int rv = resolv_gethostbyname(hostname, family, &hbuf, tmpbuf, sizeof(tmpbuf), in TEST_F()
1276 hostent hbuf; in TEST_F() local
1279 int rv = resolv_gethostbyname("v4only", AF_INET6, &hbuf, tmpbuf, sizeof tmpbuf, &mNetcontext, in TEST_F()
1317 hostent hbuf; in TEST_F() local
1320 int rv = resolv_gethostbyname(host_name, AF_INET, &hbuf, tmpbuf, sizeof tmpbuf, in TEST_F()
1337 hostent hbuf; in TEST_F() local
1340 int rv = resolv_gethostbyname(host_name, AF_INET, &hbuf, tmpbuf, sizeof tmpbuf, &mNetcontext, in TEST_F()
[all …]
DDnsProxyListener.cpp1107 void DnsProxyListener::GetHostByNameHandler::doDns64Synthesis(int32_t* rv, hostent* hbuf, char* buf, in doDns64Synthesis() argument
1126 *rv = resolv_gethostbyname(mName, AF_INET, hbuf, buf, buflen, &mNetContext, hpp, event); in doDns64Synthesis()
1149 hostent hbuf; in run() local
1156 rv = resolv_gethostbyname(mName, mAf, &hbuf, tmpbuf, sizeof tmpbuf, &mNetContext, &hp, in run()
1168 doDns64Synthesis(&rv, &hbuf, tmpbuf, sizeof tmpbuf, &hp, &event); in run()
1264 void DnsProxyListener::GetHostByAddrHandler::doDns64ReverseLookup(hostent* hbuf, char* buf, in doDns64ReverseLookup() argument
1295 resolv_gethostbyaddr(&v4addr, sizeof(v4addr), AF_INET, hbuf, buf, buflen, &mNetContext, hpp, in doDns64ReverseLookup()
1317 hostent hbuf; in run() local
1323 rv = resolv_gethostbyaddr(mAddress, mAddressLen, mAddressFamily, &hbuf, tmpbuf, in run()
1332 doDns64ReverseLookup(&hbuf, tmpbuf, sizeof tmpbuf, &hp, &event); in run()
Dres_send.cpp1154 char hbuf[NI_MAXHOST]; in dump_error() local
1161 if (getnameinfo(address, (socklen_t)alen, hbuf, sizeof(hbuf), sbuf, sizeof(sbuf), niflags)) { in dump_error()
1162 strncpy(hbuf, "?", sizeof(hbuf) - 1); in dump_error()
1163 hbuf[sizeof(hbuf) - 1] = '\0'; in dump_error()
1168 PLOG(DEBUG) << __func__ << ": " << str << " ([" << hbuf << "]." << sbuf << "): "; in dump_error()
DResolverController.cpp145 char hbuf[NI_MAXHOST]; in getDnsInfo() local
148 sizeof(res_servers[i]), hbuf, sizeof(hbuf), nullptr, 0, NI_NUMERICHOST); in getDnsInfo()
151 server_str.assign(hbuf); in getDnsInfo()
DDnsProxyListener.h87 void doDns64Synthesis(int32_t* rv, hostent* hbuf, char* buf, size_t buflen, hostent** hpp,
114 void doDns64ReverseLookup(hostent* hbuf, char* buf, size_t buflen, hostent** hpp,
/packages/modules/DnsResolver/tests/
Dresolv_gold_test.cpp212 hostent hbuf; in VerifyGetHostByName() local
216 const int rv = resolv_gethostbyname(args.host().c_str(), args.family(), &hbuf, tmpbuf, in VerifyGetHostByName()