Searched defs:timeout (Results 1 - 10 of 10) sorted by relevance

/sendmail/libsm/
H A Dfprintf.c27 ** timeout -- time to complete print
38 sm_io_fprintf(SM_FILE_T *fp, int timeout, const char *fmt, ...) argument
40 sm_io_fprintf(fp, timeout, fmt, va_alist)
42 int timeout;
52 ret = sm_io_vfprintf(fp, timeout, fmt, ap);
H A Dfscanf.c27 ** timeout -- time to complete scan
38 sm_io_fscanf(SM_FILE_T *fp, int timeout, char const *fmt, ...) argument
40 sm_io_fscanf(fp, timeout, fmt, va_alist)
42 int timeout;
52 ret = sm_vfscanf(fp, timeout, fmt, ap);
H A Dfindfp.c228 int timeout = SM_TIME_DEFAULT; local
230 (void) sm_fwalk(sm_flush, &timeout); /* `cheating' */
H A Dstdio.c361 struct timeval timeout; local
370 timeout.tv_sec = 0;
371 timeout.tv_usec = 0;
373 NULL, NULL, &timeout) > 0 &&
/sendmail/libmilter/
H A Dmain.c99 static int timeout = MI_TIMEOUT; variable
144 ** SMFI_SETTIMEOUT -- set timeout (for read/write).
147 ** otimeout -- new timeout.
157 timeout = otimeout;
242 if (mi_listener(conn, dbg, smfi, timeout, backlog) != MI_SUCCESS)
H A Dsmfi.c49 struct timeval timeout; local
53 timeout.tv_sec = ctx->ctx_timeout;
54 timeout.tv_usec = 0;
72 r = mi_wr_cmd(ctx->ctx_sd, &timeout, cmd, buf, len);
182 struct timeval timeout;
186 timeout.tv_sec = ctx->ctx_timeout;
187 timeout.tv_usec = 0;
215 r = mi_wr_cmd(ctx->ctx_sd, &timeout, cmd, buf, len);
247 struct timeval timeout; local
251 timeout
387 struct timeval timeout; local
416 struct timeval timeout; local
447 struct timeval timeout; local
491 struct timeval timeout; local
853 struct timeval timeout; local
[all...]
H A Dengine.c258 struct timeval timeout; local
282 timeout.tv_sec = ctx->ctx_timeout;
283 timeout.tv_usec = 0;
313 if ((buf = mi_rd_cmd(sd, &timeout, &cmd, &len,
412 if (sendreply(r, sd, &timeout, ctx) != MI_SUCCESS)
601 ** timeout_ptr -- (ptr to) timeout to use for sending
1600 struct timeval timeout; local
1602 timeout.tv_sec = g->a_ctx->ctx_timeout;
1603 timeout.tv_usec = 0;
1608 sendreply(r, sd, &timeout,
[all...]
/sendmail/sendmail/
H A Ddaemon.c308 struct timeval timeout; local
341 timeout.tv_sec = 5;
342 timeout.tv_usec = 0;
345 NULL, NULL, &timeout);
3598 /* put a timeout around the whole thing */
3958 message("851 %s: Name server timeout",
4113 message("851 %s: Name server timeout",
4409 /* shorten name server timeout to avoid higher level timeouts */
H A Dusersmtp.c2522 int timeout; local
2641 ** Set timeout around data writes. Make it at least large
2648 /* simulate a DATA timeout */
2649 timeout = 10;
2652 timeout = DATA_PROGRESS_TIMEOUT * 1000;
2653 sm_io_setinfo(mci->mci_out, SM_IO_WHAT_TIMEOUT, &timeout);
2665 /* simulate a DATA timeout */
2776 ** If putbody() couldn't finish due to a timeout,
2777 ** rewind it here in the timeout handler. See
2785 syserr("451 4.4.1 timeout writin
[all...]
H A Dsrvrsmtp.c318 # define MAXTIMEOUT (4 * 60) /* max timeout for bad commands */
322 ** Maximum shift value to compute timeout for bad commands.
323 ** This introduces an upper limit of 2^MAXSHIFT for the timeout.
573 volatile time_t wt; /* timeout after too many commands */
1043 struct timeval timeout; local
1048 timeout.tv_sec = msecs / 1000;
1049 timeout.tv_usec = (msecs % 1000) * 1000;
1051 /* Obey RFC 2821: 4.3.5.2: 220 timeout of 5 minutes */
1052 if (timeout.tv_sec >= 300)
1054 timeout
[all...]

Completed in 982 milliseconds