Searched refs:chain (Results 1 – 3 of 3) sorted by relevance
/system/netd/server/ |
D | FirewallController.cpp | 101 int FirewallController::enableChildChains(ChildChain chain, bool enable) { in enableChildChains() argument 104 switch(chain) { in enableChildChains() 211 FirewallType FirewallController::getFirewallType(ChildChain chain) { in getFirewallType() argument 212 switch(chain) { in getFirewallType() 224 int FirewallController::setUidRule(ChildChain chain, int uid, FirewallRule rule) { in setUidRule() argument 230 FirewallType firewallType = getFirewallType(chain); in setUidRule() 240 switch(chain) { in setUidRule() 256 ALOGW("Unknown child chain: %d", chain); in setUidRule()
|
D | BandwidthController.h | 124 const char *chain, 133 std::string makeIptablesSpecialAppCmd(IptOp op, int uid, const char *chain);
|
D | BandwidthController.cpp | 303 std::string BandwidthController::makeIptablesSpecialAppCmd(IptOp op, int uid, const char *chain) { in makeIptablesSpecialAppCmd() argument 313 ALOGE("Append op not supported for %s uids", chain); in makeIptablesSpecialAppCmd() 325 asprintf(&buff, "%s %s -m owner --uid-owner %d", opFlag, chain, uid); in makeIptablesSpecialAppCmd() 404 const char *chain, in manipulateSpecialApps() argument 433 ALOGE(failLogTemplate, appStrUids[uidNum], appUids[uidNum], chain); in manipulateSpecialApps() 460 iptCmd = makeIptablesSpecialAppCmd(op, uid, chain); in manipulateSpecialApps() 462 ALOGE(failLogTemplate, appStrUids[uidNum], uid, chain); in manipulateSpecialApps() 470 iptCmd = makeIptablesSpecialAppCmd(IptOpDelete, appUids[uidNum], chain); in manipulateSpecialApps()
|