Lines Matching full:tty
53 int PppController::attachPppd(const char *tty, struct in_addr local,
66 if (!strcmp(tty, *it)) {
71 LOGE("Invalid tty '%s' specified", tty);
91 snprintf(dev, sizeof(dev), "/dev/%s", tty);
107 int PppController::detachPppd(const char *tty) {
114 LOGD("Stopping PPPD services on port %s", tty);
118 LOGD("PPPD services on port %s stopped", tty);
135 DIR *d = opendir("/sys/class/tty");
137 LOGE("Error opening /sys/class/tty (%s)", strerror(errno));
145 if ((!strncmp(de->d_name, "tty", 3)) && (strlen(de->d_name) > 3)) {