Home
last modified time | relevance | path

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

/OK3568_Linux_fs/app/forlinx/quectelCM/
H A Dudhcpc.c153 char *udhcpc_cmd = (char *)arg; in udhcpc_thread_function() local
155 if (udhcpc_cmd == NULL) in udhcpc_thread_function()
158 dbg_time("%s", udhcpc_cmd); in udhcpc_thread_function()
159 udhcpc_fp = popen(udhcpc_cmd, "r"); in udhcpc_thread_function()
160 free(udhcpc_cmd); in udhcpc_thread_function()
536 char udhcpc_cmd[128]; in udhcpc_start() local
544 snprintf(udhcpc_cmd, sizeof(udhcpc_cmd), "dhclient -4 -d --no-pid %s", ifname); in udhcpc_start()
557 snprintf(udhcpc_cmd, sizeof(udhcpc_cmd), "busybox udhcpc -f -n -q -t 5 -i %s", ifname); in udhcpc_start()
573 …_create(&udhcpc_thread_id, &udhcpc_thread_attr, udhcpc_thread_function, (void*)strdup(udhcpc_cmd)); in udhcpc_start()
576 … pthread_create(&udhcpc_thread_id, NULL, udhcpc_thread_function, (void*)strdup(udhcpc_cmd)); in udhcpc_start()
[all …]