Home
last modified time | relevance | path

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

/system/netd/resolv/
Dres_query.cpp94 #define MAXPACKET PACKETSZ macro
96 #define MAXPACKET 1024 macro
116 u_char buf[MAXPACKET]; in res_nquery()
Dresolver_test.cpp70 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 …]
DDnsProxyListener.cpp78 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()
Dgetaddrinfo.cpp110 #define MAXPACKET (8 * 1024) macro
114 u_char buf[MAXPACKET];
1573 u_char buf[MAXPACKET]; in res_queryN()
Dgethnamaddr.cpp96 #define MAXPACKET (8 * 1024) macro
100 u_char buf[MAXPACKET];