Searched refs:tunIface (Results 1 - 5 of 5) sorted by relevance
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/ |
H A D | clat_manager.cpp | 62 std::string tunIface = std::string(CLAT_PREFIX) + v6Iface; in ClatStart() local 63 ret = CreateAndConfigureTunIface(v6Iface, tunIface, v4Addr, netsysService, tunFd); in ClatStart() 83 ret = RouteManager::AddClatTunInterface(tunIface, DEFAULT_V4_ADDR, v4Addr.address_); in ClatStart() 88 NETNATIVE_LOGW("Add route on %{public}s failed", tunIface.c_str()); in ClatStart() 92 clatdTrackers_[v6Iface] = {v6Iface, tunIface, v4Addr, v6Addr, nat64PrefixStr, tunFd, readSock6, writeSock6}; in ClatStart() 106 RouteManager::RemoveClatTunInterface(clatdTrackers_[v6Iface].tunIface); in ClatStop() 160 int32_t ClatManager::CreateAndConfigureTunIface(const std::string &v6Iface, const std::string &tunIface, in CreateAndConfigureTunIface() argument 163 int32_t ret = CreateTunInterface(tunIface, tunFd); in CreateAndConfigureTunIface() 165 NETNATIVE_LOGW("Create tun interface %{public}s failed", tunIface.c_str()); in CreateAndConfigureTunIface() 169 uint32_t tunIfIndex = if_nametoindex(tunIface in CreateAndConfigureTunIface() [all...] |
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/ |
H A D | clat_manager_test.cpp | 121 const std::string tunIface = ""; in HWTEST_F() local 126 int32_t ret = instance_->CreateAndConfigureTunIface(v6Iface, tunIface, v4Addr, netsysService, tunFd); in HWTEST_F()
|
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/ |
H A D | clat_utils.h | 33 std::string tunIface; member 81 int32_t CreateTunInterface(const std::string &tunIface, int &fd);
|
/foundation/communication/netmanager_base/services/netmanagernative/include/manager/ |
H A D | clat_manager.h | 46 int32_t CreateAndConfigureTunIface(const std::string &v6Iface, const std::string &tunIface, const INetAddr &v4Addr,
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | clat_utils.cpp | 264 int32_t CreateTunInterface(const std::string &tunIface, int &fd) in CreateTunInterface() argument 275 if (strncpy_s(ifr.ifr_name, IFNAMSIZ, tunIface.c_str(), tunIface.length()) != EOK) { in CreateTunInterface()
|
Completed in 3 milliseconds