Home
last modified time | relevance | path

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

/base/customization/enterprise_device_management/common/native/src/plugin_utils/
Diptables_utils.cpp28 data.WriteString(filter.srcPort); in WriteAddFilterConfig()
42 filter.srcPort = data.ReadString(); in ReadAddFilterConfig()
55 data.WriteString(filter.srcPort); in WriteRemoveFilterConfig()
67 filter.srcPort = data.ReadString(); in ReadRemoveFilterConfig()
/base/customization/enterprise_device_management/common/native/include/plugin_utils/
Diptables_utils.h37 std::string srcPort; member
/base/customization/enterprise_device_management/services/edm_plugin/src/
Diptables_rule_plugin.cpp144 ConvertPortCommand(addFilter.srcPort, true, command); in ConvertAddFilterToIptablesCommand()
155 …if (removeFilter.srcAddr.empty() && removeFilter.destAddr.empty() && removeFilter.srcPort.empty() … in ExecRemoveFilterIptablesCommand()
192 ConvertPortCommand(removeFilter.srcPort, true, command); in ExecRemoveFilterByDetailedCommand()
/base/customization/enterprise_device_management/test/unittest/edm_plugin/src/
Diptables_rule_plugin_test.cpp159 addFilter.srcPort = "999";
186 filter.srcPort = "9090";
269 filter.srcPort = "9090";
/base/customization/enterprise_device_management/interfaces/kits/network_manager/src/
Dnetwork_manager_addon.cpp390 JsObjectToString(env, object, "srcPort", false, filter.srcPort); in JsObjToAddFirewallObject()
472 JsObjectToString(env, object, "srcPort", false, firewall.srcPort); in JsObjToRemoveFirewallObject()