Searched refs:MAXPACKET (Results 1 – 5 of 5) sorted by relevance
/system/netd/resolv/ |
D | res_query.cpp | 94 #define MAXPACKET PACKETSZ macro 96 #define MAXPACKET 1024 macro 116 u_char buf[MAXPACKET]; in res_nquery()
|
D | resolver_test.cpp | 70 constexpr int MAXPACKET = (8 * 1024); variable 1811 uint8_t buf[MAXPACKET] = {}; in expectAnswersValid() 1813 int res = getAsyncResponse(fd, &rcode, buf, MAXPACKET); in expectAnswersValid() 1820 uint8_t buf[MAXPACKET] = {}; in expectAnswersNotValid() 1822 int res = getAsyncResponse(fd, &rcode, buf, MAXPACKET); in expectAnswersNotValid() 1846 uint8_t buf[MAXPACKET] = {}; in TEST_F() 1848 int res = getAsyncResponse(fd2, &rcode, buf, MAXPACKET); in TEST_F() 1852 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F() 1865 res = getAsyncResponse(fd2, &rcode, buf, MAXPACKET); in TEST_F() 1869 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F() [all …]
|
D | DnsProxyListener.cpp | 78 constexpr int MAXPACKET = 8 * 1024; variable 830 std::vector<uint8_t> msg(MAXPACKET, 0); in run() 833 int msgLen = b64_pton(mMsg.c_str(), msg.data(), MAXPACKET); in run() 855 std::vector<uint8_t> ansBuf(MAXPACKET, 0); in run() 859 nsendAns = resolv_res_nsend(&mNetContext, msg.data(), msgLen, ansBuf.data(), MAXPACKET, in run()
|
D | getaddrinfo.cpp | 110 #define MAXPACKET (8 * 1024) macro 114 u_char buf[MAXPACKET]; 1573 u_char buf[MAXPACKET]; in res_queryN()
|
D | gethnamaddr.cpp | 96 #define MAXPACKET (8 * 1024) macro 100 u_char buf[MAXPACKET];
|