Home
last modified time | relevance | path

Searched refs:IPTYPE_IPV4 (Results 1 - 20 of 20) sorted by relevance

/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Dbandwidth_manager.cpp123 (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 Dwearable_distributed_net_manager.cpp212 IptablesWrapper::GetInstance()->RunCommandForRes(OHOS::nmd::IpType::IPTYPE_IPV4, cmd); in RunCommandResult()
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
H A Diptables_wrapper_test.cpp53 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 Dnetsys_native_service_test.cpp599 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 Dnetsys_controller_service_impl_test.cpp531 NetsysNative::IptablesType ipType = NetsysNative::IptablesType::IPTYPE_IPV4; in HWTEST_F()
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Diptables_wrapper.cpp72 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 Dif_config_test.cpp65 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 Dmock_if_config.h23 IPTYPE_IPV4, enumerator
/foundation/communication/netmanager_base/test/netmanagernative/unittest/wearable_distributed_net_manager_test/
H A Dwearable_distributed_net_manager_test.cpp138 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 Diptables_wrapper.h36 IPTYPE_IPV4 = 1, enumerator
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/
H A Dif_config.h28 IPTYPE_IPV4, enumerator
H A Dif_config.cpp123 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 Di_netsys_service.h46 IPTYPE_IPV4 = 1, enumerator
155 IptablesType ipType = IPTYPE_IPV4) = 0;
/foundation/communication/netmanager_base/services/netsyscontroller/include/
H A Dnetsys_controller.h759 NetsysNative::IptablesType ipType = NetsysNative::IPTYPE_IPV4);
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dp2p_group_operating_state.cpp253 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 Dsta_state_machine.cpp120 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 Dnetsys_native_service.cpp764 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 Dwifi_p2p_service_impl.cpp1245 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 Dsta_state_machine_test.cpp300 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 Dsta_state_machine_test.cpp94 pStaStateMachine->currentTpType = IPTYPE_IPV4; in ConfigStaticIpAddressSuccess1()

Completed in 26 milliseconds