| /foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_ap/Mock/ |
| D | mock_network_interface.cpp | 21 bool IsValidInterfaceName(const std::string &interfaceName) in IsValidInterfaceName() 26 bool IsInterfaceUp(const std::string &interfaceName) in IsInterfaceUp() 31 void Dump(const std::string &interfaceName) in Dump() 37 …const std::string &interfaceName, MacAddress &Mac, Ipv4Address &IPv4, std::vector<Ipv6Address> &ve… in FetchInterfaceConfig() 42 bool GetIpv4Address(const std::string &interfaceName, Ipv4Address &IPv4) in GetIpv4Address() 47 bool GetAllIpv6Address(const std::string &interfaceName, std::vector<Ipv6Address> &vecIPv6) in GetAllIpv6Address() 52 bool IsExistAddressForInterface(const std::string &interfaceName, const BaseAddress &address) in IsExistAddressForInterface() 57 bool AddIpAddress(const std::string &interfaceName, const BaseAddress &IpAddress) in AddIpAddress() 62 bool DelIpAddress(const std::string &interfaceName, const BaseAddress &IpAddress) in DelIpAddress() 67 bool ClearAllIpAddress(const std::string &interfaceName) in ClearAllIpAddress() [all …]
|
| /foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/ |
| D | physical_network_test.cpp | 88 std::string interfaceName = "test"; variable 102 std::string interfaceName = "wlan0"; variable 111 std::string interfaceName = "wlan0"; variable 119 std::string interfaceName = "test"; variable 133 std::string interfaceName = "wlan0"; variable 143 std::string interfaceName = "wlan0"; variable 153 std::string interfaceName = "wlan0"; variable
|
| D | interface_manager_test.cpp | 50 std::string interfaceName = "IfaceNameIsExtMax16"; variable 57 std::string interfaceName = "eth0"; variable 65 std::string interfaceName; variable 73 std::string interfaceName = "eth0"; variable 80 std::string interfaceName = "eth0"; variable 106 std::string interfaceName = "eth0"; variable 123 std::string interfaceName = "eth0"; variable 132 std::string interfaceName = "eth"; variable 141 std::string interfaceName = "eth"; variable 149 std::string interfaceName = "eth0"; variable [all …]
|
| D | local_network_test.cpp | 51 std::string interfaceName = "waln0"; variable
|
| D | netsys_native_service_stub_test.cpp | 125 int32_t SetInterfaceMtu(const std::string &interfaceName, int mtu) override in SetInterfaceMtu() 130 int32_t GetInterfaceMtu(const std::string &interfaceName) override in GetInterfaceMtu() 145 …int32_t NetworkAddRoute(int32_t netId, const std::string &interfaceName, const std::string &destin… in NetworkAddRoute() 151 …int32_t NetworkRemoveRoute(int32_t netId, const std::string &interfaceName, const std::string &des… in NetworkRemoveRoute() 214 int32_t AddInterfaceAddress(const std::string &interfaceName, const std::string &addrString, in AddInterfaceAddress() 220 int32_t DelInterfaceAddress(const std::string &interfaceName, const std::string &addrString, in DelInterfaceAddress() 407 int32_t GetIfaceStats(uint64_t &stats, uint32_t type, const std::string &interfaceName) override in GetIfaceStats() 799 std::string interfaceName = "testInterfaceName"; variable 827 std::string interfaceName = "testInterfaceName"; variable 848 std::string interfaceName = "testInterfaceName"; variable [all …]
|
| /foundation/communication/netmanager_base/frameworks/native/netstatsclient/src/ |
| D | data_flow_statistics.cpp | 52 int64_t DataFlowStatistics::GetIfaceRxBytes(const std::string &interfaceName) in GetIfaceRxBytes() 57 int64_t DataFlowStatistics::GetIfaceTxBytes(const std::string &interfaceName) in GetIfaceTxBytes() 62 int64_t DataFlowStatistics::GetIfaceRxPackets(const std::string &interfaceName) in GetIfaceRxPackets() 67 int64_t DataFlowStatistics::GetIfaceTxPackets(const std::string &interfaceName) in GetIfaceTxPackets()
|
| D | net_stats_client.cpp | 116 int32_t NetStatsClient::GetIfaceRxBytes(uint64_t &stats, const std::string &interfaceName) in GetIfaceRxBytes() 126 int32_t NetStatsClient::GetIfaceTxBytes(uint64_t &stats, const std::string &interfaceName) in GetIfaceTxBytes()
|
| /foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/ |
| D | network_interface.cpp | 37 bool NetworkInterface::IsValidInterfaceName(const std::string &interfaceName) in IsValidInterfaceName() 59 void NetworkInterface::Dump(const std::string &interfaceName) in Dump() 83 …const std::string &interfaceName, std::vector<Ipv4Address> &vecIPv4, std::vector<Ipv6Address> &vec… in FetchInterfaceConfig() 92 bool NetworkInterface::GetIpv4Address(const std::string &interfaceName, std::vector<Ipv4Address> &v… in GetIpv4Address() 106 bool NetworkInterface::GetAllIpv6Address(const std::string &interfaceName, std::vector<Ipv6Address>… in GetAllIpv6Address() 116 bool NetworkInterface::IsExistAddressForInterface(const std::string &interfaceName, const BaseAddre… in IsExistAddressForInterface() 140 bool NetworkInterface::AddIpAddress(const std::string &interfaceName, const BaseAddress &ipAddress) in AddIpAddress() 164 bool NetworkInterface::DelIpAddress(const std::string &interfaceName, const BaseAddress &ipAddress) in DelIpAddress() 186 bool NetworkInterface::ClearAllIpAddress(const std::string &interfaceName) in ClearAllIpAddress() 252 …const std::string &interfaceName, std::vector<Ipv4Address> &vecipv4, std::vector<Ipv6Address> &vec… in FetchIpAddress()
|
| /foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
| D | local_network.cpp | 27 int32_t LocalNetwork::AddInterface(std::string &interfaceName) in AddInterface() 43 int32_t LocalNetwork::RemoveInterface(std::string &interfaceName) in RemoveInterface()
|
| D | physical_network.cpp | 51 int32_t PhysicalNetwork::AddInterface(std::string &interfaceName) in AddInterface() 72 int32_t PhysicalNetwork::RemoveInterface(std::string &interfaceName) in RemoveInterface()
|
| D | virtual_network.cpp | 66 int32_t VirtualNetwork::AddInterface(std::string &interfaceName) in AddInterface() 89 int32_t VirtualNetwork::RemoveInterface(std::string &interfaceName) in RemoveInterface()
|
| D | netsys_network.cpp | 33 bool NetsysNetwork::ExistInterface(std::string &interfaceName) in ExistInterface()
|
| D | net_manager_native.cpp | 109 int32_t NetManagerNative::NetworkAddInterface(int32_t netId, std::string interfaceName) in NetworkAddInterface() 114 int32_t NetManagerNative::NetworkRemoveInterface(int32_t netId, std::string interfaceName) in NetworkRemoveInterface() 135 int32_t NetManagerNative::NetworkAddRoute(int32_t netId, std::string interfaceName, std::string des… in NetworkAddRoute() 141 int32_t NetManagerNative::NetworkRemoveRoute(int32_t netId, std::string interfaceName, std::string … in NetworkRemoveRoute() 173 nmd::InterfaceConfigurationParcel NetManagerNative::GetInterfaceConfig(std::string interfaceName) in GetInterfaceConfig() 268 int64_t NetManagerNative::GetIfaceRxBytes(std::string interfaceName) in GetIfaceRxBytes() 274 int64_t NetManagerNative::GetIfaceTxBytes(std::string interfaceName) in GetIfaceTxBytes()
|
| /foundation/communication/netmanager_base/services/netmanagernative/src/manager/ |
| D | route_manager.cpp | 91 int32_t RouteManager::AddRoute(TableType tableType, const std::string &interfaceName, in AddRoute() 110 int32_t RouteManager::RemoveRoute(TableType tableType, const std::string &interfaceName, in RemoveRoute() 128 int32_t RouteManager::UpdateRoute(TableType tableType, const std::string &interfaceName, in UpdateRoute() 146 int32_t RouteManager::AddInterfaceToDefaultNetwork(const std::string &interfaceName, NetworkPermiss… in AddInterfaceToDefaultNetwork() 173 int32_t RouteManager::RemoveInterfaceFromDefaultNetwork(const std::string &interfaceName, NetworkPe… in RemoveInterfaceFromDefaultNetwork() 200 …t32_t RouteManager::AddInterfaceToPhysicalNetwork(uint16_t netId, const std::string &interfaceName, in AddInterfaceToPhysicalNetwork() 208 … RouteManager::RemoveInterfaceFromPhysicalNetwork(uint16_t netId, const std::string &interfaceName, in RemoveInterfaceFromPhysicalNetwork() 229 …2_t RouteManager::ModifyPhysicalNetworkPermission(uint16_t netId, const std::string &interfaceName, in ModifyPhysicalNetworkPermission() 241 int32_t RouteManager::AddInterfaceToVirtualNetwork(int32_t netId, const std::string &interfaceName) in AddInterfaceToVirtualNetwork() 246 …_t RouteManager::RemoveInterfaceFromVirtualNetwork(int32_t netId, const std::string &interfaceName) in RemoveInterfaceFromVirtualNetwork() [all …]
|
| D | conn_manager.cpp | 78 std::string interfaceName; in CreatePhysicalNetwork() local 186 int32_t ConnManager::GetNetworkForInterface(std::string &interfaceName) in GetNetworkForInterface() 198 int32_t ConnManager::AddInterfaceToNetwork(int32_t netId, std::string &interfaceName) in AddInterfaceToNetwork() 220 int32_t ConnManager::RemoveInterfaceFromNetwork(int32_t netId, std::string &interfaceName) in RemoveInterfaceFromNetwork() 247 int32_t ConnManager::AddRoute(int32_t netId, std::string interfaceName, std::string destination, st… in AddRoute() 252 int32_t ConnManager::RemoveRoute(int32_t netId, std::string interfaceName, std::string destination,… in RemoveRoute() 257 int32_t ConnManager::UpdateRoute(int32_t netId, std::string interfaceName, std::string destination,… in UpdateRoute()
|
| D | interface_manager.cpp | 73 int InterfaceManager::GetMtu(const char *interfaceName) in GetMtu() 110 int InterfaceManager::SetMtu(const char *interfaceName, const char *mtuValue) in SetMtu() 173 int InterfaceManager::ModifyAddress(uint32_t action, const char *interfaceName, const char *addr, i… in ModifyAddress() 223 int InterfaceManager::AddAddress(const char *interfaceName, const char *addr, int prefixLen) in AddAddress() 228 int InterfaceManager::DelAddress(const char *interfaceName, const char *addr, int prefixLen) in DelAddress()
|
| /foundation/communication/netmanager_base/services/netsyscontroller/src/ |
| D | mock_netsys_native_client.cpp | 360 static int64_t GetUidOnIfaceBytes(uint32_t uid, const std::string &interfaceName) in GetUidOnIfaceBytes() 367 int64_t MockNetsysNativeClient::GetUidOnIfaceRxBytes(uint32_t uid, const std::string &interfaceName) in GetUidOnIfaceRxBytes() 374 int64_t MockNetsysNativeClient::GetUidOnIfaceTxBytes(uint32_t uid, const std::string &interfaceName) in GetUidOnIfaceTxBytes() 381 int64_t MockNetsysNativeClient::GetIfaceBytes(const std::string &interfaceName, const std::string &… in GetIfaceBytes() 398 int64_t MockNetsysNativeClient::GetIfaceRxBytes(const std::string &interfaceName) in GetIfaceRxBytes() 407 int64_t MockNetsysNativeClient::GetIfaceTxBytes(const std::string &interfaceName) in GetIfaceTxBytes() 416 int64_t MockNetsysNativeClient::GetIfaceRxPackets(const std::string &interfaceName) in GetIfaceRxPackets() 425 int64_t MockNetsysNativeClient::GetIfaceTxPackets(const std::string &interfaceName) in GetIfaceTxPackets()
|
| D | netsys_controller_service_impl.cpp | 306 …t NetsysControllerServiceImpl::GetUidOnIfaceRxBytes(uint32_t uid, const std::string &interfaceName) in GetUidOnIfaceRxBytes() 315 …t NetsysControllerServiceImpl::GetUidOnIfaceTxBytes(uint32_t uid, const std::string &interfaceName) in GetUidOnIfaceTxBytes() 324 int64_t NetsysControllerServiceImpl::GetIfaceRxBytes(const std::string &interfaceName) in GetIfaceRxBytes() 333 int64_t NetsysControllerServiceImpl::GetIfaceTxBytes(const std::string &interfaceName) in GetIfaceTxBytes() 360 int64_t NetsysControllerServiceImpl::GetIfaceRxPackets(const std::string &interfaceName) in GetIfaceRxPackets() 369 int64_t NetsysControllerServiceImpl::GetIfaceTxPackets(const std::string &interfaceName) in GetIfaceTxPackets() 633 …trollerServiceImpl::GetIfaceStats(uint64_t &stats, uint32_t type, const std::string &interfaceName) in GetIfaceStats()
|
| D | netsys_controller.cpp | 411 int64_t NetsysController::GetUidOnIfaceRxBytes(uint32_t uid, const std::string &interfaceName) in GetUidOnIfaceRxBytes() 421 int64_t NetsysController::GetUidOnIfaceTxBytes(uint32_t uid, const std::string &interfaceName) in GetUidOnIfaceTxBytes() 431 int64_t NetsysController::GetIfaceRxBytes(const std::string &interfaceName) in GetIfaceRxBytes() 441 int64_t NetsysController::GetIfaceTxBytes(const std::string &interfaceName) in GetIfaceTxBytes() 471 int64_t NetsysController::GetIfaceRxPackets(const std::string &interfaceName) in GetIfaceRxPackets() 481 int64_t NetsysController::GetIfaceTxPackets(const std::string &interfaceName) in GetIfaceTxPackets() 872 …t NetsysController::GetIfaceStats(uint64_t &stats, uint32_t type, const std::string &interfaceName) in GetIfaceStats()
|
| D | netsys_native_client.cpp | 547 int64_t NetsysNativeClient::GetUidOnIfaceRxBytes(uint32_t uid, const std::string &interfaceName) in GetUidOnIfaceRxBytes() 559 int64_t NetsysNativeClient::GetUidOnIfaceTxBytes(uint32_t uid, const std::string &interfaceName) in GetUidOnIfaceTxBytes() 571 int64_t NetsysNativeClient::GetIfaceRxBytes(const std::string &interfaceName) in GetIfaceRxBytes() 582 int64_t NetsysNativeClient::GetIfaceTxBytes(const std::string &interfaceName) in GetIfaceTxBytes() 617 int64_t NetsysNativeClient::GetIfaceRxPackets(const std::string &interfaceName) in GetIfaceRxPackets() 623 int64_t NetsysNativeClient::GetIfaceTxPackets(const std::string &interfaceName) in GetIfaceTxPackets() 1163 …NetsysNativeClient::GetIfaceStats(uint64_t &stats, uint32_t type, const std::string &interfaceName) in GetIfaceStats()
|
| /foundation/communication/netmanager_base/services/netmanagernative/src/ |
| D | netsys_native_service.cpp | 198 int32_t NetsysNativeService::SetInterfaceMtu(const std::string &interfaceName, int32_t mtu) in SetInterfaceMtu() 204 int32_t NetsysNativeService::GetInterfaceMtu(const std::string &interfaceName) in GetInterfaceMtu() 226 int32_t NetsysNativeService::NetworkAddRoute(int32_t netId, const std::string &interfaceName, in NetworkAddRoute() 237 int32_t NetsysNativeService::NetworkRemoveRoute(int32_t netId, const std::string &interfaceName, in NetworkRemoveRoute() 332 int32_t NetsysNativeService::AddInterfaceAddress(const std::string &interfaceName, const std::strin… in AddInterfaceAddress() 340 int32_t NetsysNativeService::DelInterfaceAddress(const std::string &interfaceName, const std::strin… in DelInterfaceAddress() 626 …etsysNativeService::GetIfaceStats(uint64_t &stats, uint32_t type, const std::string &interfaceName) in GetIfaceStats()
|
| /foundation/communication/dhcp/services/mgr_service/include/ |
| D | dhcp_ipv6_client.h | 74 std::string interfaceName; variable
|
| /foundation/communication/netmanager_base/frameworks/js/napi/netstats/src/context/ |
| D | update_iface_stats_context.cpp | 79 void UpdateIfacesStatsContext::SetInterfaceName(std::string interfaceName) in SetInterfaceName()
|
| D | get_iface_stats_context.cpp | 89 void GetIfaceStatsContext::SetInterfaceName(std::string interfaceName) in SetInterfaceName()
|
| /foundation/communication/netmanager_base/services/netmanagernative/bpf/src/ |
| D | bpf_stats.cpp | 127 …fStats::GetIfaceStats(uint64_t &stats, const StatsType statsType, const std::string &interfaceName) in GetIfaceStats()
|