Home
last modified time | relevance | path

Searched refs:firewallCtrl (Results 1 – 3 of 3) sorted by relevance

/system/netd/server/
DControllers.h49 FirewallController firewallCtrl; variable
DNetdNativeService.cpp251 NETD_LOCKING_RPC(gCtls->firewallCtrl.lock, PERM_CONNECTIVITY_INTERNAL, in firewallReplaceUidChain()
253 int err = gCtls->firewallCtrl.replaceUidChain(chainName, isWhitelist, uids); in firewallReplaceUidChain()
1096 NETD_LOCKING_RPC(gCtls->firewallCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in firewallSetFirewallType()
1099 int res = gCtls->firewallCtrl.setFirewallType(type); in firewallSetFirewallType()
1105 NETD_LOCKING_RPC(gCtls->firewallCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in firewallSetInterfaceRule()
1108 int res = gCtls->firewallCtrl.setInterfaceRule(ifName.c_str(), rule); in firewallSetInterfaceRule()
1114 NETD_LOCKING_RPC(gCtls->firewallCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in firewallSetUidRule()
1118 int res = gCtls->firewallCtrl.setUidRule(chain, uid, rule); in firewallSetUidRule()
1123 NETD_LOCKING_RPC(gCtls->firewallCtrl.lock, PERM_NETWORK_STACK, PERM_MAINLINE_NETWORK_STACK); in firewallEnableChildChain()
1126 int res = gCtls->firewallCtrl.enableChildChains(chain, enable); in firewallEnableChildChain()
DControllers.cpp249 firewallCtrl.setupIptablesHooks(); in initIptablesRules()