Searched refs:pattern_len (Results 1 – 2 of 2) sorted by relevance
/system/connectivity/shill/wifi/ |
D | wake_on_wifi.cc | 190 void WakeOnWiFi::SetMask(ByteString* mask, uint32_t pattern_len, in SetMask() argument 193 int result_mask_len = (pattern_len + 8 - 1) / 8; in SetMask() 197 for (uint32_t curr_mask_bit = offset; curr_mask_bit < pattern_len; in SetMask() 237 int pattern_len = src_ip_offset + ip_addr.GetLength(); in CreateIPV4PatternAndMask() local 240 reinterpret_cast<const unsigned char*>(&pattern_bytes), pattern_len)); in CreateIPV4PatternAndMask() 241 WakeOnWiFi::SetMask(mask, pattern_len, src_ip_offset); in CreateIPV4PatternAndMask() 259 int pattern_len = src_ip_offset + ip_addr.GetLength(); in CreateIPV6PatternAndMask() local 262 reinterpret_cast<const unsigned char*>(&pattern_bytes), pattern_len)); in CreateIPV6PatternAndMask() 263 WakeOnWiFi::SetMask(mask, pattern_len, src_ip_offset); in CreateIPV6PatternAndMask()
|
D | wake_on_wifi.h | 370 static void SetMask(ByteString* mask, uint32_t pattern_len, uint32_t offset);
|