Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
iax_frame Struct Reference

#include <parser.h>

Collaboration diagram for iax_frame:
Collaboration graph
[legend]

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

◆ af

struct ast_frame af

◆ afdata

unsigned char afdata[0]

Definition at line 146 of file parser.h.

Referenced by iax_frame_wrap(), and send_trunk().

◆ afdatalen

size_t afdatalen

Amount of space allocated for data

Definition at line 144 of file parser.h.

Referenced by iax2_send(), iax_frame_free(), iax_frame_new(), iax_frame_wrap(), iaxfrdup2(), and socket_process_helper().

◆ cacheable

unsigned int cacheable

Can this frame be cached?

Definition at line 124 of file parser.h.

Referenced by iax_frame_free(), iax_frame_new(), iaxfrdup2(), and socket_process_helper().

◆ callno

unsigned short callno

◆ data

void* data

◆ datalen

int datalen

Length of frame (outgoing only)

Definition at line 106 of file parser.h.

Referenced by iax2_send(), iax2_sendhtml(), iax_frame_new(), resend_with_token(), send_packet(), send_trunk(), transmit_trunk(), and update_packet().

◆ dcallno

unsigned short dcallno

/Their/ call number

Definition at line 102 of file parser.h.

Referenced by iax2_send(), match(), resend_with_token(), and update_packet().

◆ direction

unsigned int direction

Ingress or outgres

Definition at line 122 of file parser.h.

Referenced by iax_frame_free(), iax_frame_new(), and send_trunk().

◆ ecx

store encrypt key

Definition at line 134 of file parser.h.

Referenced by iax2_send(), and update_packet().

◆ encmethods

int encmethods

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

Definition at line 132 of file parser.h.

Referenced by iax2_send(), resend_with_token(), and update_packet().

◆ final

unsigned int final

Non-zero if this is the final message

Definition at line 120 of file parser.h.

Referenced by __attempt_transmit(), handle_cli_iax2_show_stats(), iax2_send(), and socket_process_helper().

◆ iseqno

int iseqno

Next expected incoming packet sequence number

Definition at line 128 of file parser.h.

Referenced by iax2_send(), socket_process_helper(), and update_packet().

◆ 

struct { ... } list

◆ mydcx

store decrypt key which corresponds to ecx

Definition at line 136 of file parser.h.

Referenced by iax2_send(), and update_packet().

◆ next

struct iax_frame* next

Definition at line 140 of file parser.h.

Referenced by __get_from_jb().

◆ oseqno

int oseqno

Outgoing Packet sequence number

Definition at line 126 of file parser.h.

Referenced by __attempt_transmit(), iax2_send(), make_trunk(), socket_process_helper(), and vnak_retransmit().

◆ outoforder

unsigned int outoforder

Are we received out of order?

Definition at line 114 of file parser.h.

Referenced by socket_process_helper(), and socket_process_meta().

◆ retrans

int retrans

Retransmission ID

Definition at line 130 of file parser.h.

Referenced by __attempt_transmit(), __do_deliver(), iax2_frame_free(), iax_frame_new(), send_trunk(), and transmit_frame().

◆ retries

int retries

◆ retrytime

int retrytime

How long to wait before retrying

Definition at line 112 of file parser.h.

Referenced by __attempt_transmit(), iax2_send(), and transmit_frame().

◆ semirand

unsigned char semirand[32]

random data for encryption pad

Definition at line 138 of file parser.h.

Referenced by iax2_send(), and update_packet().

◆ sentyet

unsigned int sentyet

Have we been sent at all yet?

Definition at line 116 of file parser.h.

Referenced by iax2_transmit(), and transmit_frame().

◆ sockfd

int sockfd

Definition at line 96 of file parser.h.

◆ transfer

unsigned int transfer

Non-zero if should be sent to transfer peer

Definition at line 118 of file parser.h.

Referenced by __attempt_transmit(), iax2_send(), send_packet(), send_trunk(), and socket_process_helper().

◆ ts

unsigned int ts

◆ unused

unsigned char unused[AST_FRIENDLY_OFFSET]

Definition at line 145 of file parser.h.


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