Home
last modified time | relevance | path

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

/system/netd/server/
DTetherController.cpp380 std::string daemonCmd = StringPrintf("update_dns%s0x%x", SEPARATOR, fwmark.intValue); in setDnsForwarders() local
396 if (daemonCmd.size() + 1 + strlen(servers[i]) >= MAX_CMD_SIZE) { in setDnsForwarders()
401 daemonCmd += SEPARATOR; in setDnsForwarders()
402 daemonCmd += servers[i]; in setDnsForwarders()
407 mDnsmasqState.update_dns_cmd = std::move(daemonCmd); in setDnsForwarders()
432 std::string daemonCmd = "update_ifaces"; in applyDnsInterfaces() local
436 if (daemonCmd.size() + 1 + ifname.size() >= MAX_CMD_SIZE) { in applyDnsInterfaces()
441 daemonCmd += SEPARATOR; in applyDnsInterfaces()
442 daemonCmd += ifname; in applyDnsInterfaces()
449 mDnsmasqState.update_ifaces_cmd = std::move(daemonCmd); in applyDnsInterfaces()