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 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().