/system/netd/resolv/aidl/dnsresolver/1/android/net/ |
D | IDnsResolver.aidl | 6 …void getResolverInfo(int netId, out @utf8InCpp String[] servers, out @utf8InCpp String[] domains, … in getResolverInfo() 7 void startPrefix64Discovery(int netId); in startPrefix64Discovery() 8 void stopPrefix64Discovery(int netId); in stopPrefix64Discovery() 9 @utf8InCpp String getPrefix64(int netId); in getPrefix64() 10 void createNetworkCache(int netId); in createNetworkCache() 11 void destroyNetworkCache(int netId); in destroyNetworkCache()
|
/system/netd/server/ |
D | NetdHwService.cpp | 66 unsigned netId; in createOemNetwork() local 82 #define RETURN_IF_NOT_OEM_NETWORK(netId) \ argument 89 unsigned netId = netHandleToNetId(netHandle); in destroyOemNetwork() local 107 unsigned netId = netHandleToNetId(networkHandle); in addRouteToOemNetwork() local 117 unsigned netId = netHandleToNetId(networkHandle); in removeRouteFromOemNetwork() local 126 unsigned netId = netHandleToNetId(networkHandle); in addInterfaceToOemNetwork() local 134 unsigned netId = netHandleToNetId(networkHandle); in removeInterfaceFromOemNetwork() local
|
D | NetworkController.cpp | 153 int NetworkController::setDefaultNetwork(unsigned netId) { in setDefaultNetwork() 190 uint32_t NetworkController::getNetworkForDnsLocked(unsigned* netId, uid_t uid) const { in getNetworkForDnsLocked() 239 uint32_t NetworkController::getNetworkForDns(unsigned* netId, uid_t uid) const { in getNetworkForDns() 282 unsigned netId, uid_t uid, struct android_net_context* netcontext) const { in getNetworkContext() 354 int NetworkController::createPhysicalNetworkLocked(unsigned netId, Permission permission) { in createPhysicalNetworkLocked() 380 int NetworkController::createPhysicalNetwork(unsigned netId, Permission permission) { in createPhysicalNetwork() 411 int NetworkController::createVirtualNetwork(unsigned netId, bool secure) { in createVirtualNetwork() 431 int NetworkController::destroyNetwork(unsigned netId) { in destroyNetwork() 483 int NetworkController::addInterfaceToNetwork(unsigned netId, const char* interface) { in addInterfaceToNetwork() 510 int NetworkController::removeInterfaceFromNetwork(unsigned netId, const char* interface) { in removeInterfaceFromNetwork() [all …]
|
D | PhysicalNetwork.cpp | 31 WARN_UNUSED_RESULT int addToDefault(unsigned netId, const std::string& interface, in addToDefault() 43 WARN_UNUSED_RESULT int removeFromDefault(unsigned netId, const std::string& interface, in removeFromDefault() 62 PhysicalNetwork::PhysicalNetwork(unsigned netId, PhysicalNetwork::Delegate* delegate) : in PhysicalNetwork()
|
D | RouteController.cpp | 443 WARN_UNUSED_RESULT int modifyIncomingPacketMark(unsigned netId, const char* interface, in modifyIncomingPacketMark() 508 WARN_UNUSED_RESULT int modifyVpnSystemPermissionRule(unsigned netId, uint32_t table, bool secure, in modifyVpnSystemPermissionRule() 532 WARN_UNUSED_RESULT int modifyExplicitNetworkRule(unsigned netId, uint32_t table, in modifyExplicitNetworkRule() 584 WARN_UNUSED_RESULT int modifyImplicitNetworkRule(unsigned netId, uint32_t table, bool add) { in modifyImplicitNetworkRule() 713 WARN_UNUSED_RESULT int modifyLocalNetwork(unsigned netId, const char* interface, bool add) { in modifyLocalNetwork() 722 WARN_UNUSED_RESULT int RouteController::modifyPhysicalNetwork(unsigned netId, const char* interface, in modifyPhysicalNetwork() 784 WARN_UNUSED_RESULT int RouteController::modifyVirtualNetwork(unsigned netId, const char* interface, in modifyVirtualNetwork() 970 int RouteController::addInterfaceToLocalNetwork(unsigned netId, const char* interface) { in addInterfaceToLocalNetwork() 974 int RouteController::removeInterfaceFromLocalNetwork(unsigned netId, const char* interface) { in removeInterfaceFromLocalNetwork() 978 int RouteController::addInterfaceToPhysicalNetwork(unsigned netId, const char* interface, in addInterfaceToPhysicalNetwork() [all …]
|
D | DummyNetwork.cpp | 30 DummyNetwork::DummyNetwork(unsigned netId) : Network(netId) { in DummyNetwork()
|
D | NdcDispatcher.cpp | 479 unsigned netId = stringToNetId(argv[3]); in runCommand() local 998 unsigned netId = stringToNetId(argv[nextArg++]); in runCommand() local 1029 unsigned netId = stringToNetId(argv[3]); in runCommand() local 1055 unsigned netId = stringToNetId(argv[2]); in runCommand() local 1086 unsigned netId = stringToNetId(argv[2]); in runCommand() local 1103 unsigned netId = NETID_UNSET; in runCommand() local 1167 for (auto netId : ids) { in runCommand() local 1185 unsigned netId = stringToNetId(argv[3]); in runCommand() local
|
D | LocalNetwork.cpp | 27 LocalNetwork::LocalNetwork(unsigned netId) : Network(netId) { in LocalNetwork()
|
D | NetdNativeService.cpp | 326 binder::Status NetdNativeService::networkCreatePhysical(int32_t netId, int32_t permission) { in networkCreatePhysical() 332 binder::Status NetdNativeService::networkCreateVpn(int32_t netId, bool secure) { in networkCreateVpn() 338 binder::Status NetdNativeService::networkDestroy(int32_t netId) { in networkDestroy() 345 binder::Status NetdNativeService::networkAddInterface(int32_t netId, const std::string& iface) { in networkAddInterface() 351 binder::Status NetdNativeService::networkRemoveInterface(int32_t netId, const std::string& iface) { in networkRemoveInterface() 358 int32_t netId, const std::vector<UidRangeParcel>& uidRangeArray) { in networkAddUidRanges() 366 int32_t netId, const std::vector<UidRangeParcel>& uidRangeArray) { in networkRemoveUidRanges() 951 binder::Status NetdNativeService::tetherDnsSet(int32_t netId, in tetherDnsSet() 966 binder::Status NetdNativeService::networkAddRoute(int32_t netId, const std::string& ifName, in networkAddRoute() 978 binder::Status NetdNativeService::networkRemoveRoute(int32_t netId, const std::string& ifName, in networkRemoveRoute() [all …]
|
D | Network.cpp | 90 Network::Network(unsigned netId) : mNetId(netId) { in Network()
|
/system/netd/resolv/binder/android/net/ |
D | IDnsResolver.aidl | 100 void getResolverInfo(int netId, out @utf8InCpp String[] servers, in getResolverInfo() 109 void startPrefix64Discovery(int netId); in startPrefix64Discovery() 116 void stopPrefix64Discovery(int netId); in stopPrefix64Discovery() 130 @utf8InCpp String getPrefix64(int netId); in getPrefix64() 139 void createNetworkCache(int netId); in createNetworkCache() 146 void destroyNetworkCache(int netId); in destroyNetworkCache()
|
/system/netd/resolv/aidl/dnsresolver/2/android/net/ |
D | IDnsResolver.aidl | 23 …void getResolverInfo(int netId, out @utf8InCpp String[] servers, out @utf8InCpp String[] domains, … in getResolverInfo() 24 void startPrefix64Discovery(int netId); in startPrefix64Discovery() 25 void stopPrefix64Discovery(int netId); in stopPrefix64Discovery() 26 @utf8InCpp String getPrefix64(int netId); in getPrefix64() 27 void createNetworkCache(int netId); in createNetworkCache() 28 void destroyNetworkCache(int netId); in destroyNetworkCache()
|
/system/netd/resolv/ |
D | ResolverController.cpp | 97 int getDnsInfo(unsigned netId, std::vector<std::string>* servers, std::vector<std::string>* domains, in getDnsInfo() 179 [](uint32_t netId, uint32_t uid, android_net_context* netcontext) { in ResolverController() 184 void ResolverController::destroyNetworkCache(unsigned netId) { in destroyNetworkCache() 192 int ResolverController::createNetworkCache(unsigned netId) { in createNetworkCache() 247 int ResolverController::getResolverInfo(int32_t netId, std::vector<std::string>* servers, in getResolverInfo() 282 void ResolverController::startPrefix64Discovery(int32_t netId) { in startPrefix64Discovery() 286 void ResolverController::stopPrefix64Discovery(int32_t netId) { in stopPrefix64Discovery() 291 int ResolverController::getPrefix64(unsigned netId, netdutils::IPPrefix* prefix) { in getPrefix64() 302 void ResolverController::dump(DumpWriter& dw, unsigned netId) { in dump()
|
D | DnsResolverService.cpp | 109 for (auto netId : resolv_list_caches()) { in dump() local 230 int32_t netId, std::vector<std::string>* servers, std::vector<std::string>* domains, in getResolverInfo() 242 ::ndk::ScopedAStatus DnsResolverService::startPrefix64Discovery(int32_t netId) { in startPrefix64Discovery() 251 ::ndk::ScopedAStatus DnsResolverService::stopPrefix64Discovery(int32_t netId) { in stopPrefix64Discovery() 260 ::ndk::ScopedAStatus DnsResolverService::getPrefix64(int netId, std::string* stringPrefix) { in getPrefix64() 278 ::ndk::ScopedAStatus DnsResolverService::destroyNetworkCache(int netId) { in destroyNetworkCache() 287 ::ndk::ScopedAStatus DnsResolverService::createNetworkCache(int netId) { in createNetworkCache()
|
D | Dns64Configuration.cpp | 49 void Dns64Configuration::startPrefixDiscovery(unsigned netId) { in startPrefixDiscovery() 102 void Dns64Configuration::stopPrefixDiscovery(unsigned netId) { in stopPrefixDiscovery() 120 void Dns64Configuration::dump(DumpWriter& dw, unsigned netId) { in dump() 195 bool Dns64Configuration::reportNat64PrefixStatus(unsigned netId, bool added, const IPPrefix& pfx) { in reportNat64PrefixStatus() 211 void Dns64Configuration::removeDns64Config(unsigned netId) REQUIRES(mMutex) { in removeDns64Config()
|
D | PrivateDnsConfiguration.cpp | 56 int PrivateDnsConfiguration::set(int32_t netId, uint32_t mark, in set() 121 PrivateDnsStatus PrivateDnsConfiguration::getStatus(unsigned netId) { in getStatus() 141 void PrivateDnsConfiguration::getStatus(unsigned netId, ExternalPrivateDnsStatus* status) { in getStatus() 163 void PrivateDnsConfiguration::clear(unsigned netId) { in clear() 173 PrivateDnsTracker& tracker, unsigned netId, in validatePrivateDnsProvider() 228 bool PrivateDnsConfiguration::recordPrivateDnsValidation(const DnsTlsServer& server, unsigned netId, in recordPrivateDnsValidation()
|
D | Dns64Configuration.h | 55 unsigned netId; member 93 const unsigned int netId; member
|
/system/netd/server/binder/android/net/metrics/ |
D | INetdEventListener.aidl | 51 void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs, in onDnsEvent() 63 void onPrivateDnsValidationEvent(int netId, String ipAddress, String hostname, in onPrivateDnsValidationEvent() 76 void onConnectEvent(int netId, int error, int latencyMs, String ipAddr, int port, int uid); in onConnectEvent() 126 void onNat64PrefixEvent(int netId, boolean added, @utf8InCpp String prefixString, in onNat64PrefixEvent()
|
/system/netd/server/aidl/netdeventlistener/1/android/net/metrics/ |
D | INetdEventListener.aidl | 20 …oneway void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs, @utf8InCpp String … in onDnsEvent() 21 …oneway void onPrivateDnsValidationEvent(int netId, String ipAddress, String hostname, boolean vali… in onPrivateDnsValidationEvent() 22 oneway void onConnectEvent(int netId, int error, int latencyMs, String ipAddr, int port, int uid); in onConnectEvent() 25 …oneway void onNat64PrefixEvent(int netId, boolean added, @utf8InCpp String prefixString, int prefi… in onNat64PrefixEvent()
|
/system/netd/client/ |
D | NetdClient.cpp | 152 unsigned netId = netIdForProcess & ~NETID_USE_LOCAL_NAMESERVERS; in netdClientSocket() local 161 unsigned getNetworkForResolv(unsigned netId) { in getNetworkForResolv() 176 int setNetworkForTarget(unsigned netId, std::atomic_uint* target) { in setNetworkForTarget() 349 extern "C" int getNetworkForSocket(unsigned* netId, int socketFd) { in getNetworkForSocket() 366 extern "C" int setNetworkForSocket(unsigned netId, int socketFd) { in setNetworkForSocket() 372 extern "C" int setNetworkForProcess(unsigned netId) { in setNetworkForProcess() 376 extern "C" int setNetworkForResolv(unsigned netId) { in setNetworkForResolv() 394 extern "C" int queryUserAccess(uid_t uid, unsigned netId) { in queryUserAccess() 421 extern "C" int resNetworkQuery(unsigned netId, const char* dname, int ns_class, int ns_type, in resNetworkQuery() 430 extern "C" int resNetworkSend(unsigned netId, const uint8_t* msg, size_t msglen, uint32_t flags) { in resNetworkSend()
|
/system/netd/server/aidl/netd/1/android/net/ |
D | INetd.aidl | 6 void networkCreatePhysical(int netId, int permission); in networkCreatePhysical() 7 void networkCreateVpn(int netId, boolean secure); in networkCreateVpn() 8 void networkDestroy(int netId); in networkDestroy() 9 void networkAddInterface(int netId, in @utf8InCpp String iface); in networkAddInterface() 10 void networkRemoveInterface(int netId, in @utf8InCpp String iface); in networkRemoveInterface() 11 void networkAddUidRanges(int netId, in android.net.UidRangeParcel[] uidRanges); in networkAddUidRanges() 12 void networkRemoveUidRanges(int netId, in android.net.UidRangeParcel[] uidRanges); in networkRemoveUidRanges() 62 void tetherDnsSet(int netId, in @utf8InCpp String[] dnsAddrs); in tetherDnsSet() 64 …void networkAddRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, in … in networkAddRoute() 65 …void networkRemoveRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, … in networkRemoveRoute() [all …]
|
/system/netd/server/binder/android/net/ |
D | INetd.aidl | 76 void networkCreatePhysical(int netId, int permission); in networkCreatePhysical() 87 void networkCreateVpn(int netId, boolean secure); in networkCreateVpn() 98 void networkDestroy(int netId); in networkDestroy() 110 void networkAddInterface(int netId, in @utf8InCpp String iface); in networkAddInterface() 121 void networkRemoveInterface(int netId, in @utf8InCpp String iface); in networkRemoveInterface() 134 void networkAddUidRanges(int netId, in UidRangeParcel[] uidRanges); in networkAddUidRanges() 147 void networkRemoveUidRanges(int netId, in UidRangeParcel[] uidRanges); in networkRemoveUidRanges() 759 void tetherDnsSet(int netId, in @utf8InCpp String[] dnsAddrs); in tetherDnsSet() 790 int netId, in networkAddRoute() 808 int netId, in networkRemoveRoute() [all …]
|
/system/netd/server/aidl/netd/2/android/net/ |
D | INetd.aidl | 23 void networkCreatePhysical(int netId, int permission); in networkCreatePhysical() 24 void networkCreateVpn(int netId, boolean secure); in networkCreateVpn() 25 void networkDestroy(int netId); in networkDestroy() 26 void networkAddInterface(int netId, in @utf8InCpp String iface); in networkAddInterface() 27 void networkRemoveInterface(int netId, in @utf8InCpp String iface); in networkRemoveInterface() 28 void networkAddUidRanges(int netId, in android.net.UidRangeParcel[] uidRanges); in networkAddUidRanges() 29 void networkRemoveUidRanges(int netId, in android.net.UidRangeParcel[] uidRanges); in networkRemoveUidRanges() 79 void tetherDnsSet(int netId, in @utf8InCpp String[] dnsAddrs); in tetherDnsSet() 81 …void networkAddRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, in … in networkAddRoute() 82 …void networkRemoveRoute(int netId, in @utf8InCpp String ifName, in @utf8InCpp String destination, … in networkRemoveRoute() [all …]
|
/system/netd/resolv/tests/ |
D | TestMetrics.cpp | 25 android::binder::Status TestOnDnsEvent::onDnsEvent(int32_t netId, int32_t eventType, in onDnsEvent() argument
|
D | TestMetrics.h | 30 int netId; member
|