Lines Matching refs:idle
456 int idle;
460 (void) &idle;
479 * - By default, the first keep-alive probe is sent out after a TCP connection is idle for two hours.
496 idle = delay;
498 if (idle < 10)
499 idle = 10;
501 if (idle > 10*24*60*60)
502 idle = 10*24*60*60;
507 if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPIDLE, &idle, sizeof(idle)))
510 intvl = idle/3;
521 idle *= 1000; /* kernel expects milliseconds */
522 if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPALIVE_THRESHOLD, &idle, sizeof(idle)))
527 intvl = idle/3;