Home
last modified time | relevance | path

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

/system/netd/server/
DFirewallController.cpp71 int FirewallController::setInterfaceRule(const char* iface, FirewallRule rule) { in setInterfaceRule() argument
78 if (rule == ALLOW) { in setInterfaceRule()
90 int FirewallController::setEgressSourceRule(const char* addr, FirewallRule rule) { in setEgressSourceRule() argument
97 if (rule == ALLOW) { in setEgressSourceRule()
110 FirewallRule rule) { in setEgressDestRule() argument
123 if (rule == ALLOW) { in setEgressDestRule()
137 int FirewallController::setUidRule(int uid, FirewallRule rule) { in setUidRule() argument
142 if (rule == ALLOW) { in setUidRule()
DCommandListener.cpp1257 FirewallRule rule = parseRule(argv[3]); in runCommand() local
1259 int res = sFirewallCtrl->setInterfaceRule(iface, rule); in runCommand()
1272 FirewallRule rule = parseRule(argv[3]); in runCommand() local
1274 int res = sFirewallCtrl->setEgressSourceRule(addr, rule); in runCommand()
1288 FirewallRule rule = parseRule(argv[4]); in runCommand() local
1291 res |= sFirewallCtrl->setEgressDestRule(addr, PROTOCOL_TCP, port, rule); in runCommand()
1292 res |= sFirewallCtrl->setEgressDestRule(addr, PROTOCOL_UDP, port, rule); in runCommand()
1305 FirewallRule rule = parseRule(argv[3]); in runCommand() local
1307 int res = sFirewallCtrl->setUidRule(uid, rule); in runCommand()
DRouteController.cpp285 fib_rule_hdr rule = { in modifyIpRule() local
295 { &rule, sizeof(rule) }, in modifyIpRule()
318 rule.family = AF_FAMILIES[i]; in modifyIpRule()
/system/extras/tests/fstest/
DREADME4 specified and minimal) rule for that file/directory to be printed on
9 one matching rule. If there is an explicit (fully specified) <spec>
11 explicit <spec> rule fails (i.e., other matching <spec> rules will be
13 <spec> rule fails to hold.
34 rule with the same name as the symlink exists, in which case the permissions
35 on the rule must match the permissions on the symlink itself, not the target.
68 file that does not match any rule is a failure.