/freebsd-10.3-release/usr.sbin/ypserv/ |
H A D | yp_server.c | 276 struct timeval timeout; local 280 timeout.tv_sec = 5; 281 timeout.tv_usec = 0; 284 if ((clnt = clntudp_create(addr,prognum,1,timeout,&sock)) == NULL) { 293 /* Turn the timeout off -- we don't want to block. */ 294 timeout.tv_sec = 0; 295 if (clnt_control(clnt, CLSET_TIMEOUT, &timeout) == FALSE) 296 yp_error("failed to set timeout on ypproc_xfr callback");
|
H A D | yp_main.c | 140 struct timeval timeout; local 154 timeout.tv_sec = RESOLVER_TIMEOUT; 155 timeout.tv_usec = 0; 157 &timeout)) {
|
/freebsd-10.3-release/usr.sbin/yppush/ |
H A D | yppush_main.c | 67 int yppush_timeout = 80; /* Default timeout. */ 226 * 0 timeout 234 struct timeval timeout; local 236 timeout.tv_usec = 0; 237 timeout.tv_sec = timeout_secs; 241 rc = select(svc_maxfd + 1, &readfds, NULL, NULL, &timeout); 288 struct timeval timeout; local 290 timeout.tv_usec = 0; 291 timeout.tv_sec = 0; 339 * Reduce timeout t [all...] |
/freebsd-10.3-release/usr.sbin/ypbind/ |
H A D | ypbind.c | 141 /* RPC timeout value */ 588 struct timeval timeout; local 591 timeout.tv_sec = 5; 592 timeout.tv_usec = 0; 605 if (select(FD_SETSIZE, NULL, &fds, NULL, &timeout) == -1) 772 struct timeval interval, timeout; local 779 timeout.tv_sec = FAIL_THRESHOLD; 780 timeout.tv_usec = 0; 802 (xdrproc_t)xdr_bool, &out, timeout);
|
H A D | yp_ping.c | 104 static struct timeval timeout = { 1, 0 }; variable in typeref:struct:timeval 124 PMAPVERS, timeout, &sock, RPCSMALLMSGSIZE, RPCSMALLMSGSIZE);
|
/freebsd-10.3-release/usr.sbin/watchdogd/ |
H A D | watchdogd.c | 71 static int watchdog_patpat(u_int timeout); 79 static u_int timeout = WD_TO_128SEC; variable 186 timeout |= WD_PASSIVE; 188 timeout |= WD_ACTIVE; 189 if (watchdog_patpat(timeout) < 0) 206 * Convert a timeout in seconds to N where 2^N nanoseconds is close to 242 errx(1, "Timeout for %s%s is too small, please choose a higher timeout.", longopt ? "-" : "", longopt ? longopt : shortopt); 375 watchdog_patpat(timeout|WD_ACTIVE); 431 error = watchdog_patpat((timeout|WD_ACTIVE)); 463 return watchdog_patpat((timeout|WD_ACTIV [all...] |
/freebsd-10.3-release/usr.sbin/uhsoctl/ |
H A D | uhsoctl.c | 186 int timeout; member in struct:timer_entry 207 te->timeout -= tmrs->res; 208 while (te->timeout <= 0) { 221 tmr_add(struct timers *tmrs, int id, int timeout, tmr_cb func, void *arg) argument 228 te->timeout = timeout; 237 } else if (te->timeout < te2->timeout) { 238 te2->timeout -= te->timeout; 256 watchdog_reset(struct ctx *ctx, int timeout) argument [all...] |
/freebsd-10.3-release/usr.sbin/uathload/ |
H A D | uathload.c | 117 int msg, data, fw, timeout, b, c; local 167 timeout = UATH_DATA_TIMEOUT; 168 if (ioctl(msg, USB_SET_RX_TIMEOUT, &timeout) < 0) 176 timeout = UATH_DATA_TIMEOUT; 177 if (ioctl(data, USB_SET_TX_TIMEOUT, &timeout) < 0)
|
/freebsd-10.3-release/usr.sbin/timed/timed/ |
H A D | slave.c | 73 int timeout(); 682 struct timeval timeout; local 684 timeout.tv_sec = 0; 685 timeout.tv_usec = delay1; 688 &timeout);
|
/freebsd-10.3-release/usr.sbin/rtsold/ |
H A D | rtsold.c | 118 struct timespec *timeout; local 347 timeout = rtsol_check_timer(); 352 /* if we have no timeout, we are done (or failed) */ 353 if (timeout == NULL) 365 e = poll(set, 2, timeout ? (timeout->tv_sec * 1000 + timeout->tv_nsec / 1000 / 1000) : INFTIM); 367 e = select(maxfd + 1, selectfdp, NULL, NULL, timeout);
|
/freebsd-10.3-release/usr.sbin/rtadvd/ |
H A D | timer.c | 106 rtadvd_add_timer(struct rtadvd_timer *(*timeout)(void *), 112 if (timeout == NULL) { 114 "<%s> timeout function unspecified", __func__); 126 rat->rat_expire = timeout; 175 /* no need to timeout */
|
H A D | rtadvd.c | 181 struct timespec *timeout; local 314 /* timeout handler update for active interfaces */ 318 timeout = rtadvd_check_timer(); 320 if (timeout != NULL) { 323 "inputs or timeout", __func__, 324 (long int)timeout->tv_sec, 325 (long int)timeout->tv_nsec / 1000); 332 timeout ? (timeout->tv_sec * 1000 + 333 timeout [all...] |
/freebsd-10.3-release/usr.sbin/rrenumd/ |
H A D | rrenumd.c | 533 struct timeval timeout; local 631 /* ADHOC: timeout each 30seconds */ 632 memset(&timeout, 0, sizeof(timeout)); 641 &timeout)) < 0){ 646 if (i == 0) { /* timeout */ 651 timeout.tv_sec = 30; 653 timeout.tv_sec = 0;
|
/freebsd-10.3-release/usr.sbin/rpc.statd/ |
H A D | procs.c | 382 struct timeval timeout = { 20, 0 }; /* 20 secs timeout */ local 425 (xdrproc_t)xdr_void, &dummy, timeout) != RPC_SUCCESS)
|
H A D | file.c | 251 struct timeval timeout = { 20, 0 }; /* 20 secs timeout */ local 273 (xdrproc_t)xdr_void, &dummy, timeout)
|
/freebsd-10.3-release/usr.sbin/rpc.lockd/ |
H A D | kern.c | 261 struct timeval timeout = {0, 0}; /* No timeout, no response. */ local 293 (xdrproc_t)xdr_void, &dummy, timeout); 317 (xdrproc_t)xdr_void, &dummy, timeout); 332 struct timeval timeout = {0, 0}; /* No timeout, no response. */ local 365 (xdrproc_t)xdr_void, &dummy, timeout); 390 (xdrproc_t)xdr_void, &dummy, timeout); 405 struct timeval timeout = {0, 0}; /* No timeout, n local [all...] |
/freebsd-10.3-release/usr.sbin/ppp/ |
H A D | tun.h | 32 u_int32_t timeout; member in union:tun_data::__anon12740
|
H A D | lcp.c | 202 " REQ%s, %u Term REQ%s\n", lcp->cfg.fsm.timeout, 265 lcp->cfg.fsm.timeout = DEF_FSMRETRY; 364 fp->FsmTimer.load = lcp->cfg.fsm.timeout * SECTICKS;
|
H A D | ipv6cp.c | 275 ipv6cp->cfg.fsm.timeout = DEF_FSMRETRY; 341 " REQ%s, %u Term REQ%s\n\n", ipv6cp->cfg.fsm.timeout, 601 fp->FsmTimer.load = ipv6cp->cfg.fsm.timeout * SECTICKS;
|
H A D | ipcp.c | 376 " REQ%s, %u Term REQ%s\n", ipcp->cfg.fsm.timeout, 482 ipcp->cfg.fsm.timeout = DEF_FSMRETRY; 742 fp->FsmTimer.load = ipcp->cfg.fsm.timeout * SECTICKS;
|
H A D | ip.c | 199 * If psecs is not NULL, populate it with the timeout associated 455 *psecs = fp->timeout; 888 log_Printf(LogTCPIP, "%s - (timeout = %d / ALIVE = %d secs)\n", 891 log_Printf(LogTCPIP, "%s - (timeout = %d secs)\n", logbuf, *psecs);
|
H A D | fsm.h | 64 u_int timeout; /* FSM retry frequency */ member in struct:fsm_retry
|
H A D | filter.h | 70 unsigned timeout; /* Keep alive value for passed packet */ member in struct:filterent
|
H A D | filter.c | 361 if (argc >= 2 && strcmp(*argv, "timeout") == 0) { 362 fe.timeout = strtoul(argv[1], NULL, 10); 491 if (fp->timeout != 0) 492 prompt_Printf(prompt, " timeout %u", fp->timeout);
|
H A D | ether.c | 105 int timeout; /* Seconds attempting to connect */ member in struct:etherdevice 316 if (dev->connected != CARRIER_OK && !dev->timeout--) 675 dev->timeout = dev->dev.cd.delay; 711 dev->timeout = 0;
|