Lines Matching defs:on

80 /** number of retries on outgoing UDP queries */
203 * @return false on error, socket closed.
246 /** get TCP file descriptor for address, returns -1 on failure,
255 int on = 1;
275 if(setsockopt(s, SOL_SOCKET, SO_REUSEADDR, (void*)&on,
276 (socklen_t)sizeof(on)) < 0) {
285 "error setting IP DiffServ codepoint on socket");
304 /** connect tcp connection to addr, 0 on failure */
379 /** push the element after the last on the writewait list */
426 /** insert into reuse tcp tree and LRU, false on failure (duplicate) */
433 log_err("internal error: reuse_tcp_insert: on lru list without key");
490 /* but the key is on stack, and ptr is compared, impossible */
539 /* set timer on the waiting_tcp entry, this is the write timeout
540 * for the written packet. The timer on pend->c is the timer
601 currently support doing a handshake on fd that already isn't connected*/
697 return; /* not on the list, no lru to modify */
716 /** call callback on waiting_tcp, if not NULL */
750 /* on the write wait list */
754 /* stop the timer on read of the fd */
815 * can get written on a new socket */
978 /** set timeout on tcp fd and setup read event to catch incoming dns msgs */
986 /** set timeout on tcp fd and setup read event to catch incoming dns msgs */
1097 * on the empty list. do not decommission it */
1099 * read again, to see if it is on the input,
1101 * and there could be more bytes to read on the input */
1108 /* no queries on it, no space to keep it. or timeout or closed due
1116 /** lower use count on pc, see if it can be closed */
1159 /* callback error on pending */
1221 verbose(VERB_QUERY, "received reply id,addr on wrong port. "
1554 /* check every element, since we can be called on malloc error */
1616 * the tcp conn is working on */
1997 /* it is on the waiting list */
2181 /* stop the timer on read of the fd */
2206 /* waiting for a buffer on the outside network buffer wait
2385 /* set a keepalive timer on it */
2418 /* if on stream-write-waiting list then
2543 * @return 0 on error.
2790 /* create one if there isn't (on errors) */
2817 /** Send serviced query over TCP return false on initial failure */
3240 /* SSL_VERIFY_PEER is set on the sslctx */
3284 /* outnet_tcp_connect has closed fd on error for us */
3305 /* set timeout on TCP connection */
3346 /* outnet_tcp_connect has closed fd on error for us */
3368 /* set timeout on TCP connection */
3479 /* always has a timer except on malloc failures */