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