|
Electroneum
|
#include <outside_network.h>

Public Attributes | |
| rbnode_type | node |
| unsigned int | id |
| struct sockaddr_storage | addr |
| socklen_t | addrlen |
| struct port_comm * | pc |
| struct comm_timer * | timer |
| comm_point_callback_type * | cb |
| void * | cb_arg |
| struct outside_network * | outnet |
| struct serviced_query * | sq |
| struct pending * | next_waiting |
| int | timeout |
| uint8_t * | pkt |
| size_t | pkt_len |
A query that has an answer pending for it.
Definition at line 211 of file outside_network.h.
| struct sockaddr_storage pending::addr |
remote address.
Definition at line 219 of file outside_network.h.
| socklen_t pending::addrlen |
length of addr field in use.
Definition at line 221 of file outside_network.h.
| comm_point_callback_type* pending::cb |
callback for the timeout, error or reply to the message
Definition at line 227 of file outside_network.h.
| void* pending::cb_arg |
callback user argument
Definition at line 229 of file outside_network.h.
| 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).
Definition at line 217 of file outside_network.h.
| struct pending* pending::next_waiting |
next in waiting list.
Definition at line 237 of file outside_network.h.
| rbnode_type pending::node |
redblacktree entry, key is the pending struct(id, addr).
Definition at line 213 of file outside_network.h.
| struct outside_network* pending::outnet |
the outside network it is part of
Definition at line 231 of file outside_network.h.
| struct port_comm* pending::pc |
comm point it was sent on (and reply must come back on).
Definition at line 223 of file outside_network.h.
| uint8_t* pending::pkt |
The query itself, the query packet to send.
Definition at line 241 of file outside_network.h.
| size_t pending::pkt_len |
length of query packet.
Definition at line 243 of file outside_network.h.
| struct serviced_query* pending::sq |
the corresponding serviced_query
Definition at line 233 of file outside_network.h.
| int pending::timeout |
timeout in msec
Definition at line 239 of file outside_network.h.
| struct comm_timer* pending::timer |
timeout event
Definition at line 225 of file outside_network.h.