/foundation/communication/netmanager_base/services/netmanagernative/src/manager/ |
H A D | bandwidth_manager.cpp | 123 (IptablesWrapper::GetInstance()->RunCommand(IPTYPE_IPV4, command) == NETMANAGER_ERROR); in InitDefaultBwChainRules() 127 (IptablesWrapper::GetInstance()->RunCommand(IPTYPE_IPV4, command) == NETMANAGER_ERROR); in InitDefaultBwChainRules() 133 (IptablesWrapper::GetInstance()->RunCommand(IPTYPE_IPV4, command) == NETMANAGER_ERROR); in InitDefaultBwChainRules() 137 (IptablesWrapper::GetInstance()->RunCommand(IPTYPE_IPV4, command) == NETMANAGER_ERROR); in InitDefaultBwChainRules() 157 (IptablesWrapper::GetInstance()->RunCommand(IPTYPE_IPV4, command) == NETMANAGER_ERROR); in InitDefaultListBoxChainRules() 162 (IptablesWrapper::GetInstance()->RunCommand(IPTYPE_IPV4, command) == NETMANAGER_ERROR); in InitDefaultListBoxChainRules() 166 (IptablesWrapper::GetInstance()->RunCommand(IPTYPE_IPV4, command) == NETMANAGER_ERROR); in InitDefaultListBoxChainRules() 184 (IptablesWrapper::GetInstance()->RunCommand(IPTYPE_IPV4, command) == NETMANAGER_ERROR); in InitDefaultAlertChainRules() 189 (IptablesWrapper::GetInstance()->RunCommand(IPTYPE_IPV4, command) == NETMANAGER_ERROR); in InitDefaultAlertChainRules() 209 return IptablesWrapper::GetInstance()->RunCommand(IPTYPE_IPV4, comman in IptablesNewChain() [all...] |
H A D | wearable_distributed_net_manager.cpp | 212 IptablesWrapper::GetInstance()->RunCommandForRes(OHOS::nmd::IpType::IPTYPE_IPV4, cmd); in RunCommandResult()
|
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/ |
H A D | iptables_wrapper_test.cpp | 53 std::string str = wrapper->RunCommandForRes(IpType::IPTYPE_IPV4, comdLine); in HWTEST_F() 56 int32_t ret = wrapper->RunCommand(IpType::IPTYPE_IPV4, comdLine); in HWTEST_F() 65 IpType ipType = IpType::IPTYPE_IPV4; in HWTEST_F() 74 IpType ipType = IpType::IPTYPE_IPV4; in HWTEST_F()
|
H A D | netsys_native_service_test.cpp | 599 IptablesType ipType = IptablesType::IPTYPE_IPV4; in HWTEST_F() 608 IptablesType ipType = IptablesType::IPTYPE_IPV4; in HWTEST_F() 623 IptablesType ipType = IptablesType::IPTYPE_IPV4; in HWTEST_F()
|
H A D | netsys_controller_service_impl_test.cpp | 531 NetsysNative::IptablesType ipType = NetsysNative::IptablesType::IPTYPE_IPV4; in HWTEST_F()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | iptables_wrapper.cpp | 72 if (isIptablesSystemAccess_ && (ipType == IPTYPE_IPV4 || ipType == IPTYPE_IPV4V6)) { in RunCommand() 103 if (ipType == IPTYPE_IPV4 || ipType == IPTYPE_IPV4V6) { in RunCommandForRes() 137 if (isIptablesSystemAccess_ && (ipType == IPTYPE_IPV4 || ipType == IPTYPE_IPV4V6)) { in RunMutipleCommands()
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/ |
H A D | if_config_test.cpp | 65 int ipType = static_cast<int>(IpType::IPTYPE_IPV4); in HWTEST_F() 85 * @tc.desc: test with IpType IPTYPE_IPV4 95 int ipType = static_cast<int>(IpType::IPTYPE_IPV4); in HWTEST_F()
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/ |
H A D | mock_if_config.h | 23 IPTYPE_IPV4, enumerator
|
/foundation/communication/netmanager_base/test/netmanagernative/unittest/wearable_distributed_net_manager_test/ |
H A D | wearable_distributed_net_manager_test.cpp | 138 IptablesWrapper::GetInstance()->RunCommandForRes(OHOS::nmd::IpType::IPTYPE_IPV4, in AddTcpChain() 144 IptablesWrapper::GetInstance()->RunCommandForRes(OHOS::nmd::IpType::IPTYPE_IPV4, in DeleteTcpRule() 146 IptablesWrapper::GetInstance()->RunCommandForRes(OHOS::nmd::IpType::IPTYPE_IPV4, in DeleteTcpRule() 162 IptablesWrapper::GetInstance()->RunCommandForRes(OHOS::nmd::IpType::IPTYPE_IPV4, in AddUdpChain() 168 IptablesWrapper::GetInstance()->RunCommandForRes(OHOS::nmd::IpType::IPTYPE_IPV4, in DeleteUdpRule() 170 IptablesWrapper::GetInstance()->RunCommandForRes(OHOS::nmd::IpType::IPTYPE_IPV4, in DeleteUdpRule()
|
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/ |
H A D | iptables_wrapper.h | 36 IPTYPE_IPV4 = 1, enumerator
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/ |
H A D | if_config.h | 28 IPTYPE_IPV4, enumerator
|
H A D | if_config.cpp | 123 if (ipType != static_cast<int>(IpType::IPTYPE_IPV4)) { in FlushIpAddr() 166 if (ipType == static_cast<int>(IpType::IPTYPE_IPV4)) { in AddIpAddr() 351 if (ipType == static_cast<int>(IpType::IPTYPE_IPV4)) { in AddIfRoute()
|
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/ |
H A D | i_netsys_service.h | 46 IPTYPE_IPV4 = 1, enumerator 155 IptablesType ipType = IPTYPE_IPV4) = 0;
|
/foundation/communication/netmanager_base/services/netsyscontroller/include/ |
H A D | netsys_controller.h | 759 NetsysNative::IptablesType ipType = NetsysNative::IPTYPE_IPV4);
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/ |
H A D | p2p_group_operating_state.cpp | 253 IfConfig::GetInstance().FlushIpAddr(groupManager.GetCurrentGroup().GetInterface(), IpType::IPTYPE_IPV4); in ProcessGroupRemovedEvt()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta/ |
H A D | sta_state_machine.cpp | 120 lastSignalLevel_(INVALID_SIGNAL_LEVEL), targetRoamBssid(WPA_BSSID_ANY), currentTpType(IPTYPE_IPV4), in StaStateMachine() 810 if (currentTpType == IPTYPE_IPV4) { in StopWifiProcess() 821 IfConfig::GetInstance().FlushIpAddr(WifiConfigCenter::GetInstance().GetStaIfaceName(m_instId), IPTYPE_IPV4); in StopWifiProcess() local 1377 if (currentTpType == IPTYPE_IPV4) { in DealDisconnectEvent() 1391 IfConfig::GetInstance().FlushIpAddr(WifiConfigCenter::GetInstance().GetStaIfaceName(m_instId), IPTYPE_IPV4); in DealDisconnectEvent() local 3069 if (pStaStateMachine->currentTpType == IPTYPE_IPV4) { in GoInState() 3267 case IPTYPE_IPV4: { in ConfigStaticIpAddress() 3268 result.iptype = IPTYPE_IPV4; in ConfigStaticIpAddress() 3317 result.iptype = IPTYPE_IPV4; in ConfigStaticIpAddress()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/ |
H A D | netsys_native_service.cpp | 764 case IptablesType::IPTYPE_IPV4: in SetIptablesCommandForRes() 765 respond = iptablesWrapper_->RunCommandForRes(OHOS::nmd::IpType::IPTYPE_IPV4, cmd); in SetIptablesCommandForRes()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p_sa/ |
H A D | wifi_p2p_service_impl.cpp | 1245 IfConfig::GetInstance().AddIpAddr(ifName, ipInfo.ip, ipInfo.netmask, IpType::IPTYPE_IPV4); in Hid2dConfigIPAddr() 1268 IfConfig::GetInstance().FlushIpAddr(ifName, IpType::IPTYPE_IPV4); in Hid2dReleaseIPAddr()
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/ |
H A D | sta_state_machine_test.cpp | 300 pStaStateMachine->currentTpType = IPTYPE_IPV4; in StopWifiProcessSuccess1() 456 pStaStateMachine->currentTpType = IPTYPE_IPV4; in DealDisconnectEventSuccess1() 1070 EXPECT_CALL(WifiSettings::GetInstance(), GetDhcpIpType(_)).WillRepeatedly(Return(IPTYPE_IPV4)); in GetIpStateStateGoInStateSuccess3() 1129 pStaStateMachine->currentTpType = IPTYPE_IPV4; in ConfigStaticIpAddressSuccess1()
|
/foundation/communication/wifi/wifi/test/wifi_standard/precompiled_macro/ |
H A D | sta_state_machine_test.cpp | 94 pStaStateMachine->currentTpType = IPTYPE_IPV4; in ConfigStaticIpAddressSuccess1()
|