Lines Matching refs:FirewallController
22 #define LOG_TAG "FirewallController"
29 #include "FirewallController.h"
31 const char* FirewallController::TABLE = "filter";
33 const char* FirewallController::LOCAL_INPUT = "fw_INPUT";
34 const char* FirewallController::LOCAL_OUTPUT = "fw_OUTPUT";
35 const char* FirewallController::LOCAL_FORWARD = "fw_FORWARD";
37 const char* FirewallController::LOCAL_DOZABLE = "fw_dozable";
38 const char* FirewallController::LOCAL_STANDBY = "fw_standby";
43 const char* FirewallController::ICMPV6_TYPES[] = {
52 FirewallController::FirewallController(void) {
57 int FirewallController::setupIptablesHooks(void) {
69 int FirewallController::enableFirewall(FirewallType ftype) {
88 int FirewallController::disableFirewall(void) {
101 int FirewallController::enableChildChains(ChildChain chain, bool enable) {
125 int FirewallController::isFirewallEnabled(void) {
130 int FirewallController::setInterfaceRule(const char* iface, FirewallRule rule) {
154 int FirewallController::setEgressSourceRule(const char* addr, FirewallRule rule) {
178 int FirewallController::setEgressDestRule(const char* addr, int protocol, int port,
211 FirewallType FirewallController::getFirewallType(ChildChain chain) {
224 int FirewallController::setUidRule(ChildChain chain, int uid, FirewallRule rule) {
262 int FirewallController::attachChain(const char* childChain, const char* parentChain) {
266 int FirewallController::detachChain(const char* childChain, const char* parentChain) {
270 int FirewallController::createChain(const char* childChain,