Searched refs:SetForwardRules (Results 1 - 3 of 3) sorted by relevance
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/ |
H A D | sharing_manager.cpp | 285 SetForwardRules(true, FORWARD_JUMP_TETHERCTRL_FORWARD); in IpfwdAddInterfaceForward() 295 if (SetForwardRules(true, SetTetherctrlForward1(toIface, fromIface))) { in IpfwdAddInterfaceForward() 302 if (SetForwardRules(true, SetTetherctrlForward2(toIface, fromIface))) { in IpfwdAddInterfaceForward() 310 if (SetForwardRules(true, SetTetherctrlForward3(toIface, fromIface))) { in IpfwdAddInterfaceForward() 318 if (SetForwardRules(true, SET_TETHERCTRL_FORWARD_DROP)) { in IpfwdAddInterfaceForward() 326 if (SetForwardRules(true, SetTetherctrlCounters1(fromIface, toIface))) { in IpfwdAddInterfaceForward() 334 if (SetForwardRules(true, SetTetherctrlCounters2(fromIface, toIface))) { in IpfwdAddInterfaceForward() 361 SetForwardRules(false, SetTetherctrlForward1(toIface, fromIface)); in IpfwdRemoveInterfaceForward() 362 SetForwardRules(false, SetTetherctrlForward2(toIface, fromIface)); in IpfwdRemoveInterfaceForward() 363 SetForwardRules(fals in IpfwdRemoveInterfaceForward() 437 int32_t SharingManager::SetForwardRules(bool set, const std::string &cmds) SetForwardRules() function in OHOS::nmd::SharingManager [all...] |
/foundation/communication/netmanager_base/services/netmanagernative/include/manager/ |
H A D | sharing_manager.h | 111 int32_t SetForwardRules(bool set, const std::string &cmds);
|
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/ |
H A D | sharing_manager_test.cpp | 166 ret = sharingManager->SetForwardRules(false, " tetherctrl_FORWARD -j DROP"); in HWTEST_F()
|
Completed in 2 milliseconds