|
unbound
0.1
|
A query that has an answer pending for it. More...
#include <outside_network.h>
Data Fields | |
| rbnode_type | node |
| redblacktree entry, key is the pending struct(id, addr). More... | |
| unsigned int | id |
| the ID for the query. More... | |
| struct sockaddr_storage | addr |
| remote address. More... | |
| socklen_t | addrlen |
| length of addr field in use. More... | |
| struct port_comm * | pc |
| comm point it was sent on (and reply must come back on). More... | |
| struct comm_timer * | timer |
| timeout event | |
| comm_point_callback_type * | cb |
| callback for the timeout, error or reply to the message | |
| void * | cb_arg |
| callback user argument | |
| struct outside_network * | outnet |
| the outside network it is part of | |
| struct serviced_query * | sq |
| the corresponding serviced_query | |
| struct pending * | next_waiting |
| next in waiting list. More... | |
| int | timeout |
| timeout in msec | |
| uint8_t * | pkt |
| The query itself, the query packet to send. More... | |
| size_t | pkt_len |
| length of query packet. More... | |
A query that has an answer pending for it.
| rbnode_type pending::node |
redblacktree entry, key is the pending struct(id, addr).
Referenced by pending_delete(), pending_node_del(), and pending_udp_query().
| unsigned int pending::id |
the ID for the query.
int so that a value out of range can be used to signify a pending that is for certain not present in the rbtree. (and for which deletion is safe).
Referenced by pending_cmp(), and select_id().
| struct sockaddr_storage pending::addr |
remote address.
Referenced by pending_cmp(), pending_udp_query(), randomize_and_send_udp(), and udp_sockport().
| socklen_t pending::addrlen |
length of addr field in use.
Referenced by pending_cmp(), pending_udp_query(), randomize_and_send_udp(), and udp_sockport().
| struct port_comm* pending::pc |
comm point it was sent on (and reply must come back on).
Referenced by pending_udp_timer_cb(), pending_udp_timer_delay_cb(), randomize_and_send_udp(), select_ifport(), and serviced_delete().
| struct pending* pending::next_waiting |
next in waiting list.
Referenced by outnet_send_wait_udp(), outside_network_delete(), pending_delete(), and pending_udp_query().
| uint8_t* pending::pkt |
The query itself, the query packet to send.
Referenced by outnet_send_wait_udp(), pending_delete(), and pending_udp_query().
| size_t pending::pkt_len |
length of query packet.
Referenced by outnet_send_wait_udp(), pending_udp_query(), and waiting_udp_get_mem().
1.8.14