Home
last modified time | relevance | path

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

/system/netd/server/
DNatController.cpp104 for (unsigned int cmdNum = 0; cmdNum < ARRAY_SIZE(defaultCommands); cmdNum++) { in setupIptablesHooks() local
105 if (runCmd(ARRAY_SIZE(defaultCommands[cmdNum].cmd), defaultCommands[cmdNum].cmd) && in setupIptablesHooks()
106 defaultCommands[cmdNum].checkRes) { in setupIptablesHooks()
127 for (unsigned int cmdNum = 0; cmdNum < ARRAY_SIZE(defaultCommands); cmdNum++) { in setDefaults() local
128 if (runCmd(ARRAY_SIZE(defaultCommands[cmdNum].cmd), defaultCommands[cmdNum].cmd) && in setDefaults()
129 defaultCommands[cmdNum].checkRes) { in setDefaults()
DBandwidthController.cpp295 for (int cmdNum = 0; cmdNum < numCommands; cmdNum++) { in runCommands() local
296 res = runIpxtablesCmd(commands[cmdNum], IptJumpNoAdd, failureLogging); in runCommands()
/system/core/include/sysutils/
DSocketClient.h42 void setCmdNum(int cmdNum) { in setCmdNum() argument
43 android_atomic_release_store(cmdNum, &mCmdNum); in setCmdNum()
/system/core/libsysutils/src/
DFrameworkListener.cpp144 int cmdNum = (int)strtol(tmp, &endptr, 0); in dispatchCommand() local
149 cli->setCmdNum(cmdNum); in dispatchCommand()