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

/asus-wl-520gu-7.0.1.45/src/router/rp-l2tp/handlers/
H A Dpty.c44 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 Dsys-linux.c1875 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 Dsys-sunos4.c1329 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 Dsys-solaris.c2534 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 Dsys-linux.c1976 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 Dsys-sunos4.c1551 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 Dsys-solaris.c2744 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 Dsys-linux.c1976 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 Dsys-sunos4.c1551 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 Dsys-solaris.c2744 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 Dsclient.c32 void send_to_logger( int sfd, int mfd, struct job *job, const char *header, char *msg ){;} argument
H A Dsserver.c209 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 Dlp.h107 void send_to_logger( int sfd, int mfd, struct job *job, const char *header, char *msg );

Completed in 188 milliseconds