Lines Matching defs:on

80 /** number of retries on outgoing UDP queries */
96 /** Send serviced query over TCP return false on initial failure */
210 * @return false on error, socket closed.
262 /** get TCP file descriptor for address, returns -1 on failure,
273 int on = 1;
293 if(setsockopt(s, SOL_SOCKET, SO_REUSEADDR, (void*)&on,
294 (socklen_t)sizeof(on)) < 0) {
303 "error setting IP DiffServ codepoint on socket");
319 if(setsockopt(s, IPPROTO_IP, IP_BIND_ADDRESS_NO_PORT, (void*)&on,
320 (socklen_t)sizeof(on)) < 0) {
327 if(setsockopt(s, IPPROTO_TCP, TCP_NODELAY, (void*)&on,
328 (socklen_t)sizeof(on)) < 0) {
340 /** connect tcp connection to addr, 0 on failure */
428 /** push the element after the last on the writewait list */
488 /** insert into reuse tcp tree and LRU, false on failure (duplicate) */
563 /* but the key is on stack, and ptr is compared, impossible */
631 /* set timer on the waiting_tcp entry, this is the write timeout
632 * for the written packet. The timer on pend->c is the timer
703 currently support doing a handshake on fd that already isn't connected*/
799 return; /* not on the list, no lru to modify */
946 /** call callback on waiting_tcp, if not NULL */
987 /* on the write wait list */
991 /* stop the timer on read of the fd */
1062 * can get written on a new socket */
1122 /* defend against loops on broken tree by zeroing the
1274 /** set timeout on tcp fd and setup read event to catch incoming dns msgs */
1282 /** set timeout on tcp fd and setup read event to catch incoming dns msgs */
1402 * on the empty list. do not decommission it */
1404 * read again, to see if it is on the input,
1406 * and there could be more bytes to read on the input */
1413 /* no queries on it, no space to keep it. or timeout or closed due
1421 /** lower use count on pc, see if it can be closed */
1466 /* callback error on pending */
1530 verbose(VERB_QUERY, "received reply id,addr on wrong port. "
1860 /* check every element, since we can be called on malloc error */
1922 * the tcp conn is working on */
2330 /* it is on the waiting list */
2515 /* stop the timer on read of the fd */
2552 /* waiting for a buffer on the outside network buffer wait
2738 /* set a keepalive timer on it */
2772 /* if on stream-write-waiting list then
2787 /* w needs to stay on tree_by_id to not assign
2914 * @return 0 on error.
3176 /* create one if there isn't (on errors) */
3206 /** Send serviced query over TCP return false on initial failure */
3462 * now on. */
3698 /* SSL_VERIFY_PEER is set on the sslctx */
3743 /* outnet_tcp_connect has closed fd on error for us */
3764 /* set timeout on TCP connection */
3771 /** setup the User-Agent HTTP header based on http-user-agent configuration */
3819 /* outnet_tcp_connect has closed fd on error for us */
3841 /* set timeout on TCP connection */
3952 /* always has a timer except on malloc failures */