#include <tcptls.h>
Data Fields | |
int | accept_fd |
void *(* | accept_fn )(void *) |
char | hostname [MAXHOSTNAMELEN] |
ast_sockaddr | local_address |
pthread_t | master |
const char * | name |
ast_sockaddr | old_address |
void(* | periodic_fn )(void *) |
int | poll_timeout |
ast_sockaddr | remote_address |
ast_tls_config * | tls_cfg |
void *(* | worker_fn )(void *) |
Definition at line 123 of file tcptls.h.
void*(* accept_fn)(void *) |
the function in charge of doing the accept
char hostname[MAXHOSTNAMELEN] |
only necessary for SSL clients so we can compare to common name
Definition at line 127 of file tcptls.h.
Referenced by handle_tcptls_connection().
struct ast_sockaddr local_address |
Definition at line 124 of file tcptls.h.
Referenced by __ast_http_load(), __init_manager(), ast_sip_ouraddrfor(), ast_tls_read_conf(), get_address_family_filter(), handle_manager_show_settings(), mansession_encode_sin_local(), sip_show_settings(), and transmit_register().
pthread_t master |
Server accept_fn thread ID used for external shutdown requests.
Definition at line 132 of file tcptls.h.
Referenced by unload_module().
struct ast_sockaddr old_address |
copy of the local or remote address depending on if its a client or server session
Definition at line 125 of file tcptls.h.
Referenced by handle_show_http(), and httpstatus_callback().
void(* periodic_fn)(void *) |
something we may want to run before after select on the accept socket
int poll_timeout |
struct ast_sockaddr remote_address |
struct ast_tls_config* tls_cfg |
points to the SSL configuration if any
Definition at line 128 of file tcptls.h.
Referenced by handle_tcptls_connection(), mansession_get_transport(), and unload_module().
void*(* worker_fn)(void *) |
the function in charge of doing the actual work
Referenced by handle_tcptls_connection().