Electroneum
fake_pending Struct Reference

#include <replay.h>

Collaboration diagram for fake_pending:

Public Attributes

struct sldns_bufferbuffer
 
struct sockaddr_storage addr
 
socklen_t addrlen
 
uint8_tzone
 
size_t zonelen
 
int qtype
 
comm_point_callback_typecallback
 
void * cb_arg
 
int timeout
 
struct fake_pendingnext
 
uint8_tpkt
 
size_t pkt_len
 
enum transport_type transport
 
int serviced
 
int tcp_pkt_counter
 
struct replay_runtimeruntime
 

Detailed Description

Pending queries to network, fake replay version.

Definition at line 325 of file replay.h.

Member Data Documentation

◆ addr

struct sockaddr_storage fake_pending::addr

and to what address this is sent to.

Definition at line 329 of file replay.h.

◆ addrlen

socklen_t fake_pending::addrlen

len of addr

Definition at line 331 of file replay.h.

◆ buffer

struct sldns_buffer* fake_pending::buffer

what is important only that we remember the query, copied here.

Definition at line 327 of file replay.h.

◆ callback

comm_point_callback_type* fake_pending::callback

The callback function to call when answer arrives (or timeout)

Definition at line 339 of file replay.h.

◆ cb_arg

void* fake_pending::cb_arg

callback user argument

Definition at line 341 of file replay.h.

◆ next

struct fake_pending* fake_pending::next

next in pending list

Definition at line 346 of file replay.h.

◆ pkt

uint8_t* fake_pending::pkt

the buffer parsed into a sldns_pkt

Definition at line 348 of file replay.h.

◆ pkt_len

size_t fake_pending::pkt_len

Definition at line 349 of file replay.h.

◆ qtype

int fake_pending::qtype

qtype

Definition at line 337 of file replay.h.

◆ runtime

struct replay_runtime* fake_pending::runtime

the runtime structure this is part of

Definition at line 357 of file replay.h.

◆ serviced

int fake_pending::serviced

if this is a serviced query

Definition at line 353 of file replay.h.

◆ tcp_pkt_counter

int fake_pending::tcp_pkt_counter

if we are handling a multi pkt tcp stream, non 0 and the pkt nr

Definition at line 355 of file replay.h.

◆ timeout

int fake_pending::timeout

original timeout in seconds from 'then'

Definition at line 343 of file replay.h.

◆ transport

enum transport_type fake_pending::transport

by what transport was the query sent out

Definition at line 351 of file replay.h.

◆ zone

uint8_t* fake_pending::zone

zone name, uncompressed wire format (as used when sent)

Definition at line 333 of file replay.h.

◆ zonelen

size_t fake_pending::zonelen

length of zone name

Definition at line 335 of file replay.h.


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