Thu Apr 28 2011 16:57:21

Asterisk developer's documentation


iax2_thread Struct Reference

Collaboration diagram for iax2_thread:

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

Detailed Description

Definition at line 945 of file chan_iax2.c.


Field Documentation

int actions

Definition at line 956 of file chan_iax2.c.

Referenced by handle_cli_iax2_show_threads(), and iax2_process_thread().

unsigned char* buf
ssize_t buf_len
size_t buf_size

Definition at line 963 of file chan_iax2.c.

Referenced by handle_deferred_full_frames(), and socket_read().

unsigned short callno

Definition at line 975 of file chan_iax2.c.

Referenced by __send_lagrq(), __send_ping(), and socket_read().

time_t checktime

Definition at line 965 of file chan_iax2.c.

Referenced by handle_cli_iax2_show_threads(), and iax2_process_thread().

unsigned char csub

Definition at line 978 of file chan_iax2.c.

Referenced by socket_read(), and uncompress_subclass().

struct { ... } ffinfo

Referenced by find_idle_thread(), and socket_read().

Definition at line 983 of file chan_iax2.c.

struct { ... } full_frames
int iofd

Definition at line 964 of file chan_iax2.c.

Referenced by socket_process(), and socket_read().

struct sockaddr_in iosin

Definition at line 959 of file chan_iax2.c.

Referenced by socket_process(), and socket_read().

struct iax2_pkt_buf* last

Definition at line 983 of file chan_iax2.c.

struct { ... } list
struct iax2_thread* next

Definition at line 946 of file chan_iax2.c.

unsigned char readbuf[4096]

Definition at line 960 of file chan_iax2.c.

Referenced by socket_read().

const void* scheddata

Definition at line 951 of file chan_iax2.c.

Referenced by __schedule_action(), and iax2_process_thread().

void(* schedfunc)(const void *)

Definition at line 950 of file chan_iax2.c.

Referenced by __schedule_action(), and iax2_process_thread().

struct sockaddr_in sin

Definition at line 976 of file chan_iax2.c.

Referenced by socket_read().

unsigned char stop

Definition at line 984 of file chan_iax2.c.

Referenced by cleanup_thread_list(), and iax2_process_thread().

pthread_t threadid

Definition at line 957 of file chan_iax2.c.

Referenced by cleanup_thread_list(), find_idle_thread(), and start_network_thread().

unsigned char type

Definition at line 977 of file chan_iax2.c.


The documentation for this struct was generated from the following file: