Electroneum
waiting_tcp Struct Reference

#include <outside_network.h>

Collaboration diagram for waiting_tcp:

Public Attributes

struct waiting_tcpnext_waiting
 
struct comm_timertimer
 
struct outside_networkoutnet
 
struct sockaddr_storage addr
 
socklen_t addrlen
 
uint8_tpkt
 
size_t pkt_len
 
comm_point_callback_typecb
 
void * cb_arg
 
int ssl_upstream
 
char * tls_auth_name
 

Detailed Description

Query waiting for TCP buffer.

Definition at line 263 of file outside_network.h.

Member Data Documentation

◆ addr

struct sockaddr_storage waiting_tcp::addr

remote address.

Definition at line 275 of file outside_network.h.

◆ addrlen

socklen_t waiting_tcp::addrlen

length of addr field in use.

Definition at line 277 of file outside_network.h.

◆ cb

comm_point_callback_type* waiting_tcp::cb

callback for the timeout, error or reply to the message

Definition at line 288 of file outside_network.h.

◆ cb_arg

void* waiting_tcp::cb_arg

callback user argument

Definition at line 290 of file outside_network.h.

◆ next_waiting

struct waiting_tcp* waiting_tcp::next_waiting

next in waiting list. if pkt==0, this points to the pending_tcp structure.

Definition at line 268 of file outside_network.h.

◆ outnet

struct outside_network* waiting_tcp::outnet

the outside network it is part of

Definition at line 273 of file outside_network.h.

◆ pkt

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.

Definition at line 284 of file outside_network.h.

◆ pkt_len

size_t waiting_tcp::pkt_len

length of query packet.

Definition at line 286 of file outside_network.h.

◆ ssl_upstream

int waiting_tcp::ssl_upstream

if it uses ssl upstream

Definition at line 292 of file outside_network.h.

◆ timer

struct comm_timer* waiting_tcp::timer

timeout event; timer keeps running whether the query is waiting for a buffer or the tcp reply is pending

Definition at line 271 of file outside_network.h.

◆ tls_auth_name

char* waiting_tcp::tls_auth_name

ref to the tls_auth_name from the serviced_query

Definition at line 294 of file outside_network.h.


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