Searched defs:rule (Results 1 - 3 of 3) sorted by relevance

/system/netd/
H A DFirewallController.cpp47 // create default rule to drop all traffic
71 int FirewallController::setInterfaceRule(const char* iface, FirewallRule rule) { argument
73 if (rule == ALLOW) {
85 int FirewallController::setEgressSourceRule(const char* addr, FirewallRule rule) { argument
92 if (rule == ALLOW) {
105 FirewallRule rule) {
118 if (rule == ALLOW) {
132 int FirewallController::setUidRule(int uid, FirewallRule rule) { argument
137 if (rule == ALLOW) {
104 setEgressDestRule(const char* addr, int protocol, int port, FirewallRule rule) argument
H A DCommandListener.cpp118 // -D to delete any pre-existing jump rule (removes references
270 // interface fwmark rule add/remove iface
277 if (!strcmp(argv[2], "rule")) {
285 "Fwmark rule successfully added", false);
287 cli->sendMsg(ResponseCode::OperationFailed, "Failed to add fwmark rule",
293 "Fwmark rule successfully removed", false);
296 "Failed to remove fwmark rule", true);
299 cli->sendMsg(ResponseCode::CommandSyntaxError, "Unknown fwmark rule cmd",
338 cli->sendMsg(ResponseCode::CommandOkay, "uid rule successfully added",
341 cli->sendMsg(ResponseCode::OperationFailed, "Failed to add uid rule", tru
1483 FirewallRule rule = parseRule(argv[3]); local
1498 FirewallRule rule = parseRule(argv[3]); local
1514 FirewallRule rule = parseRule(argv[4]); local
1531 FirewallRule rule = parseRule(argv[3]); local
[all...]
/system/core/libcorkscrew/arch-x86/
H A Ddwarf.h113 char rule; // rule: o - offset(value); r - register(value) member in struct:__anon157

Completed in 348 milliseconds