unbound 0.1
fake_pending Struct Reference

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

Detailed Description

Pending queries to network, fake replay version.

Field Documentation

◆ buffer

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

◆ addr

struct sockaddr_storage fake_pending::addr

◆ addrlen

◆ zone

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

◆ zonelen

size_t fake_pending::zonelen

length of zone name

Referenced by expon_timeout_backoff().

◆ qtype

int fake_pending::qtype

qtype

Referenced by expon_timeout_backoff().

◆ callback

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

◆ cb_arg

void* fake_pending::cb_arg

◆ timeout

int fake_pending::timeout

original timeout in seconds from 'then'

Referenced by pending_tcp_query(), and pending_udp_query().

◆ next

◆ pkt

◆ transport

enum transport_type fake_pending::transport

◆ serviced

int fake_pending::serviced

◆ tcp_pkt_counter

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

◆ runtime


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