Home
last modified time | relevance | path

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

/system/netd/server/
DTetherController.cpp407 std::string daemonCmd = StringPrintf("update_dns%s0x%x", SEPARATOR, fwmark.intValue); in setDnsForwarders() local
423 if (daemonCmd.size() + 1 + strlen(servers[i]) >= MAX_CMD_SIZE) { in setDnsForwarders()
428 daemonCmd += SEPARATOR; in setDnsForwarders()
429 daemonCmd += servers[i]; in setDnsForwarders()
434 mDnsmasqState.update_dns_cmd = std::move(daemonCmd); in setDnsForwarders()
459 std::string daemonCmd = "update_ifaces"; in applyDnsInterfaces() local
463 if (daemonCmd.size() + 1 + ifname.size() >= MAX_CMD_SIZE) { in applyDnsInterfaces()
468 daemonCmd += SEPARATOR; in applyDnsInterfaces()
469 daemonCmd += ifname; in applyDnsInterfaces()
476 mDnsmasqState.update_ifaces_cmd = std::move(daemonCmd); in applyDnsInterfaces()