Home
last modified time | relevance | path

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

/device/google/cuttlefish/common/libs/utils/
Dnetwork.cpp172 auto line_elements = android::base::Split(line, " "); in ParseDnsmasqLeases() local
173 if (line_elements.size() != 5) { in ParseDnsmasqLeases()
178 lease.expiry = std::stoll(line_elements[0]); in ParseDnsmasqLeases()
179 if (!ParseMacAddress(line_elements[1], &lease.mac_address[0])) { in ParseDnsmasqLeases()
180 LOG(WARNING) << "Could not parse MAC address: \'" << line_elements[1] in ParseDnsmasqLeases()
184 if (!ParseIpAddress(line_elements[2], &lease.ip_address[0])) { in ParseDnsmasqLeases()
185 LOG(WARNING) << "Could not parse IP address: " << line_elements[2] in ParseDnsmasqLeases()
188 lease.hostname = line_elements[3]; in ParseDnsmasqLeases()
189 lease.client_id = line_elements[4]; in ParseDnsmasqLeases()