Structure for an UDPTL session. More...

Data Fields | |
| ast_udptl_callback | callback |
| void * | data |
| unsigned int | error_correction_entries |
| enum ast_t38_ec_modes | error_correction_scheme |
| unsigned int | error_correction_span |
| struct ast_frame | f [16] |
| struct sockaddr_in | far |
| unsigned int | far_max_datagram |
| unsigned int | far_max_ifp |
| int | fd |
| int | flags |
| struct io_context * | io |
| int * | ioid |
| unsigned int | lasteventseqn |
| unsigned int | local_max_datagram |
| unsigned int | local_max_ifp |
| int | nat |
| unsigned char | rawdata [8192+AST_FRIENDLY_OFFSET] |
| char | resp |
| udptl_fec_rx_buffer_t | rx [UDPTL_BUF_MASK+1] |
| unsigned int | rx_expected_seq_no |
| unsigned int | rx_seq_no |
| struct sched_context * | sched |
| struct sockaddr_in | them |
| udptl_fec_tx_buffer_t | tx [UDPTL_BUF_MASK+1] |
| unsigned int | tx_seq_no |
| struct sockaddr_in | us |
| int | verbose |
Structure for an UDPTL session.
Definition at line 111 of file udptl.c.
Definition at line 125 of file udptl.c.
Referenced by ast_udptl_set_callback(), and udptlread().
| void* data |
Definition at line 124 of file udptl.c.
Referenced by ast_udptl_set_data(), and udptlread().
| unsigned int error_correction_entries |
This option indicates the number of error correction entries transmitted in UDPTL packets and expected in received UDPTL packets.
Definition at line 135 of file udptl.c.
Referenced by ast_udptl_new_with_bindaddr(), ast_udptl_set_error_correction_scheme(), calculate_far_max_ifp(), calculate_local_max_datagram(), and udptl_build_packet().
This option indicates the error correction scheme used in transmitted UDPTL packets and expected in received UDPTL packets.
Definition at line 130 of file udptl.c.
Referenced by ast_udptl_get_error_correction_scheme(), ast_udptl_new_with_bindaddr(), ast_udptl_set_error_correction_scheme(), calculate_far_max_ifp(), calculate_local_max_datagram(), and udptl_build_packet().
| unsigned int error_correction_span |
This option indicates the span of the error correction entries in transmitted UDPTL packets (FEC only).
Definition at line 140 of file udptl.c.
Referenced by ast_udptl_new_with_bindaddr(), ast_udptl_set_error_correction_scheme(), and udptl_build_packet().
Definition at line 114 of file udptl.c.
Referenced by ast_udptl_read(), and udptl_rx_packet().
| unsigned int far_max_datagram |
The maximum size UDPTL packet that can be accepted by the remote device.
Definition at line 145 of file udptl.c.
Referenced by ast_udptl_get_far_max_datagram(), ast_udptl_new_with_bindaddr(), ast_udptl_set_far_max_datagram(), ast_udptl_write(), and calculate_far_max_ifp().
| unsigned int far_max_ifp |
The maximum IFP that can be submitted for sending to the remote device. Calculated from far_max_datagram, error_correction_scheme and error_correction_entries.
Definition at line 156 of file udptl.c.
Referenced by ast_udptl_get_far_max_ifp(), ast_udptl_write(), and calculate_far_max_ifp().
| int fd |
Definition at line 112 of file udptl.c.
Referenced by ast_udptl_destroy(), ast_udptl_fd(), ast_udptl_new_with_bindaddr(), ast_udptl_read(), ast_udptl_setqos(), and ast_udptl_write().
| int flags |
Definition at line 118 of file udptl.c.
Referenced by ast_udptl_new_with_bindaddr().
struct io_context* io [read] |
Definition at line 123 of file udptl.c.
Referenced by ast_udptl_destroy(), and ast_udptl_new_with_bindaddr().
| int* ioid |
Definition at line 121 of file udptl.c.
Referenced by ast_udptl_destroy(), and ast_udptl_new_with_bindaddr().
| unsigned int lasteventseqn |
| unsigned int local_max_datagram |
The maximum size UDPTL packet that we are prepared to accept.
Definition at line 150 of file udptl.c.
Referenced by ast_udptl_get_local_max_datagram(), ast_udptl_new_with_bindaddr(), and calculate_local_max_datagram().
| unsigned int local_max_ifp |
The maximum IFP that the local endpoint is prepared to accept. Along with error_correction_scheme and error_correction_entries, used to calculate local_max_datagram.
Definition at line 162 of file udptl.c.
Referenced by ast_udptl_set_local_max_ifp(), and calculate_local_max_datagram().
| int nat |
Definition at line 117 of file udptl.c.
Referenced by ast_udptl_read(), and ast_udptl_setnat().
| unsigned char rawdata[8192+AST_FRIENDLY_OFFSET] |
Definition at line 115 of file udptl.c.
Referenced by ast_udptl_read().
| udptl_fec_rx_buffer_t rx[UDPTL_BUF_MASK+1] |
Definition at line 173 of file udptl.c.
Referenced by ast_udptl_new_with_bindaddr(), and udptl_rx_packet().
| unsigned int rx_expected_seq_no |
| unsigned int rx_seq_no |
Definition at line 169 of file udptl.c.
Referenced by udptl_rx_packet().
struct sched_context* sched [read] |
Definition at line 122 of file udptl.c.
Referenced by ast_udptl_new_with_bindaddr().
struct sockaddr_in them [read] |
Definition at line 120 of file udptl.c.
Referenced by ast_udptl_get_peer(), ast_udptl_new_with_bindaddr(), ast_udptl_read(), ast_udptl_set_peer(), ast_udptl_stop(), and ast_udptl_write().
| udptl_fec_tx_buffer_t tx[UDPTL_BUF_MASK+1] |
Definition at line 172 of file udptl.c.
Referenced by ast_udptl_new_with_bindaddr(), and udptl_build_packet().
| unsigned int tx_seq_no |
Definition at line 168 of file udptl.c.
Referenced by ast_udptl_write(), and udptl_build_packet().
struct sockaddr_in us [read] |
Definition at line 119 of file udptl.c.
Referenced by ast_udptl_get_us(), and ast_udptl_new_with_bindaddr().
| int verbose |
Definition at line 164 of file udptl.c.
Referenced by udptl_build_packet().
1.6.1