Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
iax_frame Struct Reference

Data Fields

struct ast_frame af
 
unsigned char afdata [0]
 
size_t afdatalen
 
unsigned int cacheable:1
 
unsigned short callno
 
void * data
 
int datalen
 
unsigned short dcallno
 
unsigned int direction:2
 
ast_aes_encrypt_key ecx
 
int encmethods
 
unsigned int final:1
 
int iseqno
 
struct {
   struct iax_frame *   next
 
list
 
ast_aes_decrypt_key mydcx
 
int oseqno
 
unsigned int outoforder:1
 
int retrans
 
int retries
 
int retrytime
 
unsigned char semirand [32]
 
unsigned int sentyet:1
 
int sockfd
 
unsigned int transfer:1
 
unsigned int ts
 
unsigned char unused [AST_FRIENDLY_OFFSET]
 

Detailed Description

Definition at line 91 of file parser.h.

Field Documentation

struct ast_frame af

Actual, isolated frame header

Definition at line 142 of file parser.h.

Referenced by __do_deliver(), and schedule_delivery().

size_t afdatalen

Amount of space allocated for data

Definition at line 144 of file parser.h.

unsigned int cacheable

Can this frame be cached?

Definition at line 124 of file parser.h.

unsigned short callno

/Our/ call number

Definition at line 100 of file parser.h.

Referenced by __do_deliver(), make_trunk(), and schedule_delivery().

void* data

Start of raw frame (outgoing only)

Definition at line 104 of file parser.h.

Referenced by __do_deliver().

int datalen

Length of frame (outgoing only)

Definition at line 106 of file parser.h.

unsigned short dcallno

/Their/ call number

Definition at line 102 of file parser.h.

unsigned int direction

Ingress or outgres

Definition at line 122 of file parser.h.

store encrypt key

Definition at line 134 of file parser.h.

int encmethods

is this packet encrypted or not. if set this varible holds encryption methods

Definition at line 132 of file parser.h.

unsigned int final

Non-zero if this is the final message

Definition at line 120 of file parser.h.

int iseqno

Next expected incoming packet sequence number

Definition at line 128 of file parser.h.

struct { ... } list

Easy linking

store decrypt key which corresponds to ecx

Definition at line 136 of file parser.h.

int oseqno

Outgoing Packet sequence number

Definition at line 126 of file parser.h.

unsigned int outoforder

Are we received out of order?

Definition at line 114 of file parser.h.

int retrans

Retransmission ID

Definition at line 130 of file parser.h.

Referenced by __do_deliver().

int retries

How many retries so far?

Definition at line 108 of file parser.h.

int retrytime

How long to wait before retrying

Definition at line 112 of file parser.h.

unsigned char semirand[32]

random data for encryption pad

Definition at line 138 of file parser.h.

unsigned int sentyet

Have we been sent at all yet?

Definition at line 116 of file parser.h.

unsigned int transfer

Non-zero if should be sent to transfer peer

Definition at line 118 of file parser.h.

unsigned int ts

Outgoing relative timestamp (ms)

Definition at line 110 of file parser.h.

Referenced by schedule_delivery().


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