3 * Copyright ⓒ Samsung Electronics, Co., Ltd. All rights reserved.
5 * This software contains confidential and proprietary information
6 * of Samsung Electronics Co., Ltd.
7 * The user of this software agrees not to disclose, disseminate or copy such
8 * Confidential Information and shall use the software only in accordance with
9 * the terms of the license agreement the user entered into with Samsung.
15 #include "firewall-rule.h"
17 namespace DevicePolicyManager {
21 static int flushChain(const std::string& table, const std::string& chain);
22 static int makeChain(const std::string& table, const std::string& chain);
23 static int appendChain(const std::string& table, const std::string& chain, const std::string& rule);
24 static int applyInboundRule(const std::string& chain, const FirewallRule& rule);
25 static int applyOutboundRule(const std::string& chain, const FirewallRule& rule);
28 } // namespace DevicePolicyManager