Searched refs:pppd_pid (Results 1 – 1 of 1) sorted by relevance
49 static pid_t pppd_pid; variable90 if (pppd_pid) { in stop_pppd()92 log_print(INFO, "Sending signal to pppd (pid = %d)", pppd_pid); in stop_pppd()93 kill(pppd_pid, SIGTERM); in stop_pppd()94 waitpid(pppd_pid, &status, 0); in stop_pppd()95 pppd_pid = 0; in stop_pppd()212 if (signal == SIGCHLD && waitpid(pppd_pid, &status, WNOHANG) == pppd_pid in main()217 pppd_pid = 0; in main()296 if (pppd_pid) { in start_pppd()297 log_print(WARNING, "Pppd is already started (pid = %d)", pppd_pid); in start_pppd()[all …]