Lines Matching refs:daemonCmd
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()
318 strcat(daemonCmd, SEPARATOR); in applyDnsInterfaces()
319 strcat(daemonCmd, ifname.c_str()); in applyDnsInterfaces()
324 ALOGD("Sending update msg to dnsmasq [%s]", daemonCmd); in applyDnsInterfaces()
325 if (write(mDaemonFd, daemonCmd, strlen(daemonCmd) +1) < 0) { in applyDnsInterfaces()