Lines Matching +full:send +full:- +full:not +full:- +full:empty

2  * services/outside_network.h - listen to answers from the network
24 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
28 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
39 * This file has functions to send queries to authoritative servers,
71 * Send queries to outside servers and wait for answers from servers.
72 * Contains answer-listen sockets.
105 * for use as outgoing UDP ports. cp.fd=-1 in them. */
109 /** if udp is delay-closed (delayed answers do not meet closed port)*/
113 /** if we perform udp-connect, connect() for UDP socket to mitigate
138 /** host cache, pointer but not owned by outnet. */
158 * The file descriptors are -1 if they are free, and need to be
173 * tree of still-open and waiting tcp connections for reuse.
177 * The entries are both active and empty connections.
184 * The list contains empty connections, that wait for timeout or
211 * Only the first total-inuse part is filled. */
240 /** UDP commpoint, fd=-1 if not in use */
248 /** rbtree node with links in tcp_reuse tree. key is NULL when not
249 * in tree. Both active and empty connections are in the tree.
251 * are the sockaddr and and then is-ssl bool, and then ptr value is
265 * The lru only contains empty connections waiting for reuse,
266 * the ones with active queries are not on the list because they
267 * do not need to be closed to make space for others. They already
268 * service a query so the close for another query does not help
271 /** true if the reuse_tcp item is on the lru list with empty items */
273 /** the connection to reuse, the fd is non-1 and is open.
277 * or not is also part of the key to the rbtree.
300 * if NULL no queries are waiting to be written and the pending->query
316 * be used to signify a pending that is for certain not present in
336 /*---- filled if udp pending is waiting -----*/
341 /** The query itself, the query packet to send. */
359 /** the pre-allocated reuse tcp structure. if ->pending is nonNULL
361 * It is here for memory pre-allocation, and used to make this
383 /** entry in reuse.tree_by_id, if key is NULL, not in tree, otherwise,
400 * The query itself, the query packet to send.
441 /** fallback size for EDNS in IPv6, fits one fragment with ip6-tunnel-ids */
454 * then qdcount, ..., including qname, qtype, qclass. Does not include
470 /** where to send it */
496 /** send UDP query with EDNS1480 (or 1280) */
555 * @param delayclose: if not 0, udp sockets are delayed before timeout closure.
558 * @param dtenv: environment to send dnstap events with (if enabled).
588 * Send UDP query, create pending answer.
591 * @param packet: wireformat query to send to destination.
602 * Send TCP query. May wait for TCP buffer. Selects ID to be random, and
605 * @param packet: wireformat query to send to destination. copied from.
620 * Internal feature: if outnet is NULL, p is not unlinked from rbtree.
642 * @param addr: to which server to send the query.
652 * @param buff: scratch buffer to create query contents in. Empty on exit.
686 * This takes into account the pre-deleted status of it; it will be deleted
745 /** get TCP file descriptor for address, returns -1 on failure,
775 * @param query: initial packet to send writing, in buffer. It is copied
778 * timeout in milliseconds, or -1 for no (change to the) timeout.
799 * timeout in milliseconds, or -1 for no (change to the) timeout.
804 * @param cfg: running configuration for User-Agent setup.
832 /** callback to send serviced queries */