Home
last modified time | relevance | path

Searched refs:wport4 (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/usr.sbin/faithd/
H A Dftp.c56 static int wport4 = -1; /* listen() to active */ variable
97 if (0 <= wport4) { in ftp_relay()
98 pfd[4].fd = wport4; in ftp_relay()
103 pfd[5].fd = wport4; in ftp_relay()
212 if (wport4 && (pfd[4].revents & POLLIN)) in ftp_relay()
219 if (wport4 && (pfd[5].revents & POLLIN)) in ftp_relay()
242 pfd[0].fd = wport4; in ftp_activeconn()
247 (port4 = accept(wport4, (void *)&data4, &n)) < 0) in ftp_activeconn()
249 (void)close(wport4); in ftp_activeconn()
250 wport4 = -1; in ftp_activeconn()
[all …]