Home
last modified time | relevance | path

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

/system/netd/server/
DTetherController.cpp357 std::string daemonCmd = StringPrintf("update_dns%s0x%x", SEPARATOR, fwmark.intValue); in setDnsForwarders() local
373 if (daemonCmd.size() + 1 + strlen(servers[i]) >= MAX_CMD_SIZE) { in setDnsForwarders()
378 daemonCmd += SEPARATOR; in setDnsForwarders()
379 daemonCmd += servers[i]; in setDnsForwarders()
384 mDnsmasqState.update_dns_cmd = std::move(daemonCmd); in setDnsForwarders()
409 std::string daemonCmd = "update_ifaces"; in applyDnsInterfaces() local
413 if (daemonCmd.size() + 1 + ifname.size() >= MAX_CMD_SIZE) { in applyDnsInterfaces()
418 daemonCmd += SEPARATOR; in applyDnsInterfaces()
419 daemonCmd += ifname; in applyDnsInterfaces()
426 mDnsmasqState.update_ifaces_cmd = std::move(daemonCmd); in applyDnsInterfaces()