Home
last modified time | relevance | path

Searched refs:addrs (Results 1 – 6 of 6) sorted by relevance

/system/core/libcutils/
Dsocket_network_client_unix.c56 struct addrinfo* addrs; in socket_network_client_timeout() local
57 *getaddrinfo_error = getaddrinfo(host, port_str, &hints, &addrs); in socket_network_client_timeout()
63 int family = addrs[0].ai_family; in socket_network_client_timeout()
64 int protocol = addrs[0].ai_protocol; in socket_network_client_timeout()
65 socklen_t addr_len = addrs[0].ai_addrlen; in socket_network_client_timeout()
67 memcpy(&addr, addrs[0].ai_addr, addr_len); in socket_network_client_timeout()
69 freeaddrinfo(addrs); in socket_network_client_timeout()
/system/extras/tests/kernel.config/
Daslr_test.cpp116 std::unordered_set<uint64_t> addrs = { }; in calc_mmap_entropy() local
120 addrs.insert(addr); in calc_mmap_entropy()
130 addrs.insert(addr); in calc_mmap_entropy()
132 if (addrs.size() < (samp_sz >> 1)) { in calc_mmap_entropy()
/system/connectivity/shill/wifi/
Dwake_on_wifi.h405 const IPAddressStore& addrs, uint32_t wiphy_index,
441 const IPAddressStore& addrs, uint32_t net_detect_scan_period_seconds,
Dwake_on_wifi.cc292 const IPAddressStore& addrs, uint32_t wiphy_index, in ConfigureSetWakeOnWiFiSettingsMessage() argument
304 if (trigs.find(kWakeTriggerPattern) != trigs.end() && addrs.Empty()) { in ConfigureSetWakeOnWiFiSettingsMessage()
379 for (const IPAddress& addr : addrs.GetIPAddresses()) { in ConfigureSetWakeOnWiFiSettingsMessage()
586 const IPAddressStore& addrs, uint32_t net_detect_scan_period_seconds, in WakeOnWiFiSettingsMatch() argument
654 for (const IPAddress& addr : addrs.GetIPAddresses()) { in WakeOnWiFiSettingsMatch()
Dwake_on_wifi_unittest.cc697 const IPAddressStore& addrs, in WakeOnWiFiSettingsMatch() argument
701 msg, trigs, addrs, net_detect_scan_period_seconds, ssid_whitelist); in WakeOnWiFiSettingsMatch()
707 const IPAddressStore& addrs, uint32_t wiphy_index, in ConfigureSetWakeOnWiFiSettingsMessage() argument
711 msg, trigs, addrs, wiphy_index, net_detect_scan_period_seconds, in ConfigureSetWakeOnWiFiSettingsMessage()
/system/core/libsysutils/src/
DNetlinkEvent.cpp478 struct in6_addr *addrs = (struct in6_addr *) (rndss_opt + 1); in parseNdUserOptMessage() local
483 inet_ntop(AF_INET6, addrs + i, buf + pos, bufsize - pos); in parseNdUserOptMessage()
485 if (IN6_IS_ADDR_LINKLOCAL(addrs + i)) { in parseNdUserOptMessage()