Lines Matching refs:FirewallController
22 #define LOG_TAG "FirewallController"
29 #include "FirewallController.h"
33 auto FirewallController::execIptables = ::execIptables;
34 auto FirewallController::execIptablesSilently = ::execIptablesSilently;
35 auto FirewallController::execIptablesRestore = ::execIptablesRestore;
37 const char* FirewallController::TABLE = "filter";
39 const char* FirewallController::LOCAL_INPUT = "fw_INPUT";
40 const char* FirewallController::LOCAL_OUTPUT = "fw_OUTPUT";
41 const char* FirewallController::LOCAL_FORWARD = "fw_FORWARD";
43 const char* FirewallController::LOCAL_DOZABLE = "fw_dozable";
44 const char* FirewallController::LOCAL_STANDBY = "fw_standby";
45 const char* FirewallController::LOCAL_POWERSAVE = "fw_powersave";
50 const char* FirewallController::ICMPV6_TYPES[] = {
59 FirewallController::FirewallController(void) {
64 int FirewallController::setupIptablesHooks(void) {
79 int FirewallController::enableFirewall(FirewallType ftype) {
98 int FirewallController::disableFirewall(void) {
111 int FirewallController::enableChildChains(ChildChain chain, bool enable) {
138 int FirewallController::isFirewallEnabled(void) {
143 int FirewallController::setInterfaceRule(const char* iface, FirewallRule rule) {
167 int FirewallController::setEgressSourceRule(const char* addr, FirewallRule rule) {
191 int FirewallController::setEgressDestRule(const char* addr, int protocol, int port,
224 FirewallType FirewallController::getFirewallType(ChildChain chain) {
239 int FirewallController::setUidRule(ChildChain chain, int uid, FirewallRule rule) {
283 int FirewallController::attachChain(const char* childChain, const char* parentChain) {
287 int FirewallController::detachChain(const char* childChain, const char* parentChain) {
291 int FirewallController::createChain(const char* childChain,
298 std::string FirewallController::makeUidRules(IptablesTarget target, const char *name,
341 int FirewallController::replaceUidChain(