Home
last modified time | relevance | path

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

/system/netd/server/
DTetherController.cpp225 char daemonCmd[MAX_CMD_SIZE]; in setDnsForwarders() local
233 snprintf(daemonCmd, sizeof(daemonCmd), "update_dns%s0x%x", SEPARATOR, fwmark.intValue); in setDnsForwarders()
234 int cmdLen = strlen(daemonCmd); in setDnsForwarders()
256 strcat(daemonCmd, SEPARATOR); in setDnsForwarders()
257 strcat(daemonCmd, servers[i]); in setDnsForwarders()
263 ALOGD("Sending update msg to dnsmasq [%s]", daemonCmd); in setDnsForwarders()
264 if (write(mDaemonFd, daemonCmd, strlen(daemonCmd) +1) < 0) { in setDnsForwarders()
283 char daemonCmd[MAX_CMD_SIZE]; in applyDnsInterfaces() local
285 strcpy(daemonCmd, "update_ifaces"); in applyDnsInterfaces()
286 int cmdLen = strlen(daemonCmd); in applyDnsInterfaces()
[all …]