Data Fields | |
int | actions |
unsigned char * | buf |
ssize_t | buf_len |
size_t | buf_size |
time_t | checktime |
ast_cond_t | cond |
char | curfunc [80] |
struct { | |
unsigned short callno | |
unsigned char csub | |
struct sockaddr_in sin | |
unsigned char type | |
} | ffinfo |
struct { | |
struct iax2_pkt_buf * first | |
struct iax2_pkt_buf * last | |
} | full_frames |
ast_cond_t | init_cond |
ast_mutex_t | init_lock |
int | iofd |
struct sockaddr_in | iosin |
enum iax2_thread_iostate | iostate |
struct { | |
struct iax2_thread * next | |
} | list |
ast_mutex_t | lock |
unsigned char | readbuf [4096] |
const void * | scheddata |
void(* | schedfunc )(const void *) |
unsigned char | stop |
pthread_t | threadid |
int | threadnum |
enum iax2_thread_type | type |
Definition at line 1002 of file chan_iax2.c.
int actions |
Definition at line 1013 of file chan_iax2.c.
Referenced by handle_cli_iax2_show_threads(), and iax2_process_thread().
unsigned char* buf |
Definition at line 1018 of file chan_iax2.c.
Referenced by defer_full_frame(), handle_deferred_full_frames(), socket_process(), and socket_read().
ssize_t buf_len |
Definition at line 1019 of file chan_iax2.c.
Referenced by defer_full_frame(), handle_deferred_full_frames(), socket_process(), and socket_read().
size_t buf_size |
Definition at line 1020 of file chan_iax2.c.
Referenced by handle_deferred_full_frames(), and socket_read().
unsigned short callno |
Definition at line 1032 of file chan_iax2.c.
Referenced by __send_lagrq(), __send_ping(), send_lagrq(), send_ping(), and socket_read().
time_t checktime |
Definition at line 1022 of file chan_iax2.c.
Referenced by handle_cli_iax2_show_threads(), and iax2_process_thread().
ast_cond_t cond |
Definition at line 1024 of file chan_iax2.c.
Referenced by __schedule_action(), cleanup_thread_list(), defer_full_frame(), find_idle_thread(), iax2_process_thread(), iax2_process_thread_cleanup(), socket_read(), and start_network_thread().
unsigned char csub |
Definition at line 1035 of file chan_iax2.c.
Referenced by socket_read(), and uncompress_subclass().
char curfunc[80] |
Definition at line 1011 of file chan_iax2.c.
Referenced by __schedule_action(), handle_cli_iax2_show_threads(), iax2_process_thread(), and socket_read().
struct { ... } ffinfo |
if this thread is processing a full frame, some information about that frame will be stored here, so we can avoid dispatching any more full frames for that callno to other threads
Referenced by find_idle_thread(), and socket_read().
struct iax2_pkt_buf* first |
Definition at line 1040 of file chan_iax2.c.
struct { ... } full_frames |
Queued up full frames for processing. If more full frames arrive for a call which this thread is already processing a full frame for, they are queued up here.
Referenced by defer_full_frame(), and handle_deferred_full_frames().
ast_cond_t init_cond |
Definition at line 1026 of file chan_iax2.c.
Referenced by find_idle_thread(), iax2_process_thread(), iax2_process_thread_cleanup(), and start_network_thread().
ast_mutex_t init_lock |
Definition at line 1025 of file chan_iax2.c.
Referenced by find_idle_thread(), iax2_process_thread(), iax2_process_thread_cleanup(), and start_network_thread().
int iofd |
Definition at line 1021 of file chan_iax2.c.
Referenced by socket_process(), and socket_read().
struct sockaddr_in iosin |
Definition at line 1016 of file chan_iax2.c.
Referenced by socket_process(), and socket_read().
enum iax2_thread_iostate iostate |
Definition at line 1005 of file chan_iax2.c.
Referenced by __schedule_action(), defer_full_frame(), handle_cli_iax2_show_threads(), iax2_process_thread(), and socket_read().
struct iax2_pkt_buf* last |
Definition at line 1040 of file chan_iax2.c.
struct { ... } list |
ast_mutex_t lock |
Definition at line 1023 of file chan_iax2.c.
Referenced by __schedule_action(), cleanup_thread_list(), defer_full_frame(), find_idle_thread(), handle_deferred_full_frames(), iax2_process_thread(), iax2_process_thread_cleanup(), socket_read(), and start_network_thread().
struct iax2_thread* next |
Definition at line 1003 of file chan_iax2.c.
unsigned char readbuf[4096] |
Definition at line 1017 of file chan_iax2.c.
Referenced by socket_read().
const void* scheddata |
Definition at line 1008 of file chan_iax2.c.
Referenced by __schedule_action(), and iax2_process_thread().
void(* schedfunc)(const void *) |
Definition at line 1007 of file chan_iax2.c.
Referenced by __schedule_action(), and iax2_process_thread().
struct sockaddr_in sin |
Definition at line 1033 of file chan_iax2.c.
Referenced by socket_read().
unsigned char stop |
Definition at line 1041 of file chan_iax2.c.
Referenced by cleanup_thread_list(), and iax2_process_thread().
pthread_t threadid |
Definition at line 1014 of file chan_iax2.c.
Referenced by cleanup_thread_list(), find_idle_thread(), and start_network_thread().
int threadnum |
Definition at line 1015 of file chan_iax2.c.
Referenced by find_idle_thread(), handle_cli_iax2_show_threads(), and start_network_thread().
enum iax2_thread_type type |
Definition at line 1004 of file chan_iax2.c.
Referenced by find_idle_thread(), handle_cli_iax2_show_threads(), iax2_process_thread(), insert_idle_thread(), socket_read(), and start_network_thread().
unsigned char type |
Definition at line 1034 of file chan_iax2.c.