HomeSort by relevance Sort by last modified time
    Searched full:chainname (Results 1 - 13 of 13) sorted by null

  /external/iptables/extensions/
libxt_TRACE.man 7 "TRACE: tablename:chainname:type:rulenum " where type can be "rule" for
  /system/netd/tests/
binder_test.cpp 178 static std::vector<std::string> listIptablesRule(const char *binary, const char *chainName) {
179 std::string command = StringPrintf("%s -w -n -L %s", binary, chainName);
183 static int iptablesRuleLineLength(const char *binary, const char *chainName) {
184 return listIptablesRule(binary, chainName).size();
188 const char *chainName,
190 std::vector<std::string> rules = listIptablesRule(binary, chainName);
199 static bool iptablesNoSocketAllowRuleExists(const char *chainName){
200 return iptablesRuleExists(IPTABLES_PATH, chainName, NO_SOCKET_ALLOW_RULE) &&
201 iptablesRuleExists(IP6TABLES_PATH, chainName, NO_SOCKET_ALLOW_RULE);
204 static bool iptablesEspAllowRuleExists(const char *chainName){
    [all...]
  /system/netd/server/
BandwidthController.cpp 321 const char *chainName = "bw_data_saver";
324 FirewallController::makeCriticalCommands(target, chainName) : "";
330 "COMMIT\n", chainName, criticalCommands.c_str(), chainName, op);
786 std::string chainName = "bw_costly_" + costName;
792 StringPrintf(ALERT_IPT_TEMPLATE, "-A", chainName.c_str(), bytes, alertName.c_str()),
818 std::string chainName = "bw_costly_" + costName;
821 StringPrintf(ALERT_IPT_TEMPLATE, "-D", chainName.c_str(), *alertBytes, alertName.c_str()),
850 std::string chainName;
855 chainName = rule.substr(NEW_CHAIN_COMMAND.size())
    [all...]
FirewallController.cpp 250 for (std::string chainName : chainNames) {
252 op, chainName.c_str(), uid, target);
265 std::string FirewallController::makeCriticalCommands(IptablesTarget target, const char* chainName) {
271 chainName, ICMPV6_TYPES[i]);
FirewallController.h 67 static std::string makeCriticalCommands(IptablesTarget target, const char* chainName);
NetdNativeService.h 40 const String16& chainName, bool isWhitelist,
NetdNativeService.cpp 166 binder::Status NetdNativeService::firewallReplaceUidChain(const android::String16& chainName,
170 android::String8 name = android::String8(chainName);
  /external/iptables/iptables/
ip6tables.c 398 parse_chain(const char *chainname)
402 if (strlen(chainname) >= XT_EXTENSION_MAXNAMELEN)
405 chainname, XT_EXTENSION_MAXNAMELEN);
407 if (*chainname == '-' || *chainname == '!')
410 "with `%c'\n", *chainname);
412 if (xtables_find_target(chainname, XTF_TRY_LOAD))
417 for (ptr = chainname; *ptr; ptr++)
420 "Invalid chain name `%s'", chainname);
    [all...]
iptables.c 383 parse_chain(const char *chainname)
387 if (strlen(chainname) >= XT_EXTENSION_MAXNAMELEN)
390 chainname, XT_EXTENSION_MAXNAMELEN);
392 if (*chainname == '-' || *chainname == '!')
395 "with `%c'\n", *chainname);
397 if (xtables_find_target(chainname, XTF_TRY_LOAD))
402 for (ptr = chainname; *ptr; ptr++)
405 "Invalid chain name `%s'", chainname);
    [all...]
xtables-eb.c 792 /* We allow -N chainname -P policy */
    [all...]
  /frameworks/base/services/core/java/com/android/server/
NetworkManagementService.java     [all...]
  /system/netd/server/binder/android/net/
INetd.aidl 37 * @param chainName The name of the chain to replace.
42 boolean firewallReplaceUidChain(String chainName, boolean isWhitelist, in int[] uids);
  /libcore/ojluni/src/main/native/
zip_util.c 730 const char* chainName = cenStart + CENHDR;
731 if (strncmp(entryName, chainName, nlen) == 0) {
    [all...]

Completed in 785 milliseconds