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 |
int | iofd |
struct sockaddr_in | iosin |
int | iostate |
struct { | |
struct iax2_thread * next | |
} | list |
ast_mutex_t | lock |
unsigned char | readbuf [4096] |
unsigned int | ready_for_signal:1 |
const void * | scheddata |
void(* | schedfunc )(const void *) |
pthread_t | threadid |
int | threadnum |
int | type |
Definition at line 820 of file chan_iax2.c.
int actions |
Definition at line 831 of file chan_iax2.c.
Referenced by iax2_process_thread(), and iax2_show_threads().
unsigned char* buf |
Definition at line 836 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 837 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 838 of file chan_iax2.c.
Referenced by handle_deferred_full_frames(), and socket_read().
unsigned short callno |
Definition at line 849 of file chan_iax2.c.
Referenced by socket_read().
time_t checktime |
Definition at line 840 of file chan_iax2.c.
Referenced by iax2_process_thread(), and iax2_show_threads().
Definition at line 842 of file chan_iax2.c.
Referenced by __schedule_action(), find_idle_thread(), iax2_process_thread(), iax2_process_thread_cleanup(), socket_read(), and start_network_thread().
unsigned char csub |
Definition at line 852 of file chan_iax2.c.
Referenced by socket_read().
char curfunc[80] |
Definition at line 829 of file chan_iax2.c.
Referenced by __schedule_action(), iax2_process_thread(), iax2_show_threads(), 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 [read] |
Definition at line 857 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().
int iofd |
Definition at line 839 of file chan_iax2.c.
Referenced by socket_process(), and socket_read().
struct sockaddr_in iosin [read] |
Definition at line 834 of file chan_iax2.c.
Referenced by socket_process(), and socket_read().
int iostate |
Definition at line 823 of file chan_iax2.c.
Referenced by __schedule_action(), iax2_process_thread(), iax2_show_threads(), and socket_read().
struct iax2_pkt_buf* last [read] |
Definition at line 857 of file chan_iax2.c.
struct { ... } list |
Definition at line 841 of file chan_iax2.c.
Referenced by __schedule_action(), 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 [read] |
Definition at line 821 of file chan_iax2.c.
unsigned char readbuf[4096] |
Definition at line 835 of file chan_iax2.c.
Referenced by socket_read().
unsigned int ready_for_signal |
Definition at line 843 of file chan_iax2.c.
Referenced by find_idle_thread(), and iax2_process_thread().
const void* scheddata |
Definition at line 826 of file chan_iax2.c.
Referenced by __schedule_action(), and iax2_process_thread().
void(* schedfunc)(const void *) |
Referenced by __schedule_action(), and iax2_process_thread().
struct sockaddr_in sin [read] |
Definition at line 850 of file chan_iax2.c.
Referenced by socket_read().
pthread_t threadid |
Definition at line 832 of file chan_iax2.c.
Referenced by __unload_module(), find_idle_thread(), and start_network_thread().
int threadnum |
Definition at line 833 of file chan_iax2.c.
Referenced by find_idle_thread(), iax2_show_threads(), and start_network_thread().
unsigned char type |
Definition at line 851 of file chan_iax2.c.
int type |
Definition at line 822 of file chan_iax2.c.
Referenced by find_idle_thread(), iax2_process_thread(), iax2_show_threads(), insert_idle_thread(), socket_read(), and start_network_thread().