#include <iax2-parser.h>
Data Fields | |
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 |
aes_encrypt_ctx | ecx |
int | encmethods |
unsigned int | final:1 |
int | iseqno |
struct { | |
iax_frame * next | |
} | list |
aes_decrypt_ctx | 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] |
Definition at line 84 of file iax2-parser.h.
Actual, isolated frame header
Definition at line 135 of file iax2-parser.h.
Referenced by __do_deliver(), iax2_send(), iax2_trunk_queue(), iax_frame_wrap(), iaxfrdup2(), schedule_delivery(), and unwrap_timestamp().
unsigned char afdata[0] |
size_t afdatalen |
Amount of space _allocated_ for data
Definition at line 137 of file iax2-parser.h.
Referenced by iax2_send(), iax_frame_new(), iax_frame_wrap(), and iaxfrdup2().
unsigned int cacheable |
Can this frame be cached?
Definition at line 117 of file iax2-parser.h.
Referenced by iax_frame_free(), and iaxfrdup2().
unsigned short callno |
/Our/ call number
Definition at line 93 of file iax2-parser.h.
Referenced by __do_deliver(), complete_transfer(), iax2_send(), pvt_destructor(), save_rr(), schedule_delivery(), socket_process(), and unwrap_timestamp().
void* data |
Start of raw frame (outgoing only)
Definition at line 97 of file iax2-parser.h.
Referenced by iax2_send(), and send_trunk().
int datalen |
Length of frame (outgoing only)
Definition at line 99 of file iax2-parser.h.
Referenced by iax2_send(), and send_trunk().
unsigned short dcallno |
unsigned int direction |
Ingress or outgres
Definition at line 115 of file iax2-parser.h.
Referenced by iax_frame_free(), and send_trunk().
int encmethods |
is this packet encrypted or not. if set this varible holds encryption methods
Definition at line 125 of file iax2-parser.h.
Referenced by iax2_send().
unsigned int final |
Non-zero if this is the final message
Definition at line 113 of file iax2-parser.h.
Referenced by iax2_send(), iax2_show_stats(), and socket_process().
int iseqno |
Next expected incoming packet sequence number
Definition at line 121 of file iax2-parser.h.
Referenced by iax2_send().
struct { ... } list |
Easy linking
Referenced by complete_transfer(), frame_cache_cleanup(), iax2_show_stats(), network_thread(), socket_process(), start_network_thread(), and vnak_retransmit().
store decrypt key which corresponds to ecx
Definition at line 129 of file iax2-parser.h.
Referenced by iax2_send().
Definition at line 133 of file iax2-parser.h.
int oseqno |
Outgoing Packet sequence number
Definition at line 119 of file iax2-parser.h.
Referenced by iax2_send(), and socket_process().
unsigned int outoforder |
Are we received out of order?
Definition at line 107 of file iax2-parser.h.
int retrans |
Retransmission ID
Definition at line 123 of file iax2-parser.h.
Referenced by __do_deliver(), iax2_frame_free(), and send_trunk().
int retries |
How many retries so far?
Definition at line 101 of file iax2-parser.h.
Referenced by complete_transfer(), iax2_send(), iax2_show_stats(), pvt_destructor(), and socket_process().
int retrytime |
How long to wait before retrying
Definition at line 105 of file iax2-parser.h.
Referenced by iax2_send().
unsigned char semirand[32] |
random data for encryption pad
Definition at line 131 of file iax2-parser.h.
Referenced by iax2_send().
unsigned int sentyet |
Have we been sent at all yet?
Definition at line 109 of file iax2-parser.h.
Referenced by iax2_transmit().
int sockfd |
Definition at line 89 of file iax2-parser.h.
unsigned int transfer |
Non-zero if should be sent to transfer peer
Definition at line 111 of file iax2-parser.h.
Referenced by iax2_send(), send_trunk(), and socket_process().
unsigned int ts |
Outgoing relative timestamp (ms)
Definition at line 103 of file iax2-parser.h.
Referenced by iax2_send(), iax2_trunk_queue(), schedule_delivery(), socket_process(), and unwrap_timestamp().
unsigned char unused[AST_FRIENDLY_OFFSET] |
Definition at line 138 of file iax2-parser.h.