Home
last modified time | relevance | path

Searched refs:INPUT (Results 1 – 5 of 5) sorted by relevance

/base/customization/enterprise_device_management/test/unittest/edm_plugin/src/
Diptables_rule_plugin_test.cpp54 removeFilter.direction = IPTABLES::Direction::INPUT; in ResetIptablesRule()
152 addFilter.direction = IPTABLES::Direction::INPUT;
183 filter.direction = IPTABLES::Direction::INPUT;
228 filter.direction = IPTABLES::Direction::INPUT;
248 ErrCode ret = plugin->ExecRemoveFilterBySimpleCommand(IPTABLES::Direction::INPUT);
266 filter.direction = IPTABLES::Direction::INPUT;
291 …bool ret = plugin->ConvertChainCommand(IPTABLES::Action::ALLOW, IPTABLES::Direction::INPUT, comman…
295 ret = plugin->ConvertChainCommand(IPTABLES::Action::DENY, IPTABLES::Direction::INPUT, command);
/base/customization/enterprise_device_management/common/native/include/plugin_utils/
Diptables_utils.h28 enum class Direction { INVALID = -1, INPUT, OUTPUT }; enumerator
/base/customization/enterprise_device_management/services/edm_plugin/src/
Diptables_rule_plugin.cpp168 case IPTABLES::Direction::INPUT: in ExecRemoveFilterBySimpleCommand()
203 if (action == IPTABLES::Action::ALLOW && direction == IPTABLES::Direction::INPUT) { in ConvertChainCommand()
207 } else if (action == IPTABLES::Action::DENY && direction == IPTABLES::Direction::INPUT) { in ConvertChainCommand()
/base/customization/enterprise_device_management/common/native/src/plugin_utils/
Diptables_utils.cpp95 …if (type >= static_cast<int32_t>(Direction::INPUT) && type <= static_cast<int32_t>(Direction::OUTP… in ProcessFirewallDirection()
/base/customization/enterprise_device_management/interfaces/kits/network_manager/src/
Dnetwork_manager_addon.cpp57 …ETURN_VOID(env, napi_create_int32(env, static_cast<int32_t>(IPTABLES::Direction::INPUT), &nInput)); in CreateFirewallDirectionObject()