• Home
  • Raw
  • Download

Lines Matching refs:FirewallController

61 auto FirewallController::execIptablesRestore = ::execIptablesRestore;
63 const char* FirewallController::TABLE = "filter";
65 const char* FirewallController::LOCAL_INPUT = "fw_INPUT";
66 const char* FirewallController::LOCAL_OUTPUT = "fw_OUTPUT";
67 const char* FirewallController::LOCAL_FORWARD = "fw_FORWARD";
69 const char* FirewallController::LOCAL_DOZABLE = "fw_dozable";
70 const char* FirewallController::LOCAL_STANDBY = "fw_standby";
71 const char* FirewallController::LOCAL_POWERSAVE = "fw_powersave";
72 const char* FirewallController::LOCAL_RESTRICTED = "fw_restricted";
77 const char* FirewallController::ICMPV6_TYPES[] = {
86 FirewallController::FirewallController(void) : mMaxUid(discoverMaximumValidUid(kUidMapProcFile)) { in FirewallController() function in android::net::FirewallController
92 int FirewallController::setupIptablesHooks(void) { in setupIptablesHooks()
106 int FirewallController::setFirewallType(FirewallType ftype) { in setFirewallType()
129 int FirewallController::resetFirewall(void) { in resetFirewall()
144 int FirewallController::enableChildChains(ChildChain chain, bool enable) { in enableChildChains()
177 int FirewallController::isFirewallEnabled(void) { in isFirewallEnabled()
182 int FirewallController::setInterfaceRule(const char* iface, FirewallRule rule) { in setInterfaceRule()
216 FirewallType FirewallController::getFirewallType(ChildChain chain) { in getFirewallType()
233 int FirewallController::setUidRule(ChildChain chain, int uid, FirewallRule rule) { in setUidRule()
282 int FirewallController::createChain(const char* chain, FirewallType type) { in createChain()
288 std::string FirewallController::makeCriticalCommands(IptablesTarget target, const char* chainName) { in makeCriticalCommands()
300 std::string FirewallController::makeUidRules(IptablesTarget target, const char* name, in makeUidRules()
354 int FirewallController::replaceUidChain(const std::string& name, bool isAllowlist, in replaceUidChain()
365 uid_t FirewallController::discoverMaximumValidUid(const std::string& fileName) { in discoverMaximumValidUid()