#include <tcptls.h>
Data Fields | |
int | accept_fd |
void *(* | accept_fn )(void *) |
char | hostname [MAXHOSTNAMELEN] |
sockaddr_in | local_address |
pthread_t | master |
const char * | name |
sockaddr_in | old_address |
void(* | periodic_fn )(void *) |
int | poll_timeout |
sockaddr_in | remote_address |
ast_tls_config * | tls_cfg |
void *(* | worker_fn )(void *) |
Definition at line 115 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 119 of file tcptls.h.
Referenced by handle_tcptls_connection().
struct sockaddr_in local_address |
Definition at line 116 of file tcptls.h.
Referenced by __ast_http_load(), __init_manager(), ast_sip_ouraddrfor(), reload_config(), sip_show_settings(), and transmit_register().
pthread_t master |
const char* name |
Definition at line 127 of file tcptls.h.
Referenced by sip_prepare_socket(), and sip_tcptls_client_args_destructor().
struct sockaddr_in old_address |
copy of the local or remote address depending on if its a client or server session
Definition at line 117 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 sockaddr_in remote_address |
struct ast_tls_config* tls_cfg |
points to the SSL configuration if any
Definition at line 120 of file tcptls.h.
Referenced by handle_tcptls_connection(), and sip_tcptls_client_args_destructor().
void*(* worker_fn)(void *) |
the function in charge of doing the actual work
Referenced by handle_tcptls_connection().