#include <iax2-parser.h>

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] |
Definition at line 87 of file iax2-parser.h.
Actual, isolated frame header
Definition at line 138 of file iax2-parser.h.
Referenced by __attempt_transmit(), __do_deliver(), iax2_send(), iax2_trunk_queue(), iax_frame_wrap(), iaxfrdup2(), resend_with_token(), schedule_delivery(), socket_process(), and unwrap_timestamp().
| unsigned char afdata[0] |
Definition at line 142 of file iax2-parser.h.
Referenced by iax_frame_wrap(), and send_trunk().
| size_t afdatalen |
Amount of space _allocated_ for data
Definition at line 140 of file iax2-parser.h.
Referenced by iax_frame_free(), iax_frame_new(), iax_frame_wrap(), iaxfrdup2(), and socket_process().
| unsigned int cacheable |
Can this frame be cached?
Definition at line 120 of file iax2-parser.h.
Referenced by iax_frame_free(), iax_frame_new(), iaxfrdup2(), and socket_process().
| unsigned short callno |
/Our/ call number
Definition at line 96 of file iax2-parser.h.
Referenced by __attempt_transmit(), __do_deliver(), complete_transfer(), iax2_send(), network_thread(), pvt_destructor(), save_osptoken(), save_rr(), schedule_delivery(), send_packet(), socket_process(), socket_process_meta(), unwrap_timestamp(), update_packet(), and vnak_retransmit().
| void* data |
Start of raw frame (outgoing only)
Definition at line 100 of file iax2-parser.h.
Referenced by __do_deliver(), iax2_send(), iax_showframe(), resend_with_token(), send_packet(), send_trunk(), transmit_trunk(), and update_packet().
| int datalen |
Length of frame (outgoing only)
Definition at line 102 of file iax2-parser.h.
Referenced by iax2_send(), iax_frame_new(), resend_with_token(), send_packet(), send_trunk(), transmit_trunk(), and update_packet().
| unsigned short dcallno |
/Their/ call number
Definition at line 98 of file iax2-parser.h.
Referenced by iax2_send(), resend_with_token(), and update_packet().
| unsigned int direction |
Ingress or outgres
Definition at line 118 of file iax2-parser.h.
Referenced by iax_frame_free(), iax_frame_new(), and send_trunk().
store encrypt key
Definition at line 130 of file iax2-parser.h.
Referenced by iax2_send(), and update_packet().
| int encmethods |
is this packet encrypted or not. if set this varible holds encryption methods
Definition at line 128 of file iax2-parser.h.
Referenced by iax2_send(), resend_with_token(), and update_packet().
| unsigned int final |
Non-zero if this is the final message
Definition at line 116 of file iax2-parser.h.
Referenced by __attempt_transmit(), handle_cli_iax2_show_stats(), iax2_send(), and socket_process().
| int iseqno |
Next expected incoming packet sequence number
Definition at line 124 of file iax2-parser.h.
Referenced by iax2_send(), socket_process(), and update_packet().
| struct { ... } list |
Referenced by frame_cache_cleanup(), and iax_frame_new().
store decrypt key which corresponds to ecx
Definition at line 132 of file iax2-parser.h.
Referenced by iax2_send(), and update_packet().
Definition at line 136 of file iax2-parser.h.
| int oseqno |
Outgoing Packet sequence number
Definition at line 122 of file iax2-parser.h.
Referenced by __attempt_transmit(), iax2_send(), socket_process(), and vnak_retransmit().
| unsigned int outoforder |
Are we received out of order?
Definition at line 110 of file iax2-parser.h.
Referenced by socket_process(), and socket_process_meta().
| int retrans |
Retransmission ID
Definition at line 126 of file iax2-parser.h.
Referenced by __attempt_transmit(), __do_deliver(), iax2_frame_free(), iax_frame_new(), network_thread(), and send_trunk().
| int retries |
How many retries so far?
Definition at line 104 of file iax2-parser.h.
Referenced by __attempt_transmit(), complete_transfer(), handle_cli_iax2_show_stats(), iax2_send(), iax_showframe(), network_thread(), pvt_destructor(), socket_process(), and vnak_retransmit().
| int retrytime |
How long to wait before retrying
Definition at line 108 of file iax2-parser.h.
Referenced by __attempt_transmit(), iax2_send(), and network_thread().
| unsigned char semirand[32] |
random data for encryption pad
Definition at line 134 of file iax2-parser.h.
Referenced by iax2_send(), and update_packet().
| unsigned int sentyet |
Have we been sent at all yet?
Definition at line 112 of file iax2-parser.h.
Referenced by iax2_transmit(), and network_thread().
| int sockfd |
Definition at line 92 of file iax2-parser.h.
| unsigned int transfer |
Non-zero if should be sent to transfer peer
Definition at line 114 of file iax2-parser.h.
Referenced by __attempt_transmit(), iax2_send(), send_packet(), send_trunk(), and socket_process().
| unsigned int ts |
Outgoing relative timestamp (ms)
Definition at line 106 of file iax2-parser.h.
Referenced by __attempt_transmit(), iax2_send(), iax2_trunk_queue(), schedule_delivery(), send_packet(), socket_process(), socket_process_meta(), and unwrap_timestamp().
| unsigned char unused[AST_FRIENDLY_OFFSET] |
Definition at line 141 of file iax2-parser.h.