Searched refs:MAXPACKET (Results 1 – 9 of 9) sorted by relevance
/packages/modules/DnsResolver/ |
D | resolv_unit_test.cpp | 46 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()
|
D | DnsProxyListener.cpp | 914 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()
|
D | resolv_cache_unit_test.cpp | 73 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()
|
D | resolv_private.h | 86 constexpr int MAXPACKET = 8 * 1024; variable
|
D | res_query.cpp | 109 uint8_t buf[MAXPACKET]; in res_nquery()
|
D | gethnamaddr.cpp | 99 uint8_t buf[MAXPACKET]; 545 const size_t line_buf_size = MAXPACKET; in netbsd_gethostent_r()
|
D | getaddrinfo.cpp | 123 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/ |
D | resolv_integration_test.cpp | 76 constexpr int MAXPACKET = (8 * 1024); variable 2101 uint8_t buf[MAXPACKET] = {}; in expectAnswersValid() 2103 int res = getAsyncResponse(fd, &rcode, buf, MAXPACKET); in expectAnswersValid() 2110 uint8_t buf[MAXPACKET] = {}; in expectAnswersNotValid() 2112 int res = getAsyncResponse(fd, &rcode, buf, MAXPACKET); in expectAnswersNotValid() 2136 uint8_t buf[MAXPACKET] = {}; in TEST_F() 2138 int res = getAsyncResponse(fd2, &rcode, buf, MAXPACKET); in TEST_F() 2142 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F() 2155 res = getAsyncResponse(fd2, &rcode, buf, MAXPACKET); in TEST_F() 2159 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F() [all …]
|
D | resolv_gold_test.cpp | 51 constexpr unsigned int MAXPACKET = 8 * 1024; variable 213 char tmpbuf[MAXPACKET]; in VerifyGetHostByName()
|