Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
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 {
   struct ast_sockaddr   addr
 
   unsigned short   callno
 
   unsigned char   csub
 
   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
 
struct ast_sockaddr ioaddr
 
int iofd
 
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 1108 of file chan_iax2.c.

Field Documentation

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

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


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