Lines Matching refs:iptablesRestoreFunction
67 auto BandwidthController::iptablesRestoreFunction = execIptablesRestoreWithOutput; member in BandwidthController
268 iptablesRestoreFunction(V4V6, commands, nullptr); in flushCleanTables()
287 return iptablesRestoreFunction(V4V6, commands, nullptr); in enableBandwidthControl()
306 int ret = iptablesRestoreFunction(V4, makeDataSaverCommand(V4, enable), nullptr); in enableDataSaver()
307 ret |= iptablesRestoreFunction(V6, makeDataSaverCommand(V6, enable), nullptr); in enableDataSaver()
346 res |= iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr); in setInterfaceSharedQuota()
396 if (iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr) != 0) { in removeInterfaceSharedQuota()
452 if (iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr) != 0) { in setInterfaceQuota()
508 const int res = iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr); in removeInterfaceQuota()
554 return iptablesRestoreFunction(V4V6, alertQuotaCmd, nullptr); in runIptablesAlertCmd()
653 res = iptablesRestoreFunction(V4V6, Join(commands, ""), nullptr); in setCostlyAlert()
683 if (iptablesRestoreFunction(V4V6, Join(commands, ""), nullptr) != 0) { in removeCostlyAlert()
697 if (int ret = iptablesRestoreFunction(V4, fullCmd, &ruleList)) { in flushExistingCostlyTables()
733 iptablesRestoreFunction(V4V6, Join(clearCommands, '\n'), nullptr); in parseAndFlushCostlyTables()