Searched refs:tty_fd (Results 1 - 13 of 13) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/um/include/shared/
H A Dchan_user.h45 extern void register_winch_irq(int fd, int tty_fd, int pid,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/um/include/shared/
H A Dchan_user.h45 extern void register_winch_irq(int fd, int tty_fd, int pid,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/pptpd/
H A Dpptpctrl.c548 int pty_fd, tty_fd; local
567 tty_fd = sockfd[0];
571 if (openpty(&pty_fd, &tty_fd, NULL, NULL, NULL) != 0) {
581 if (tcgetattr(tty_fd, &tios) < 0) {
587 if (tcsetattr(tty_fd, TCSAFLUSH, &tios) < 0) {
596 syslog(LOG_DEBUG, "CTRL: tty_fd = %d", tty_fd);
609 if (dup2(tty_fd, 0) == -1) {
610 syslog(LOG_ERR, "CTRL: child tty_fd dup2 to stdin, %s",
614 if (dup2(tty_fd,
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/pptpd/
H A Dpptpctrl.c548 int pty_fd, tty_fd; local
567 tty_fd = sockfd[0];
571 if (openpty(&pty_fd, &tty_fd, NULL, NULL, NULL) != 0) {
581 if (tcgetattr(tty_fd, &tios) < 0) {
587 if (tcsetattr(tty_fd, TCSAFLUSH, &tios) < 0) {
596 syslog(LOG_DEBUG, "CTRL: tty_fd = %d", tty_fd);
609 if (dup2(tty_fd, 0) == -1) {
610 syslog(LOG_ERR, "CTRL: child tty_fd dup2 to stdin, %s",
614 if (dup2(tty_fd,
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/pptpd/
H A Dpptpctrl.c548 int pty_fd, tty_fd; local
567 tty_fd = sockfd[0];
571 if (openpty(&pty_fd, &tty_fd, NULL, NULL, NULL) != 0) {
581 if (tcgetattr(tty_fd, &tios) < 0) {
587 if (tcsetattr(tty_fd, TCSAFLUSH, &tios) < 0) {
596 syslog(LOG_DEBUG, "CTRL: tty_fd = %d", tty_fd);
609 if (dup2(tty_fd, 0) == -1) {
610 syslog(LOG_ERR, "CTRL: child tty_fd dup2 to stdin, %s",
614 if (dup2(tty_fd,
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/accel-pptp/src/pppd/
H A Dsys-linux.c401 int tty_establish_ppp (int tty_fd) argument
408 if (ioctl(tty_fd, TIOCEXCL, 0) < 0) {
428 if (ioctl(tty_fd, TIOCSETD, &ppp_disc) < 0) {
435 ret_fd = generic_establish_ppp(tty_fd);
445 if (ioctl(tty_fd, TIOCSETD, &tty_disc) < 0 && !ok_error(errno))
560 void tty_disestablish_ppp(int tty_fd) argument
566 if (tcflush(tty_fd, TCIOFLUSH) < 0)
574 if (ioctl(tty_fd, TIOCSETD, &tty_disc) < 0) {
579 if (ioctl(tty_fd, TIOCNXCL, 0) < 0) {
585 if (initfdflags != -1 && fcntl(tty_fd, F_SETF
939 set_up_tty(int tty_fd, int local) argument
1017 setdtr(int tty_fd, int on) argument
1029 restore_tty(int tty_fd) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/pppd/pppd/
H A Dsys-linux.c401 int tty_establish_ppp (int tty_fd) argument
408 if (ioctl(tty_fd, TIOCEXCL, 0) < 0) {
428 if (ioctl(tty_fd, TIOCSETD, &ppp_disc) < 0) {
435 ret_fd = generic_establish_ppp(tty_fd);
445 if (ioctl(tty_fd, TIOCSETD, &tty_disc) < 0 && !ok_error(errno))
560 void tty_disestablish_ppp(int tty_fd) argument
566 if (tcflush(tty_fd, TCIOFLUSH) < 0)
574 if (ioctl(tty_fd, TIOCSETD, &tty_disc) < 0) {
579 if (ioctl(tty_fd, TIOCNXCL, 0) < 0) {
585 if (initfdflags != -1 && fcntl(tty_fd, F_SETF
939 set_up_tty(int tty_fd, int local) argument
1017 setdtr(int tty_fd, int on) argument
1029 restore_tty(int tty_fd) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/accel-pptp/src/pppd/
H A Dsys-linux.c401 int tty_establish_ppp (int tty_fd) argument
408 if (ioctl(tty_fd, TIOCEXCL, 0) < 0) {
428 if (ioctl(tty_fd, TIOCSETD, &ppp_disc) < 0) {
435 ret_fd = generic_establish_ppp(tty_fd);
445 if (ioctl(tty_fd, TIOCSETD, &tty_disc) < 0 && !ok_error(errno))
560 void tty_disestablish_ppp(int tty_fd) argument
566 if (tcflush(tty_fd, TCIOFLUSH) < 0)
574 if (ioctl(tty_fd, TIOCSETD, &tty_disc) < 0) {
579 if (ioctl(tty_fd, TIOCNXCL, 0) < 0) {
585 if (initfdflags != -1 && fcntl(tty_fd, F_SETF
939 set_up_tty(int tty_fd, int local) argument
1017 setdtr(int tty_fd, int on) argument
1029 restore_tty(int tty_fd) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/accel-pptp/src/pppd/
H A Dsys-linux.c401 int tty_establish_ppp (int tty_fd) argument
408 if (ioctl(tty_fd, TIOCEXCL, 0) < 0) {
428 if (ioctl(tty_fd, TIOCSETD, &ppp_disc) < 0) {
435 ret_fd = generic_establish_ppp(tty_fd);
445 if (ioctl(tty_fd, TIOCSETD, &tty_disc) < 0 && !ok_error(errno))
560 void tty_disestablish_ppp(int tty_fd) argument
566 if (tcflush(tty_fd, TCIOFLUSH) < 0)
574 if (ioctl(tty_fd, TIOCSETD, &tty_disc) < 0) {
579 if (ioctl(tty_fd, TIOCNXCL, 0) < 0) {
585 if (initfdflags != -1 && fcntl(tty_fd, F_SETF
939 set_up_tty(int tty_fd, int local) argument
1017 setdtr(int tty_fd, int on) argument
1029 restore_tty(int tty_fd) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/pppd/pppd/
H A Dsys-linux.c401 int tty_establish_ppp (int tty_fd) argument
408 if (ioctl(tty_fd, TIOCEXCL, 0) < 0) {
428 if (ioctl(tty_fd, TIOCSETD, &ppp_disc) < 0) {
435 ret_fd = generic_establish_ppp(tty_fd);
445 if (ioctl(tty_fd, TIOCSETD, &tty_disc) < 0 && !ok_error(errno))
560 void tty_disestablish_ppp(int tty_fd) argument
566 if (tcflush(tty_fd, TCIOFLUSH) < 0)
574 if (ioctl(tty_fd, TIOCSETD, &tty_disc) < 0) {
579 if (ioctl(tty_fd, TIOCNXCL, 0) < 0) {
585 if (initfdflags != -1 && fcntl(tty_fd, F_SETF
939 set_up_tty(int tty_fd, int local) argument
1017 setdtr(int tty_fd, int on) argument
1029 restore_tty(int tty_fd) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/pppd/pppd/
H A Dsys-linux.c401 int tty_establish_ppp (int tty_fd) argument
408 if (ioctl(tty_fd, TIOCEXCL, 0) < 0) {
428 if (ioctl(tty_fd, TIOCSETD, &ppp_disc) < 0) {
435 ret_fd = generic_establish_ppp(tty_fd);
445 if (ioctl(tty_fd, TIOCSETD, &tty_disc) < 0 && !ok_error(errno))
560 void tty_disestablish_ppp(int tty_fd) argument
566 if (tcflush(tty_fd, TCIOFLUSH) < 0)
574 if (ioctl(tty_fd, TIOCSETD, &tty_disc) < 0) {
579 if (ioctl(tty_fd, TIOCNXCL, 0) < 0) {
585 if (initfdflags != -1 && fcntl(tty_fd, F_SETF
939 set_up_tty(int tty_fd, int local) argument
1017 setdtr(int tty_fd, int on) argument
1029 restore_tty(int tty_fd) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/um/drivers/
H A Dline.c717 int tty_fd; member in struct:winch
754 "support\n", winch->tty_fd);
776 void register_winch_irq(int fd, int tty_fd, int pid, struct tty_struct *tty, argument
789 .tty_fd = tty_fd,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/um/drivers/
H A Dline.c717 int tty_fd; member in struct:winch
754 "support\n", winch->tty_fd);
776 void register_winch_irq(int fd, int tty_fd, int pid, struct tty_struct *tty, argument
789 .tty_fd = tty_fd,

Completed in 212 milliseconds