Searched refs:daemonCmd (Results 1 – 1 of 1) sorted by relevance
/system/netd/server/ |
D | TetherController.cpp | 247 char daemonCmd[MAX_CMD_SIZE]; in setDnsForwarders() local 255 snprintf(daemonCmd, sizeof(daemonCmd), "update_dns%s0x%x", SEPARATOR, fwmark.intValue); in setDnsForwarders() 256 int cmdLen = strlen(daemonCmd); in setDnsForwarders() 278 strcat(daemonCmd, SEPARATOR); in setDnsForwarders() 279 strcat(daemonCmd, servers[i]); in setDnsForwarders() 285 ALOGD("Sending update msg to dnsmasq [%s]", daemonCmd); in setDnsForwarders() 286 if (write(mDaemonFd, daemonCmd, strlen(daemonCmd) +1) < 0) { in setDnsForwarders() 305 char daemonCmd[MAX_CMD_SIZE]; in applyDnsInterfaces() local 307 strcpy(daemonCmd, "update_ifaces"); in applyDnsInterfaces() 308 int cmdLen = strlen(daemonCmd); in applyDnsInterfaces() [all …]
|