Home
last modified time | relevance | path

Searched refs:removeFilter (Results 1 – 6 of 6) sorted by relevance

/base/customization/enterprise_device_management/services/edm_plugin/src/
Diptables_rule_plugin.cpp91 IPTABLES::RemoveFilter removeFilter; in RemoveIptablesFilterRule() local
92 IPTABLES::IptablesUtils::ReadRemoveFilterConfig(removeFilter, data); in RemoveIptablesFilterRule()
93 return ExecRemoveFilterIptablesCommand(removeFilter); in RemoveIptablesFilterRule()
150 …ode IptablesRulePlugin::ExecRemoveFilterIptablesCommand(const IPTABLES::RemoveFilter &removeFilter) in ExecRemoveFilterIptablesCommand() argument
152 if (removeFilter.direction == IPTABLES::Direction::INVALID) { in ExecRemoveFilterIptablesCommand()
155 …if (removeFilter.srcAddr.empty() && removeFilter.destAddr.empty() && removeFilter.srcPort.empty() … in ExecRemoveFilterIptablesCommand()
156removeFilter.destPort.empty() && removeFilter.uid.empty() && removeFilter.action == IPTABLES::Acti… in ExecRemoveFilterIptablesCommand()
157 removeFilter.protocol == IPTABLES::Protocol::INVALID) { in ExecRemoveFilterIptablesCommand()
158 return ExecRemoveFilterBySimpleCommand(removeFilter.direction); in ExecRemoveFilterIptablesCommand()
160 return ExecRemoveFilterByDetailedCommand(removeFilter); in ExecRemoveFilterIptablesCommand()
[all …]
/base/customization/enterprise_device_management/services/edm_plugin/include/
Diptables_rule_plugin.h47 ErrCode ExecRemoveFilterIptablesCommand(const IPTABLES::RemoveFilter &removeFilter);
49 ErrCode ExecRemoveFilterByDetailedCommand(const IPTABLES::RemoveFilter &removeFilter);
/base/customization/enterprise_device_management/interfaces/kits/network_manager/include/
Dnetwork_manager_addon.h49 IPTABLES::RemoveFilter removeFilter; member
84 …JsObjToRemoveFirewallObject(napi_env env, napi_value object, IPTABLES::RemoveFilter &removeFilter);
/base/customization/enterprise_device_management/test/unittest/network_manager_proxy/network_manager_proxy_test/
Dnetwork_manager_proxy_test.cpp245 IPTABLES::RemoveFilter removeFilter; variable
246 int32_t ret = networkManagerProxy->RemoveIptablesFilterRule(admin, removeFilter);
260 IPTABLES::RemoveFilter removeFilter; variable
261 int32_t ret = networkManagerProxy->RemoveIptablesFilterRule(admin, removeFilter);
/base/customization/enterprise_device_management/test/unittest/edm_plugin/src/
Diptables_rule_plugin_test.cpp53 IPTABLES::RemoveFilter removeFilter; in ResetIptablesRule() local
54 removeFilter.direction = IPTABLES::Direction::INPUT; in ResetIptablesRule()
57 IPTABLES::IptablesUtils::WriteRemoveFilterConfig(removeFilter, removeData); in ResetIptablesRule()
/base/customization/enterprise_device_management/interfaces/kits/network_manager/src/
Dnetwork_manager_addon.cpp457 …JsObjToRemoveFirewallObject(env, argv[ARR_INDEX_ONE], asyncCallbackInfo->removeFilter), "firewall … in RemoveIptablesFilterRule()
500 …erProxy->RemoveIptablesFilterRule(asyncCallbackInfo->elementName, asyncCallbackInfo->removeFilter); in NativeRemoveIptalbsFilterRule()