Lines Matching refs:hold
591 int rcvbuf, hold; in sock_setbufs() local
592 socklen_t tmplen = sizeof(hold); in sock_setbufs()
598 rcvbuf = hold = alloc * preload; in sock_setbufs()
599 if (hold < 65536) in sock_setbufs()
600 hold = 65536; in sock_setbufs()
601 setsockopt(icmp_sock, SOL_SOCKET, SO_RCVBUF, (char *)&hold, sizeof(hold)); in sock_setbufs()
602 if (getsockopt(icmp_sock, SOL_SOCKET, SO_RCVBUF, (char *)&hold, &tmplen) == 0) { in sock_setbufs()
603 if (hold < rcvbuf) in sock_setbufs()
631 int hold; in setup() local
648 hold = 1; in setup()
650 setsockopt(icmp_sock, SOL_SOCKET, SO_DEBUG, (char *)&hold, sizeof(hold)); in setup()
652 setsockopt(icmp_sock, SOL_SOCKET, SO_DONTROUTE, (char *)&hold, sizeof(hold)); in setup()