|
unbound 0.1
|
Pending TCP query to server. More...
#include <outside_network.h>
Data Fields | |
| struct pending_tcp * | next_free |
| next in list of free tcp comm points, or NULL. | |
| struct port_if * | pi |
| port for of the outgoing interface that is used | |
| struct comm_point * | c |
| tcp comm point it was sent on (and reply must come back on). | |
| struct waiting_tcp * | query |
| the query being serviced, NULL if the pending_tcp is unused. | |
| struct reuse_tcp | reuse |
| the pre-allocated reuse tcp structure. | |
Pending TCP query to server.
| struct pending_tcp* pending_tcp::next_free |
next in list of free tcp comm points, or NULL.
Referenced by create_pending_tcp(), create_pending_tcp(), decommission_pending_tcp(), and outnet_tcp_take_into_use().
| struct port_if* pending_tcp::pi |
port for of the outgoing interface that is used
Referenced by pending_tcp_query(), pick_outgoing_tcp(), serviced_tcp_callback(), and use_free_buffer().
| struct comm_point* pending_tcp::c |
tcp comm point it was sent on (and reply must come back on).
Referenced by create_pending_tcp(), decommission_pending_tcp(), log_reuse_tcp(), outnet_get_mem(), outnet_tcp_cb(), outnet_tcp_take_into_use(), outnet_tcp_take_query_setup(), outside_network_delete(), pending_tcp_query(), reuse_move_writewait_away(), reuse_tcp_find(), reuse_tcp_remove_serviced_keep(), reuse_tcp_setup_read_and_timeout(), reuse_tcp_setup_timeout(), serviced_tcp_callback(), and use_free_buffer().
| struct waiting_tcp* pending_tcp::query |
the query being serviced, NULL if the pending_tcp is unused.
Referenced by decommission_pending_tcp(), outnet_get_mem(), outnet_tcp_cb(), outnet_tcp_take_into_use(), pending_tcp_query(), reuse_cb_and_decommission(), reuse_move_writewait_away(), reuse_tcp_find(), and use_free_buffer().
| struct reuse_tcp pending_tcp::reuse |
the pre-allocated reuse tcp structure.
if ->pending is nonNULL it is in use and the connection is waiting for reuse. It is here for memory pre-allocation, and used to make this pending_tcp wait for reuse.
Referenced by decommission_pending_tcp(), outnet_tcp_cb(), outnet_tcp_take_into_use(), outside_network_delete(), pending_tcp_query(), reuse_cb_and_decommission(), reuse_move_writewait_away(), reuse_tcp_find(), reuse_tcp_insert(), reuse_tcp_remove_serviced_keep(), reuse_tcp_setup_read_and_timeout(), reuse_tcp_setup_timeout(), reuse_tree_by_id_delete(), serviced_delete(), tcpid_test(), and use_free_buffer().