/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/ |
H A D | dns_resolv_config.h | 47 NetManagerStandard::LRUCache<AddrInfo> &GetCache(); 58 DelayedTaskWrapper(std::string hostName, NetManagerStandard::LRUCache<AddrInfo> &cache); 67 NetManagerStandard::LRUCache<AddrInfo> &cache_; 78 NetManagerStandard::LRUCache<AddrInfo> cache_;
|
H A D | dns_manager.h | 111 int32_t GetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints, 112 uint16_t netId, std::vector<AddrInfo> &res); 186 int32_t FillAddrInfo(std::vector<AddrInfo> &addrInfo, addrinfo *res);
|
H A D | dns_quality_diag.h | 48 uint32_t size, int32_t failreason, QueryParam param, AddrInfo* addrinfo);
95 int32_t ParseReportAddr(uint32_t size, AddrInfo* addrinfo, NetsysNative::NetDnsResultReport &report);
|
H A D | dns_config_client.h | 79 struct AddrInfo { struct
|
H A D | dns_param_cache.h | 60 void SetDnsCache(uint16_t netId, const std::string &hostName, const AddrInfo &addrInfo); 64 std::vector<AddrInfo> GetDnsCache(uint16_t netId, const std::string &hostName);
|
H A D | net_manager_native.h | 135 int32_t DnsGetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints, 136 uint16_t netId, std::vector<AddrInfo> &res);
|
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_dnsresolv_test/ |
H A D | dns_quality_diag_test.cpp | 47 struct AddrInfo addrinfoIpv4; 48 struct AddrInfo addrinfoIpv6; 82 struct AddrInfo addrinfo[2] = { addrinfoIpv4, addrinfoIpv6 }; in HWTEST_F() 94 struct AddrInfo addrinfo[MAX_RESULT_SIZE + 1] = { addrinfoIpv4 }; in HWTEST_F() 112 AddrInfo addrinfo; in HWTEST_F()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/dnsresolv/ |
H A D | dns_resolv_listen.cpp | 150 AddrInfo addrInfo[MAX_RESULTS] = {};
in ProcGetCacheCommand() 152 if (memcpy_s(reinterpret_cast<char *>(&addrInfo[i]), sizeof(AddrInfo),
in ProcGetCacheCommand() 153 reinterpret_cast<char *>(&cacheRes[i]), sizeof(AddrInfo)) != 0) {
in ProcGetCacheCommand() 157 if (!PollSendData(clientSockFd, reinterpret_cast<char *>(addrInfo), sizeof(AddrInfo) * resNum)) {
in ProcGetCacheCommand() 191 AddrInfo addrInfo[MAX_RESULTS] = {};
in ProcSetCacheCommand() 192 if (!PollRecvData(clientSockFd, reinterpret_cast<char *>(addrInfo), sizeof(AddrInfo) * resNum)) {
in ProcSetCacheCommand() 272 AddrInfo addrInfo[MAX_RESULTS] = {};
in ProcPostDnsResultCommand() 273 if (!PollRecvData(clientSockFd, reinterpret_cast<char *>(addrInfo), sizeof(AddrInfo) * ai_size)) {
in ProcPostDnsResultCommand()
|
H A D | dns_resolv_config.cpp | 20 NetManagerStandard::LRUCache<AddrInfo> &cache) in DelayedTaskWrapper() 105 NetManagerStandard::LRUCache<AddrInfo> &DnsResolvConfig::GetCache() in GetCache()
|
H A D | dns_quality_diag.cpp | 75 int32_t DnsQualityDiag::ParseReportAddr(uint32_t size, AddrInfo* addrinfo, NetsysNative::NetDnsResultReport &report)
in ParseReportAddr() 79 AddrInfo *tmp = &(addrinfo[i]);
in ParseReportAddr() 104 char* name, uint32_t size, int32_t failreason, QueryParam queryParam, AddrInfo* addrinfo)
in ReportDnsResult()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | netsys_client.c | 245 struct AddrInfo addrInfo[static MAX_RESULTS], uint32_t *num) in NetSysGetResolvCacheInternal() 270 if (!PollRecvData(sockFd, (char *)addrInfo, sizeof(struct AddrInfo) * (*num))) { in NetSysGetResolvCacheInternal() 280 struct AddrInfo addrInfo[static MAX_RESULTS], uint32_t *num) in NetSysGetResolvCache() 303 static int32_t FillAddrInfo(struct AddrInfo addrInfo[static MAX_RESULTS], struct addrinfo *res) in FillAddrInfo() 305 if (memset_s(addrInfo, sizeof(struct AddrInfo) * MAX_RESULTS, 0, sizeof(struct AddrInfo) * MAX_RESULTS) != 0) { in FillAddrInfo() 360 struct AddrInfo addrInfo[MAX_RESULTS] = {}; in NetSysSetResolvCacheInternal() 375 if (!PollSendData(sockFd, (char *)addrInfo, sizeof(struct AddrInfo) * resNum)) { in NetSysSetResolvCacheInternal() 443 struct AddrInfo addrInfo[static MAX_RESULTS]) in NetSysPostDnsResultPollSendData() 461 if (!PollSendData(sockFd, (char *)addrInfo, sizeof(struct AddrInfo) * resNu in NetSysPostDnsResultPollSendData() [all...] |
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/ |
H A D | dns_manager_test.cpp | 77 AddrInfo hints; in HWTEST_F() 78 std::vector<AddrInfo> res; in HWTEST_F()
|
H A D | dns_param_cache_test.cpp | 69 AddrInfo addrInfo; in HWTEST_F() 92 AddrInfo addrInfo; in HWTEST_F() 171 AddrInfo addrInfo; in HWTEST_F()
|
H A D | dns_resolv_listen_test.cpp | 40 typedef int32_t (*GetCache)(uint16_t netId, struct ParamWrapper param, struct AddrInfo addr_info[MAX_RESULTS], 165 struct AddrInfo addr_info[MAX_RESULTS] = {{0}}; in HWTEST_F()
|
H A D | net_manager_native_test.cpp | 166 AddrInfo hints; in HWTEST_F() 168 std::vector<AddrInfo> res; in HWTEST_F()
|
H A D | resolver_config_test.cpp | 30 struct AddrInfo addr_info[MAX_RESULTS],
|
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/ |
H A D | dns_manager.cpp | 121 int32_t DnsManager::GetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints, in GetAddrInfo() 122 uint16_t netId, std::vector<AddrInfo> &res) in GetAddrInfo() 188 int32_t DnsManager::FillAddrInfo(std::vector<AddrInfo> &addrInfo, addrinfo *res) in FillAddrInfo() 194 AddrInfo info; in FillAddrInfo()
|
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/ |
H A D | i_netsys_service.h | 71 virtual int32_t GetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints, 72 uint16_t netId, std::vector<AddrInfo> &res) = 0;
|
H A D | netsys_native_service_proxy.h | 37 int32_t GetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints, 38 uint16_t netId, std::vector<AddrInfo> &res) override;
|
/foundation/communication/netmanager_base/services/netmanagernative/include/ |
H A D | netsys_native_service.h | 61 int32_t GetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints, 62 uint16_t netId, std::vector<AddrInfo> &res) override;
|
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_distributed_test/ |
H A D | netsys_native_service_stub_test.cpp | 71 int32_t GetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints, 72 uint16_t netId, std::vector<AddrInfo> &res) override
|
/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | net_http_probe.cpp | 224 std::vector<AddrInfo> result; in GetAddrInfo() 225 AddrInfo hints = {}; in GetAddrInfo()
|
/foundation/communication/netmanager_base/services/netsyscontroller/include/ |
H A D | netsys_controller_service_impl.h | 277 int32_t GetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints, 278 uint16_t netId, std::vector<AddrInfo> &res) override;
|
H A D | i_netsys_controller_service.h | 304 virtual int32_t GetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints, 305 uint16_t netId, std::vector<AddrInfo> &res) = 0;
|
H A D | netsys_controller.h | 285 int32_t GetAddrInfo(const std::string &hostName, const std::string &serverName, const AddrInfo &hints, 286 uint16_t netId, std::vector<AddrInfo> &res);
|