Lines Matching defs:listenfd
36 static socket_t listenfd = INVALID_SOCKET;
69 if (ValidSocket(listenfd))
80 listenfd = mi_milteropen(conn, backlog, rmsocket, smfi->xxfi_name);
81 if (!ValidSocket(listenfd))
89 if (!SM_FD_OK_SELECT(listenfd))
92 smfi->xxfi_name, listenfd, FD_SETSIZE);
597 if (ValidSocket(listenfd))
606 fstat(listenfd, &sockinfo) == 0 &&
614 (void) closesocket(listenfd);
615 listenfd = INVALID_SOCKET;
753 if (!ValidSocket(listenfd))
757 "%s: listenfd=%d corrupted, terminating, errno=%d",
758 smfi->xxfi_name, listenfd, errno);
764 FD_RD_INIT(listenfd, rds, excs);
767 r = FD_RD_READY(listenfd, rds, excs, &chktime);
793 if (!FD_IS_RD_RDY(listenfd, rds, excs))
806 connfd = accept(listenfd, (struct sockaddr *) &cliaddr,