Libtrap: Internal development docs
1.16.1
|
Structure for TLS IFC private information. More...
#include <ifc_tls_internal.h>
Data Fields | |
trap_ctx_priv_t * | ctx |
SSL_CTX * | sslctx |
char * | keyfile |
char * | certfile |
char * | cafile |
int | term_pipe [2] |
int | server_sd |
char * | server_port |
char | is_terminated |
char | initialized |
uint64_t | autoflush_timestamp |
uint64_t | clients_bit_arr |
uint32_t | ifc_idx |
uint32_t | connected_clients |
uint32_t | clients_arr_size |
uint32_t | buffer_count |
uint32_t | buffer_size |
uint32_t | active_buffer |
buffer_t * | buffers |
tlsclient_t * | clients |
pthread_t | accept_thr |
pthread_t | send_thr |
pthread_mutex_t | mtx_no_data |
pthread_cond_t | cond_no_data |
pthread_cond_t | cond_full_buffer |
Structure for TLS IFC private information.
Definition at line 85 of file ifc_tls_internal.h.
pthread_t tls_sender_private_s::accept_thr |
Pthread structure containing info about accept thread
Definition at line 114 of file ifc_tls_internal.h.
uint32_t tls_sender_private_s::active_buffer |
Index of active buffer in 'buffers' array
Definition at line 109 of file ifc_tls_internal.h.
uint64_t tls_sender_private_s::autoflush_timestamp |
Time when the last buffer was finished - used for autoflush
Definition at line 101 of file ifc_tls_internal.h.
uint32_t tls_sender_private_s::buffer_count |
Number of buffers used
Definition at line 107 of file ifc_tls_internal.h.
uint32_t tls_sender_private_s::buffer_size |
Buffer size [bytes]
Definition at line 108 of file ifc_tls_internal.h.
buffer_t* tls_sender_private_s::buffers |
Array of buffer structures
Definition at line 111 of file ifc_tls_internal.h.
char* tls_sender_private_s::cafile |
Path to trusted CAs (can be chain file) file in PEM format.
Definition at line 92 of file ifc_tls_internal.h.
char* tls_sender_private_s::certfile |
Path to certificate in PEM format.
Definition at line 91 of file ifc_tls_internal.h.
tlsclient_t* tls_sender_private_s::clients |
Array of client structures
Definition at line 112 of file ifc_tls_internal.h.
uint32_t tls_sender_private_s::clients_arr_size |
Maximum number of clients
Definition at line 106 of file ifc_tls_internal.h.
uint64_t tls_sender_private_s::clients_bit_arr |
Bit array of currently connected clients - lowest bit = index 0, highest bit = index 63
Definition at line 102 of file ifc_tls_internal.h.
pthread_cond_t tls_sender_private_s::cond_full_buffer |
Condition struct used when waiting for free buffer
Definition at line 119 of file ifc_tls_internal.h.
pthread_cond_t tls_sender_private_s::cond_no_data |
Condition struct used when waiting for new data
Definition at line 118 of file ifc_tls_internal.h.
uint32_t tls_sender_private_s::connected_clients |
Number of currently connected clients
Definition at line 105 of file ifc_tls_internal.h.
trap_ctx_priv_t* tls_sender_private_s::ctx |
Libtrap context
Definition at line 86 of file ifc_tls_internal.h.
uint32_t tls_sender_private_s::ifc_idx |
Index of interface in 'out_ifc_list' array
Definition at line 104 of file ifc_tls_internal.h.
char tls_sender_private_s::initialized |
Initialization flag
Definition at line 99 of file ifc_tls_internal.h.
char tls_sender_private_s::is_terminated |
Termination flag
Definition at line 98 of file ifc_tls_internal.h.
char* tls_sender_private_s::keyfile |
Path to private key file in PEM format.
Definition at line 90 of file ifc_tls_internal.h.
pthread_mutex_t tls_sender_private_s::mtx_no_data |
Mutex for cond_no_data
Definition at line 117 of file ifc_tls_internal.h.
pthread_t tls_sender_private_s::send_thr |
Pthread structure containing info about sending thread
Definition at line 115 of file ifc_tls_internal.h.
char* tls_sender_private_s::server_port |
TCPIP port number / UNIX socket path
Definition at line 97 of file ifc_tls_internal.h.
int tls_sender_private_s::server_sd |
Server socket descriptor
Definition at line 95 of file ifc_tls_internal.h.
SSL_CTX* tls_sender_private_s::sslctx |
Server SSL context.
Definition at line 88 of file ifc_tls_internal.h.
int tls_sender_private_s::term_pipe[2] |
File descriptor pair for select() termination
Definition at line 94 of file ifc_tls_internal.h.