Home
last modified time | relevance | path

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

/system/netd/server/
DFwmarkServer.cpp91 static bool hasDestinationAddress(FwmarkCommand::CmdId cmdId, bool redirectSocketCalls) { in hasDestinationAddress() argument
93 return (cmdId == FwmarkCommand::ON_SENDTO || cmdId == FwmarkCommand::ON_CONNECT || in hasDestinationAddress()
94 cmdId == FwmarkCommand::ON_SENDMSG || cmdId == FwmarkCommand::ON_SENDMMSG || in hasDestinationAddress()
95 cmdId == FwmarkCommand::ON_CONNECT_COMPLETE); in hasDestinationAddress()
97 return (cmdId == FwmarkCommand::ON_CONNECT_COMPLETE); in hasDestinationAddress()
120 if (hasDestinationAddress(command.cmdId, mRedirectSocketCalls)) { in processClient()
130 if (command.cmdId == FwmarkCommand::QUERY_USER_ACCESS) { in processClient()
137 if (command.cmdId == FwmarkCommand::SET_COUNTERSET) { in processClient()
141 if (command.cmdId == FwmarkCommand::DELETE_TAGDATA) { in processClient()
170 switch (command.cmdId) { in processClient()
/system/netd/client/
DFwmarkClient.cpp39 bool commandHasFd(int cmdId) { in commandHasFd() argument
40 return (cmdId != FwmarkCommand::QUERY_USER_ACCESS) && in commandHasFd()
41 (cmdId != FwmarkCommand::SET_COUNTERSET) && in commandHasFd()
42 (cmdId != FwmarkCommand::DELETE_TAGDATA); in commandHasFd()
102 if (commandHasFd(data->cmdId)) { in send()
/system/netd/include/
DFwmarkCommand.h75 } cmdId; member