Home
last modified time | relevance | path

Searched refs:MAXPACKET (Results 1 – 9 of 9) sorted by relevance

/packages/modules/DnsResolver/
Dresolv_unit_test.cpp46 constexpr unsigned int MAXPACKET = 8 * 1024; variable
1211 char tmpbuf[MAXPACKET]; in TEST_F()
1255 char tmpbuf[MAXPACKET]; in TEST_F()
1277 char tmpbuf[MAXPACKET]; in TEST_F()
1318 char tmpbuf[MAXPACKET]; in TEST_F()
1338 char tmpbuf[MAXPACKET]; in TEST_F()
1371 char tmpbuf[MAXPACKET]; in TEST_F()
1423 char tmpbuf[MAXPACKET]; in TEST_F()
1445 char tmpbuf[MAXPACKET]; in TEST_F()
DDnsProxyListener.cpp914 std::vector<uint8_t> msg(MAXPACKET, 0); in run()
917 int msgLen = b64_pton(mMsg.c_str(), msg.data(), MAXPACKET); in run()
939 std::vector<uint8_t> ansBuf(MAXPACKET, 0); in run()
946 nsendAns = resolv_res_nsend(&mNetContext, msg.data(), msgLen, ansBuf.data(), MAXPACKET, in run()
1150 char tmpbuf[MAXPACKET]; in run()
1318 char tmpbuf[MAXPACKET]; in run()
Dresolv_cache_unit_test.cpp73 uint8_t buf[MAXPACKET] = {}; in makeQuery()
97 char answer[MAXPACKET] = {}; in makeAnswer()
160 std::vector<char> answer(MAXPACKET); in cacheLookup()
289 const std::vector<char> queryEmpty(MAXPACKET, 0); in TEST_F()
400 const std::vector<char> queryEmpty(MAXPACKET, 0); in TEST_F()
Dresolv_private.h86 constexpr int MAXPACKET = 8 * 1024; variable
Dres_query.cpp109 uint8_t buf[MAXPACKET]; in res_nquery()
Dgethnamaddr.cpp99 uint8_t buf[MAXPACKET];
545 const size_t line_buf_size = MAXPACKET; in netbsd_gethostent_r()
Dgetaddrinfo.cpp123 std::vector<uint8_t> answer = std::vector<uint8_t>(MAXPACKET, 0); // buffer to put answer
1623 uint8_t buf[MAXPACKET]; in doQuery()
1730 uint8_t buf[MAXPACKET]; in res_queryN()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp74 constexpr int MAXPACKET = (8 * 1024); variable
2006 uint8_t buf[MAXPACKET] = {}; in expectAnswersValid()
2008 int res = getAsyncResponse(fd, &rcode, buf, MAXPACKET); in expectAnswersValid()
2015 uint8_t buf[MAXPACKET] = {}; in expectAnswersNotValid()
2017 int res = getAsyncResponse(fd, &rcode, buf, MAXPACKET); in expectAnswersNotValid()
2041 uint8_t buf[MAXPACKET] = {}; in TEST_F()
2043 int res = getAsyncResponse(fd2, &rcode, buf, MAXPACKET); in TEST_F()
2047 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F()
2060 res = getAsyncResponse(fd2, &rcode, buf, MAXPACKET); in TEST_F()
2064 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F()
[all …]
Dresolv_gold_test.cpp51 constexpr unsigned int MAXPACKET = 8 * 1024; variable
213 char tmpbuf[MAXPACKET]; in VerifyGetHostByName()