waiting_tcp Struct Reference

Query waiting for TCP buffer. More...

#include <outside_network.h>


Data Fields

struct waiting_tcpnext_waiting
 next in waiting list.
struct comm_timertimer
 timeout event; timer keeps running whether the query is waiting for a buffer or the tcp reply is pending
struct outside_networkoutnet
 the outside network it is part of
struct sockaddr_storage addr
 remote address.
socklen_t addrlen
 length of addr field in use.
uint8_t * pkt
 The query itself, the query packet to send.
size_t pkt_len
 length of query packet.
comm_point_callback_tcb
 callback for the timeout, error or reply to the message
void * cb_arg
 callback user argument


Detailed Description

Query waiting for TCP buffer.

Field Documentation

struct sockaddr_storage waiting_tcp::addr [read]

remote address.

Referenced by outnet_tcp_cb(), outnet_tcp_take_into_use(), and pending_tcp_query().

length of addr field in use.

Referenced by outnet_tcp_cb(), outnet_tcp_take_into_use(), and pending_tcp_query().

uint8_t* waiting_tcp::pkt

The query itself, the query packet to send.

allocated after the waiting_tcp structure. set to NULL when the query is serviced and it part of pending_tcp. if this is NULL, the next_waiting points to the pending_tcp.

Referenced by outnet_tcp_take_into_use(), outnet_tcptimer(), pending_tcp_query(), serviced_delete(), and use_free_buffer().

length of query packet.

Referenced by pending_tcp_query(), use_free_buffer(), and waiting_tcp_get_mem().


The documentation for this struct was generated from the following file:

Generated on Mon Nov 16 11:51:40 2009 for unbound by  doxygen 1.5.9