|
unbound 0.1
|
Pending queries to network, fake replay version. More...
#include <replay.h>
Data Fields | |
| struct sldns_buffer * | buffer |
| what is important only that we remember the query, copied here. | |
| struct sockaddr_storage | addr |
| and to what address this is sent to. | |
| socklen_t | addrlen |
| len of addr | |
| uint8_t * | zone |
| zone name, uncompressed wire format (as used when sent) | |
| size_t | zonelen |
| length of zone name | |
| int | qtype |
| qtype | |
| comm_point_callback_type * | callback |
| The callback function to call when answer arrives (or timeout). | |
| void * | cb_arg |
| callback user argument | |
| int | timeout |
| original timeout in seconds from 'then' | |
| struct fake_pending * | next |
| next in pending list | |
| uint8_t * | pkt |
| the buffer parsed into a sldns_pkt | |
| size_t | pkt_len |
| enum transport_type | transport |
| by what transport was the query sent out | |
| int | serviced |
| if this is a serviced query | |
| int | tcp_pkt_counter |
| if we are handling a multi pkt tcp stream, non 0 and the pkt nr | |
| struct replay_runtime * | runtime |
| the runtime structure this is part of | |
Pending queries to network, fake replay version.
| struct sldns_buffer* fake_pending::buffer |
what is important only that we remember the query, copied here.
Referenced by delete_fake_pending(), outnet_serviced_query_stop(), pending_tcp_query(), and pending_udp_query().
| struct sockaddr_storage fake_pending::addr |
and to what address this is sent to.
Referenced by answer_callback_from_entry(), expon_timeout_backoff(), fake_pending_callback(), pending_find_match(), pending_matches_current(), pending_tcp_query(), pending_udp_query(), and run_scenario().
| socklen_t fake_pending::addrlen |
len of addr
Referenced by answer_callback_from_entry(), expon_timeout_backoff(), fake_pending_callback(), pending_find_match(), pending_matches_current(), pending_tcp_query(), pending_udp_query(), and run_scenario().
| uint8_t* fake_pending::zone |
zone name, uncompressed wire format (as used when sent)
Referenced by delete_fake_pending(), expon_timeout_backoff(), outnet_serviced_query_stop(), pending_tcp_query(), and pending_udp_query().
| size_t fake_pending::zonelen |
length of zone name
Referenced by expon_timeout_backoff().
| int fake_pending::qtype |
qtype
Referenced by expon_timeout_backoff().
| comm_point_callback_type* fake_pending::callback |
The callback function to call when answer arrives (or timeout).
Referenced by answer_callback_from_entry(), fake_pending_callback(), pending_tcp_query(), and pending_udp_query().
| void* fake_pending::cb_arg |
callback user argument
Referenced by answer_callback_from_entry(), fake_pending_callback(), outnet_serviced_query_stop(), pending_tcp_query(), and pending_udp_query().
| int fake_pending::timeout |
original timeout in seconds from 'then'
Referenced by pending_tcp_query(), and pending_udp_query().
| struct fake_pending* fake_pending::next |
next in pending list
Referenced by comm_base_delete(), outnet_serviced_query_stop(), pending_list_delete(), pending_list_delete_pkt(), pending_matches_current(), pending_matches_range(), pending_tcp_query(), pending_udp_query(), and run_scenario().
| uint8_t* fake_pending::pkt |
the buffer parsed into a sldns_pkt
Referenced by answer_callback_from_entry(), delete_fake_pending(), fake_pending_callback(), outnet_serviced_query_stop(), pending_find_match(), pending_list_delete_pkt(), pending_matches_current(), pending_tcp_query(), pending_udp_query(), and run_scenario().
| enum transport_type fake_pending::transport |
by what transport was the query sent out
Referenced by answer_callback_from_entry(), fake_pending_callback(), pending_find_match(), pending_matches_current(), pending_tcp_query(), and pending_udp_query().
| int fake_pending::serviced |
if this is a serviced query
Referenced by answer_callback_from_entry(), fake_pending_callback(), pending_tcp_query(), and pending_udp_query().
| int fake_pending::tcp_pkt_counter |
if we are handling a multi pkt tcp stream, non 0 and the pkt nr
Referenced by answer_callback_from_entry(), fake_pending_callback(), and pending_matches_range().
| struct replay_runtime* fake_pending::runtime |
the runtime structure this is part of
Referenced by advance_moment(), expon_timeout_backoff(), fake_pending_callback(), outnet_serviced_query_stop(), pending_list_delete(), pending_list_delete_pkt(), pending_matches_range(), pending_tcp_query(), pending_udp_query(), and run_scenario().