arguments for the accepting thread More...
#include <tcptls.h>

Data Fields | |
| int | accept_fd |
| void *(* | accept_fn )(void *) |
| char | hostname [MAXHOSTNAMELEN] |
| struct ast_sockaddr | local_address |
| pthread_t | master |
| const char * | name |
| struct ast_sockaddr | old_address |
| void(* | periodic_fn )(void *) |
| int | poll_timeout |
| struct ast_sockaddr | remote_address |
| struct ast_tls_config * | tls_cfg |
| void *(* | worker_fn )(void *) |
| int accept_fd |
Definition at line 137 of file tcptls.h.
Referenced by __ast_http_load(), app_exec(), ast_tcptls_client_create(), ast_tcptls_client_start(), ast_tcptls_server_root(), ast_tcptls_server_start(), ast_tcptls_server_stop(), reload_config(), and sip_prepare_socket().
| void*(* accept_fn)(void *) |
the function in charge of doing the accept
Definition at line 141 of file tcptls.h.
Referenced by ast_tcptls_server_start().
| char hostname[MAXHOSTNAMELEN] |
only necessary for SSL clients so we can compare to common name
Definition at line 135 of file tcptls.h.
Referenced by handle_tcptls_connection(), and sip_prepare_socket().
| struct ast_sockaddr local_address |
Definition at line 132 of file tcptls.h.
Referenced by __ast_http_load(), __init_manager(), ast_sip_ouraddrfor(), ast_tcptls_client_create(), ast_tcptls_server_start(), ast_tls_read_conf(), get_address_family_filter(), handle_manager_show_settings(), manager_set_defaults(), reload_config(), report_auth_success(), report_failed_acl(), report_failed_challenge_response(), report_inval_password(), report_invalid_user(), report_req_bad_format(), report_req_not_allowed(), report_session_limit(), sip_show_settings(), and transmit_register().
| pthread_t master |
Server accept_fn thread ID used for external shutdown requests.
Definition at line 140 of file tcptls.h.
Referenced by ast_tcptls_server_start(), ast_tcptls_server_stop(), and unload_module().
| const char* name |
Definition at line 144 of file tcptls.h.
Referenced by ast_tcptls_client_create(), ast_tcptls_client_start(), ast_tcptls_server_start(), ast_tcptls_server_stop(), sip_prepare_socket(), and sip_tcptls_client_args_destructor().
| struct ast_sockaddr old_address |
copy of the local or remote address depending on if its a client or server session
Definition at line 133 of file tcptls.h.
Referenced by ast_tcptls_client_create(), ast_tcptls_server_start(), handle_show_http(), and httpstatus_callback().
| void(* periodic_fn)(void *) |
something we may want to run before after select on the accept socket
Definition at line 142 of file tcptls.h.
Referenced by ast_tcptls_server_root().
| int poll_timeout |
Definition at line 138 of file tcptls.h.
Referenced by ast_tcptls_server_root().
| struct ast_sockaddr remote_address |
Definition at line 134 of file tcptls.h.
Referenced by app_exec(), ast_tcptls_client_create(), ast_tcptls_client_start(), and sip_prepare_socket().
| struct ast_tls_config* tls_cfg |
points to the SSL configuration if any
Definition at line 136 of file tcptls.h.
Referenced by __ast_http_load(), __init_manager(), ast_tcptls_client_start(), handle_tcptls_connection(), mansession_get_transport(), reload_config(), sip_prepare_socket(), sip_tcptls_client_args_destructor(), and unload_module().
| void*(* worker_fn)(void *) |
the function in charge of doing the actual work
Definition at line 143 of file tcptls.h.
Referenced by ast_tcptls_client_create(), and handle_tcptls_connection().