Home
last modified time | relevance | path

Searched refs:physicalInterface (Results 1 – 4 of 4) sorted by relevance

/system/netd/server/
DNetworkController.cpp77 [[nodiscard]] int modifyFallthrough(unsigned vpnNetId, const std::string& physicalInterface,
81 [[nodiscard]] int addFallthrough(const std::string& physicalInterface,
83 [[nodiscard]] int removeFallthrough(const std::string& physicalInterface,
86 [[nodiscard]] int modifyFallthrough(const std::string& physicalInterface, Permission permission,
100 const std::string& physicalInterface, in modifyFallthrough() argument
104 physicalInterface.c_str(), in modifyFallthrough()
106 ALOGE("failed to add fallthrough to %s for VPN netId %u", physicalInterface.c_str(), in modifyFallthrough()
112 physicalInterface.c_str(), in modifyFallthrough()
114 ALOGE("failed to remove fallthrough to %s for VPN netId %u", physicalInterface.c_str(), in modifyFallthrough()
122 int NetworkController::DelegateImpl::addFallthrough(const std::string& physicalInterface, in addFallthrough() argument
[all …]
DPhysicalNetwork.h30 [[nodiscard]] virtual int addFallthrough(const std::string& physicalInterface,
32 [[nodiscard]] virtual int removeFallthrough(const std::string& physicalInterface,
DRouteController.h177 const char* physicalInterface,
180 const char* physicalInterface,
235 const char* physicalInterface, Permission permission);
240 static int modifyVpnLocalExclusionRule(bool add, const char* physicalInterface);
DRouteController.cpp681 int RouteController::modifyVpnLocalExclusionRule(bool add, const char* physicalInterface) { in modifyVpnLocalExclusionRule() argument
682 uint32_t table = getRouteTableForInterface(physicalInterface, true /* local */); in modifyVpnLocalExclusionRule()
719 const char* physicalInterface, in modifyVpnFallthroughRule() argument
721 uint32_t table = getRouteTableForInterface(physicalInterface, false /* local */); in modifyVpnFallthroughRule()
1520 int RouteController::addVirtualNetworkFallthrough(unsigned vpnNetId, const char* physicalInterface, in addVirtualNetworkFallthrough() argument
1522 if (int ret = modifyVpnFallthroughRule(RTM_NEWRULE, vpnNetId, physicalInterface, permission)) { in addVirtualNetworkFallthrough()
1526 return modifyVpnLocalExclusionRule(true /* add */, physicalInterface); in addVirtualNetworkFallthrough()
1530 const char* physicalInterface, in removeVirtualNetworkFallthrough() argument
1532 if (int ret = modifyVpnFallthroughRule(RTM_DELRULE, vpnNetId, physicalInterface, permission)) { in removeVirtualNetworkFallthrough()
1536 return modifyVpnLocalExclusionRule(false /* add */, physicalInterface); in removeVirtualNetworkFallthrough()