Wed Mar 4 19:58:58 2009

Asterisk developer's documentation


iax2_thread Struct Reference


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
   sockaddr_in   sin
   unsigned char   type
ffinfo
struct {
   iax2_pkt_buf *   first
   iax2_pkt_buf *   last
full_frames
int iofd
sockaddr_in iosin
int iostate
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

Detailed Description

Definition at line 709 of file chan_iax2.c.


Field Documentation

int actions

Definition at line 720 of file chan_iax2.c.

unsigned char* buf

Definition at line 725 of file chan_iax2.c.

Referenced by defer_full_frame().

ssize_t buf_len

Definition at line 726 of file chan_iax2.c.

Referenced by defer_full_frame().

size_t buf_size

Definition at line 727 of file chan_iax2.c.

unsigned short callno

Definition at line 738 of file chan_iax2.c.

Referenced by socket_read().

time_t checktime

Definition at line 729 of file chan_iax2.c.

ast_cond_t cond

Definition at line 731 of file chan_iax2.c.

unsigned char csub

Definition at line 741 of file chan_iax2.c.

char curfunc[80]

Definition at line 718 of file chan_iax2.c.

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 socket_read().

struct iax2_pkt_buf* first

Definition at line 746 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().

int iofd

Definition at line 728 of file chan_iax2.c.

struct sockaddr_in iosin

Definition at line 723 of file chan_iax2.c.

int iostate

Definition at line 712 of file chan_iax2.c.

struct iax2_pkt_buf* last

Definition at line 746 of file chan_iax2.c.

struct { ... } list

Referenced by __unload_module(), find_idle_thread(), iax2_show_threads(), and socket_read().

ast_mutex_t lock

Definition at line 730 of file chan_iax2.c.

Referenced by defer_full_frame().

struct iax2_thread* next

Definition at line 710 of file chan_iax2.c.

unsigned char readbuf[4096]

Definition at line 724 of file chan_iax2.c.

unsigned int ready_for_signal

Definition at line 732 of file chan_iax2.c.

const void* scheddata

Definition at line 715 of file chan_iax2.c.

void(* schedfunc)(const void *)

struct sockaddr_in sin

Definition at line 739 of file chan_iax2.c.

Referenced by socket_read().

pthread_t threadid

Definition at line 721 of file chan_iax2.c.

int threadnum

Definition at line 722 of file chan_iax2.c.

unsigned char type

Definition at line 740 of file chan_iax2.c.

int type

Definition at line 711 of file chan_iax2.c.


The documentation for this struct was generated from the following file:
Generated on Wed Mar 4 19:58:58 2009 for Asterisk - the Open Source PBX by  doxygen 1.4.7