Home
last modified time | relevance | path

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

/mirbsd/src/usr.sbin/faithd/
Dftp.c59 static int port4 = -1; /* active: inbound passive: outbound */ variable
92 if (0 <= port4) { in ftp_relay()
93 pfd[2].fd = port4; in ftp_relay()
162 if (0 <= port4 && 0 <= port6 && (pfd[2].revents & POLLIN)) { in ftp_relay()
168 error = ftp_copy(port4, port6); in ftp_relay()
173 close(port4); in ftp_relay()
175 port4 = port6 = -1; in ftp_relay()
182 if (0 <= port4 && 0 <= port6 && (pfd[3].revents & POLLIN)) { in ftp_relay()
188 error = ftp_copy(port6, port4); in ftp_relay()
193 close(port4); in ftp_relay()
[all …]
/mirbsd/src/gnu/usr.sbin/sendmail/sendmail/
Ddaemon.c3399 static unsigned short port4 = 0; local
3537 if (port4 == 0)
3541 port4 = sp->s_port;
3543 port4 = htons(113);
3545 RealHostAddr.sin.sin_port = port4;