OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ChildChain
(Results
1 - 4
of
4
) sorted by null
/system/netd/server/
FirewallController.h
34
enum
ChildChain
{ NONE, DOZABLE, STANDBY, POWERSAVE, INVALID_CHAIN };
64
int setUidRule(
ChildChain
, int, FirewallRule);
66
int enableChildChains(
ChildChain
, bool);
97
FirewallType getFirewallType(
ChildChain
);
FirewallController.cpp
111
int FirewallController::enableChildChains(
ChildChain
chain, bool enable) {
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) {
284
return execIptables(V4V6, "-t", TABLE, "-A", parentChain, "-j",
childChain
, NULL);
287
int FirewallController::detachChain(const char*
childChain
, const char* parentChain) {
288
return execIptables(V4V6, "-t", TABLE, "-D", parentChain, "-j",
childChain
, NULL);
291
int FirewallController::createChain(const char*
childChain
,
293
execIptablesSilently(V4V6, "-t", TABLE, "-D", parentChain, "-j",
childChain
, NULL);
295
return replaceUidChain(
childChain
, type == WHITELIST, uids)
[
all
...]
CommandListener.h
135
static
ChildChain
parseChildChain(const char* arg);
CommandListener.cpp
163
const char**
childChain
= childChains;
173
execIptablesSilently(target, "-t", table, "-D", parentChain, "-j", *
childChain
, NULL);
174
execIptablesSilently(target, "-t", table, "-F", *
childChain
, NULL);
175
execIptablesSilently(target, "-t", table, "-X", *
childChain
, NULL);
176
execIptables(target, "-t", table, "-N", *
childChain
, NULL);
177
execIptables(target, "-t", table, "-A", parentChain, "-j", *
childChain
, NULL);
178
} while (*(++
childChain
) != NULL);
[
all
...]
Completed in 1524 milliseconds