Searched refs:s_pty (Results 1 - 1 of 1) sorted by relevance
/asus-wl-520gu-7.0.1.45/src/router/rp-l2tp/handlers/ |
H A D | sync-pppd.c | 297 int m_pty = -1, s_pty; local 312 s_pty = socket(AF_PPPOX, SOCK_DGRAM, PX_PROTO_OL2TP); 313 if (s_pty < 0) { 318 flags = fcntl(s_pty, F_GETFL); 319 if (flags == -1 || fcntl(s_pty, F_SETFL, flags | O_NONBLOCK) == -1) { 335 if (connect(s_pty, (struct sockaddr *)&sax, sizeof(sax)) < 0) { 340 snprintf (fdstr, sizeof(fdstr), "%d", s_pty); 342 if (pty_get(&m_pty, &s_pty) < 0) { 349 close(s_pty); 370 close(s_pty); [all...] |
Completed in 32 milliseconds