Home
last modified time | relevance | path

Searched refs:ip_addr (Results 1 – 7 of 7) sorted by relevance

/system/connectivity/shill/wifi/
Dwake_on_wifi.cc207 bool WakeOnWiFi::CreateIPAddressPatternAndMask(const IPAddress& ip_addr, in CreateIPAddressPatternAndMask() argument
210 if (ip_addr.family() == IPAddress::kFamilyIPv4) { in CreateIPAddressPatternAndMask()
211 WakeOnWiFi::CreateIPV4PatternAndMask(ip_addr, pattern, mask); in CreateIPAddressPatternAndMask()
213 } else if (ip_addr.family() == IPAddress::kFamilyIPv6) { in CreateIPAddressPatternAndMask()
214 WakeOnWiFi::CreateIPV6PatternAndMask(ip_addr, pattern, mask); in CreateIPAddressPatternAndMask()
223 void WakeOnWiFi::CreateIPV4PatternAndMask(const IPAddress& ip_addr, in CreateIPV4PatternAndMask() argument
231 CHECK_EQ(sizeof(pattern_bytes.ipv4_hdr.saddr), ip_addr.GetLength()); in CreateIPV4PatternAndMask()
232 memcpy(&pattern_bytes.ipv4_hdr.saddr, ip_addr.GetConstData(), in CreateIPV4PatternAndMask()
233 ip_addr.GetLength()); in CreateIPV4PatternAndMask()
237 int pattern_len = src_ip_offset + ip_addr.GetLength(); in CreateIPV4PatternAndMask()
[all …]
Dwake_on_wifi.h376 static bool CreateIPAddressPatternAndMask(const IPAddress& ip_addr,
379 static void CreateIPV4PatternAndMask(const IPAddress& ip_addr,
381 static void CreateIPV6PatternAndMask(const IPAddress& ip_addr,
418 static bool CreateSinglePattern(const IPAddress& ip_addr,
Dwake_on_wifi_unittest.cc680 bool CreateIPAddressPatternAndMask(const IPAddress& ip_addr, in CreateIPAddressPatternAndMask() argument
682 return WakeOnWiFi::CreateIPAddressPatternAndMask(ip_addr, pattern, mask); in CreateIPAddressPatternAndMask()
1787 IPAddress ip_addr("1.1.1.1"); in TEST_F() local
1788 GetWakeOnPacketConnections()->AddUnique(ip_addr); in TEST_F()
/system/extras/tests/net_test/
Dtcp_nuke_addr_test.py76 def ExchangeMessage(addr_family, ip_addr): argument
85 test_addr = (ip_addr, 0)
/system/bt/stack/pan/
Dpan_int.h63 UINT32 ip_addr; member
/system/connectivity/shill/
Dconnection_health_checker_unittest.cc77 MATCHER_P(IsSameIPAddress, ip_addr, "") {
78 return arg.Equals(ip_addr);
Dconnection_diagnostics_unittest.cc73 MATCHER_P(IsSameIPAddress, ip_addr, "") {
74 return arg.Equals(ip_addr);