• Home
  • Raw
  • Download

Lines Matching refs:iptablesRuleExists

1303         EXPECT_FALSE(iptablesRuleExists(binary, STRICT_OUTPUT, uidRule));  in expectStrictSetUidAccept()
1304 EXPECT_FALSE(iptablesRuleExists(binary, STRICT_CLEAR_CAUGHT, uidRule)); in expectStrictSetUidAccept()
1314 EXPECT_TRUE(iptablesRuleExists(binary, STRICT_OUTPUT, uidRule)); in expectStrictSetUidLog()
1315 EXPECT_TRUE(iptablesRuleExists(binary, STRICT_CLEAR_CAUGHT, uidRule)); in expectStrictSetUidLog()
1316 EXPECT_TRUE(iptablesRuleExists(binary, perUidChain.c_str(), logRule)); in expectStrictSetUidLog()
1325 EXPECT_TRUE(iptablesRuleExists(binary, STRICT_OUTPUT, uidRule)); in expectStrictSetUidReject()
1326 EXPECT_TRUE(iptablesRuleExists(binary, STRICT_CLEAR_CAUGHT, uidRule)); in expectStrictSetUidReject()
1327 EXPECT_TRUE(iptablesRuleExists(binary, perUidChain.c_str(), rejectRule)); in expectStrictSetUidReject()
1641 EXPECT_TRUE(iptablesRuleExists(binary, BANDWIDTH_COSTLY_IF.c_str(), BANDWIDTH_NAUGHTY)); in expectBandwidthInterfaceQuotaRuleExists()
1642 EXPECT_TRUE(iptablesRuleExists(binary, BANDWIDTH_COSTLY_IF.c_str(), quotaRule)); in expectBandwidthInterfaceQuotaRuleExists()
1658 EXPECT_FALSE(iptablesRuleExists(binary, BANDWIDTH_COSTLY_IF.c_str(), BANDWIDTH_NAUGHTY)); in expectBandwidthInterfaceQuotaRuleDoesNotExist()
1659 EXPECT_FALSE(iptablesRuleExists(binary, BANDWIDTH_COSTLY_IF.c_str(), quotaRule)); in expectBandwidthInterfaceQuotaRuleDoesNotExist()
1669 EXPECT_TRUE(iptablesRuleExists(binary, BANDWIDTH_COSTLY_IF.c_str(), alertRule)); in expectBandwidthInterfaceAlertRuleExists()
1679 EXPECT_FALSE(iptablesRuleExists(binary, BANDWIDTH_COSTLY_IF.c_str(), alertRule)); in expectBandwidthInterfaceAlertRuleDoesNotExist()
1688 EXPECT_TRUE(iptablesRuleExists(binary, BANDWIDTH_ALERT, globalAlertRule)); in expectBandwidthGlobalAlertRuleExists()
2416 EXPECT_TRUE(iptablesRuleExists(binary, FIREWALL_INPUT, dropRule)); in expectFirewallAllowlistMode()
2417 EXPECT_TRUE(iptablesRuleExists(binary, FIREWALL_OUTPUT, rejectRule)); in expectFirewallAllowlistMode()
2418 EXPECT_TRUE(iptablesRuleExists(binary, FIREWALL_FORWARD, rejectRule)); in expectFirewallAllowlistMode()