Home
last modified time | relevance | path

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

/system/netd/tests/
Dbinder_test.cpp3319 void clearQueue(int tunFd) { in clearQueue() argument
3323 ret = read(tunFd, buf, sizeof(buf)); in clearQueue()
3327 void checkDataReceived(int udpSocket, int tunFd, sockaddr* dstAddr, int addrLen) { in checkDataReceived() argument
3331 clearQueue(tunFd); in checkDataReceived()
3334 EXPECT_GT(read(tunFd, buf, sizeof(buf)), 0); in checkDataReceived()
3337 bool sendIPv6PacketFromUid(uid_t uid, const in6_addr& dstAddr, Fwmark* fwmark, int tunFd, in sendIPv6PacketFromUid() argument
3358 checkDataReceived(testSocket, tunFd, nullptr, 0); in sendIPv6PacketFromUid()
3360 checkDataReceived(testSocket, tunFd, (sockaddr*)&dst6, sizeof(dst6)); in sendIPv6PacketFromUid()