Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
iax2_thread Struct Reference
Collaboration diagram for iax2_thread:
Collaboration graph
[legend]

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

◆ actions

int actions

Definition at line 1119 of file chan_iax2.c.

◆ addr

struct ast_sockaddr addr

Definition at line 1139 of file chan_iax2.c.

Referenced by socket_read().

◆ buf

unsigned char* buf

Definition at line 1124 of file chan_iax2.c.

Referenced by defer_full_frame().

◆ buf_len

ssize_t buf_len

Definition at line 1125 of file chan_iax2.c.

Referenced by defer_full_frame().

◆ buf_size

size_t buf_size

Definition at line 1126 of file chan_iax2.c.

◆ callno

unsigned short callno

◆ checktime

time_t checktime

Definition at line 1128 of file chan_iax2.c.

◆ cond

ast_cond_t cond

Definition at line 1130 of file chan_iax2.c.

Referenced by defer_full_frame().

◆ csub

unsigned char csub

Definition at line 1141 of file chan_iax2.c.

Referenced by uncompress_subclass().

◆ curfunc

char curfunc[80]

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

◆ first

struct iax2_pkt_buf* first

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

◆ init_cond

ast_cond_t init_cond

Definition at line 1132 of file chan_iax2.c.

◆ init_lock

ast_mutex_t init_lock

Definition at line 1131 of file chan_iax2.c.

◆ ioaddr

struct ast_sockaddr ioaddr

Definition at line 1122 of file chan_iax2.c.

◆ iofd

int iofd

Definition at line 1127 of file chan_iax2.c.

◆ iostate

enum iax2_thread_iostate iostate

Definition at line 1111 of file chan_iax2.c.

Referenced by defer_full_frame().

◆ last

struct iax2_pkt_buf* last

Definition at line 1146 of file chan_iax2.c.

◆ 

struct { ... } list

◆ lock

Definition at line 1129 of file chan_iax2.c.

Referenced by defer_full_frame().

◆ next

struct iax2_thread* next

Definition at line 1109 of file chan_iax2.c.

◆ readbuf

unsigned char readbuf[4096]

Definition at line 1123 of file chan_iax2.c.

◆ scheddata

const void* scheddata

Definition at line 1114 of file chan_iax2.c.

◆ schedfunc

void(* schedfunc) (const void *)

Definition at line 1113 of file chan_iax2.c.

◆ stop

unsigned char stop

Definition at line 1147 of file chan_iax2.c.

◆ threadid

pthread_t threadid

Definition at line 1120 of file chan_iax2.c.

◆ threadnum

int threadnum

Definition at line 1121 of file chan_iax2.c.

◆ type [1/2]

enum iax2_thread_type type

Definition at line 1110 of file chan_iax2.c.

Referenced by Property::load().

◆ type [2/2]

unsigned char type

Definition at line 1140 of file chan_iax2.c.

Referenced by Property::load().


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