Home
last modified time | relevance | path

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

/system/netd/client/
DNetdClient.cpp70 FwmarkCommand command = {FwmarkCommand::ON_ACCEPT, 0, 0}; in netdClientAccept4()
82 FwmarkCommand command = {FwmarkCommand::ON_CONNECT, 0, 0}; in netdClientConnect()
98 FwmarkCommand command = {FwmarkCommand::ON_CONNECT_COMPLETE, /* netId (ignored) */ 0, in netdClientConnect()
208 FwmarkCommand command = {FwmarkCommand::SELECT_NETWORK, netId, 0}; in setNetworkForSocket()
224 FwmarkCommand command = {FwmarkCommand::PROTECT_FROM_VPN, 0, 0}; in protectFromVpn()
232 FwmarkCommand command = {FwmarkCommand::SELECT_FOR_USER, 0, uid}; in setNetworkForUser()
237 FwmarkCommand command = {FwmarkCommand::QUERY_USER_ACCESS, netId, uid}; in queryUserAccess()
DFwmarkClient.h22 struct FwmarkCommand;
41 int send(FwmarkCommand* data, int fd, FwmarkConnectInfo* connectInfo);
DFwmarkClient.cpp66 int FwmarkClient::send(FwmarkCommand* data, int fd, FwmarkConnectInfo* connectInfo) { in send()
93 if (data->cmdId != FwmarkCommand::QUERY_USER_ACCESS) { in send()
/system/netd/server/
DFwmarkServer.cpp59 FwmarkCommand command; in processClient()
85 if (!((command.cmdId != FwmarkCommand::ON_CONNECT_COMPLETE && messageLength == sizeof(command)) in processClient()
86 || (command.cmdId == FwmarkCommand::ON_CONNECT_COMPLETE in processClient()
93 if (command.cmdId == FwmarkCommand::QUERY_USER_ACCESS) { in processClient()
117 case FwmarkCommand::ON_ACCEPT: { in processClient()
124 case FwmarkCommand::ON_CONNECT: { in processClient()
168 case FwmarkCommand::ON_CONNECT_COMPLETE: { in processClient()
199 case FwmarkCommand::SELECT_NETWORK: { in processClient()
216 case FwmarkCommand::PROTECT_FROM_VPN: { in processClient()
234 case FwmarkCommand::SELECT_FOR_USER: { in processClient()
/system/netd/include/
DFwmarkCommand.h54 struct FwmarkCommand { struct