/asus-wl-520gu-7.0.1.45/src/router/rp-l2tp/handlers/ |
H A D | pty.c | 44 int mfd, sfd; local 47 mfd = -1; 50 mfd = open("/dev/ptmx", O_RDWR); 51 if (mfd >= 0) { 53 if (ioctl(mfd, TIOCGPTN, &ptn) >= 0) { 56 if (ioctl(mfd, TIOCSPTLCK, &ptn) < 0) { 65 if (sfd < 0 || mfd < 0) { 67 if (mfd >= 0) close(mfd); 71 *mfp = mfd; [all...] |
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppd/ |
H A D | sys-linux.c | 1875 int mfd = -1; local 1886 if (!get_pty(&mfd, &local_fd, slave, 0)) { 1900 close(mfd); 2452 int i, mfd, sfd = -1; local 2460 mfd = open("/dev/ptmx", O_RDWR); 2461 if (mfd >= 0) { 2463 if (ioctl(mfd, TIOCGPTN, &ptn) >= 0) { 2468 if (ioctl(mfd, TIOCSPTLCK, &ptn) < 0) 2482 mfd = open(pty_name, O_RDWR, 0); 2483 if (mfd > [all...] |
H A D | sys-sunos4.c | 1329 int i, mfd, sfd; local 1337 mfd = open(pty_name, O_RDWR, 0); 1338 if (mfd >= 0) { 1343 close(mfd); 1350 *master_fdp = mfd;
|
H A D | sys-solaris.c | 2534 int mfd, sfd; local 2538 mfd = open("/dev/ptmx", O_RDWR); 2539 if (mfd < 0) { 2544 pty_name = ptsname(mfd); 2547 close(mfd); 2554 if (unlockpt(mfd) < 0) 2560 close(mfd); 2568 *master_fdp = mfd;
|
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/ |
H A D | sys-linux.c | 1976 int mfd = -1; local 1987 if (!get_pty(&mfd, &local_fd, slave, 0)) { 2001 close(mfd); 2563 int i, mfd, sfd = -1; local 2571 mfd = open("/dev/ptmx", O_RDWR); 2572 if (mfd >= 0) { 2574 if (ioctl(mfd, TIOCGPTN, &ptn) >= 0) { 2579 if (ioctl(mfd, TIOCSPTLCK, &ptn) < 0) 2593 mfd = open(pty_name, O_RDWR, 0); 2594 if (mfd > [all...] |
H A D | sys-sunos4.c | 1551 int i, mfd, sfd; local 1559 mfd = open(pty_name, O_RDWR, 0); 1560 if (mfd >= 0) { 1565 close(mfd); 1572 *master_fdp = mfd;
|
H A D | sys-solaris.c | 2744 int mfd, sfd; local 2748 mfd = open("/dev/ptmx", O_RDWR); 2749 if (mfd < 0) { 2754 pty_name = ptsname(mfd); 2757 close(mfd); 2764 if (unlockpt(mfd) < 0) 2770 close(mfd); 2778 *master_fdp = mfd;
|
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/ |
H A D | sys-linux.c | 1976 int mfd = -1; local 1987 if (!get_pty(&mfd, &local_fd, slave, 0)) { 2001 close(mfd); 2563 int i, mfd, sfd = -1; local 2571 mfd = open("/dev/ptmx", O_RDWR); 2572 if (mfd >= 0) { 2574 if (ioctl(mfd, TIOCGPTN, &ptn) >= 0) { 2579 if (ioctl(mfd, TIOCSPTLCK, &ptn) < 0) 2593 mfd = open(pty_name, O_RDWR, 0); 2594 if (mfd > [all...] |
H A D | sys-sunos4.c | 1551 int i, mfd, sfd; local 1559 mfd = open(pty_name, O_RDWR, 0); 1560 if (mfd >= 0) { 1565 close(mfd); 1572 *master_fdp = mfd;
|
H A D | sys-solaris.c | 2744 int mfd, sfd; local 2748 mfd = open("/dev/ptmx", O_RDWR); 2749 if (mfd < 0) { 2754 pty_name = ptsname(mfd); 2757 close(mfd); 2764 if (unlockpt(mfd) < 0) 2770 close(mfd); 2778 *master_fdp = mfd;
|
/asus-wl-520gu-7.0.1.45/src/router/LPRng/src/AUTHENTICATE/ |
H A D | sclient.c | 32 void send_to_logger( int sfd, int mfd, struct job *job, const char *header, char *msg ){;} argument
|
H A D | sserver.c | 209 void send_to_logger( int sfd, int mfd, struct job *job, const char *header, char *msg ){;} argument
|
/asus-wl-520gu-7.0.1.45/src/router/LPRng/src/include/ |
H A D | lp.h | 107 void send_to_logger( int sfd, int mfd, struct job *job, const char *header, char *msg );
|