Lines Matching refs:daemonCmd
225 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()
297 strcat(daemonCmd, SEPARATOR); in applyDnsInterfaces()
298 strcat(daemonCmd, *it); in applyDnsInterfaces()
303 ALOGD("Sending update msg to dnsmasq [%s]", daemonCmd); in applyDnsInterfaces()
304 if (write(mDaemonFd, daemonCmd, strlen(daemonCmd) +1) < 0) { in applyDnsInterfaces()