Home
last modified time | relevance | path

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

/system/netd/client/
DFwmarkClient.cpp57 bool FwmarkClient::shouldSetFwmark(int family) { in shouldSetFwmark()
62 bool FwmarkClient::shouldReportConnectComplete(int family) { in shouldReportConnectComplete()
67 FwmarkClient::FwmarkClient() : mChannel(-1) { in FwmarkClient() function in FwmarkClient
70 FwmarkClient::~FwmarkClient() { in ~FwmarkClient()
76 int FwmarkClient::send(FwmarkCommand* data, int fd, FwmarkConnectInfo* connectInfo) { in send()
DFwmarkClient.h25 class FwmarkClient {
35 FwmarkClient();
36 ~FwmarkClient();
DNetdClient.cpp77 if (!FwmarkClient::shouldSetFwmark(family)) { in checkSocket()
87 return dst && FwmarkClient::shouldSetFwmark(dst->sa_family) && (checkSocket(socketFd) == 0); in shouldMarkSocket()
110 if (FwmarkClient::shouldSetFwmark(family)) { in netdClientAccept4()
112 if (int error = FwmarkClient().send(&command, acceptedSocket, nullptr)) { in netdClientAccept4()
123 if (int error = FwmarkClient().send(&command, sockfd, nullptr)) { in netdClientConnect()
135 if (shouldSetFwmark && FwmarkClient::shouldReportConnectComplete(addr->sa_family)) { in netdClientConnect()
141 FwmarkClient().send(&command, sockfd, &connectInfo); in netdClientConnect()
153 if (netId != NETID_UNSET && FwmarkClient::shouldSetFwmark(domain)) { in netdClientSocket()
369 return FwmarkClient().send(&command, socketFd, nullptr); in setNetworkForSocket()
385 return FwmarkClient().send(&command, socketFd, nullptr); in protectFromVpn()
[all …]
DAndroid.bp18 "FwmarkClient.cpp",