#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(), handle_manager_show_settings(), mansession_encode_sin_local(), sip_show_settings(), and transmit_register().
| pthread_t master |
| 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(), and mansession_get_transport().
| void*(* worker_fn)(void *) |
the function in charge of doing the actual work
Referenced by handle_tcptls_connection().
1.4.7