Lines Matching refs:iptablesRestoreFunction
137 auto TetherController::iptablesRestoreFunction = execIptablesRestoreWithOutput; member in android::net::TetherController
544 res = iptablesRestoreFunction(V4, mssRewriteCommand, nullptr); in setupIptablesHooks()
549 res = iptablesRestoreFunction(V4V6, defaultCommands, nullptr); in setupIptablesHooks()
578 int res = iptablesRestoreFunction(V4, v4Cmd, nullptr); in setDefaults()
583 res = iptablesRestoreFunction(V6, v6Cmd, nullptr); in setDefaults()
617 if (iptablesRestoreFunction(V4, Join(v4Cmds, '\n'), nullptr) || setupIPv6CountersChain() || in enableNat()
650 return iptablesRestoreFunction(V4V6, cmds, nullptr); in setTetherGlobalAlertRule()
667 return iptablesRestoreFunction(V6, v6Cmds, nullptr); in setupIPv6CountersChain()
751 if (iptablesRestoreFunction(V6, rpfilterCmd, nullptr) == -1 && add) { in setForwardRules()
795 if (iptablesRestoreFunction(V4, Join(v4, '\n'), nullptr) == -1 || in setForwardRules()
796 (add && iptablesRestoreFunction(V6, Join(v6, '\n'), nullptr) == -1)) { in setForwardRules()
1016 if (int ret = iptablesRestoreFunction(target, GET_TETHER_STATS_COMMAND, &statsString)) { in getTetherStats()