Lines Matching refs:target
173 IptablesTarget target = V4; in setEgressSourceRule() local
175 target = V6; in setEgressSourceRule()
186 res |= execIptables(target, op, LOCAL_INPUT, "-d", addr, "-j", "RETURN", NULL); in setEgressSourceRule()
187 res |= execIptables(target, op, LOCAL_OUTPUT, "-s", addr, "-j", "RETURN", NULL); in setEgressSourceRule()
198 IptablesTarget target = V4; in setEgressDestRule() local
200 target = V6; in setEgressDestRule()
217 res |= execIptables(target, op, LOCAL_INPUT, "-s", addr, "-p", protocolStr, in setEgressDestRule()
219 res |= execIptables(target, op, LOCAL_OUTPUT, "-d", addr, "-p", protocolStr, in setEgressDestRule()
244 const char* target; in setUidRule() local
247 target = "RETURN"; in setUidRule()
251 target = "DROP"; in setUidRule()
260 uidStr, "-j", target, NULL); in setUidRule()
264 uidStr, "-j", target, NULL); in setUidRule()
268 uidStr, "-j", target, NULL); in setUidRule()
272 "-j", target, NULL); in setUidRule()
274 "-j", target, NULL); in setUidRule()
298 std::string FirewallController::makeUidRules(IptablesTarget target, const char *name, in makeUidRules() argument
312 if (target == V6) { in makeUidRules()