Lines Matching refs:iptablesRestoreFunction
137 auto TetherController::iptablesRestoreFunction = execIptablesRestoreWithOutput; member in android::net::TetherController
494 res = iptablesRestoreFunction(V4, mssRewriteCommand, nullptr); in setupIptablesHooks()
499 res = iptablesRestoreFunction(V4V6, defaultCommands, nullptr); in setupIptablesHooks()
528 int res = iptablesRestoreFunction(V4, v4Cmd, nullptr); in setDefaults()
533 res = iptablesRestoreFunction(V6, v6Cmd, nullptr); in setDefaults()
566 if (iptablesRestoreFunction(V4, Join(v4Cmds, '\n'), nullptr) || setupIPv6CountersChain() || in enableNat()
598 return iptablesRestoreFunction(V4V6, cmds, nullptr); in setTetherGlobalAlertRule()
615 return iptablesRestoreFunction(V6, v6Cmds, nullptr); in setupIPv6CountersChain()
699 if (iptablesRestoreFunction(V6, rpfilterCmd, nullptr) == -1 && add) { in setForwardRules()
743 if (iptablesRestoreFunction(V4, Join(v4, '\n'), nullptr) == -1 || in setForwardRules()
744 (add && iptablesRestoreFunction(V6, Join(v6, '\n'), nullptr) == -1)) { in setForwardRules()
894 if (int ret = iptablesRestoreFunction(target, GET_TETHER_STATS_COMMAND, &statsString)) { in getTetherStats()