Home
last modified time | relevance | path

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

/system/netd/server/
DFwmarkServer.cpp165 socklen_t fwmarkLen = sizeof(fwmark.intValue); in processClient() local
166 if (getsockopt(*socketFd, SOL_SOCKET, SO_MARK, &fwmark.intValue, &fwmarkLen) == -1) { in processClient()
/system/netd/client/
DNetdClient.cpp464 socklen_t fwmarkLen = sizeof(fwmark.intValue); in getNetworkForSocket() local
465 if (getsockopt(socketFd, SOL_SOCKET, SO_MARK, &fwmark.intValue, &fwmarkLen) == -1) { in getNetworkForSocket()
/system/netd/tests/
Dbinder_test.cpp3350 socklen_t fwmarkLen = sizeof(fwmark->intValue); in sendIPv6PacketFromUid() local
3351 EXPECT_NE(-1, getsockopt(testSocket, SOL_SOCKET, SO_MARK, &(fwmark->intValue), &fwmarkLen)); in sendIPv6PacketFromUid()
3382 socklen_t fwmarkLen = sizeof(fwmark->intValue); in sendIPv6PacketFromUidFail() local
3383 EXPECT_NE(-1, getsockopt(s, SOL_SOCKET, SO_MARK, &(fwmark->intValue), &fwmarkLen)); in sendIPv6PacketFromUidFail()
3513 socklen_t fwmarkLen = sizeof(fwmark.intValue); in createIpv6SocketAndCheckMark() local
3514 EXPECT_EQ(0, getsockopt(sockFd, SOL_SOCKET, SO_MARK, &fwmark.intValue, &fwmarkLen)); in createIpv6SocketAndCheckMark()