Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
ast_udptl Struct Reference

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]
 
int far_max_datagram
 
int far_max_ifp
 
int fd
 
int flags
 
struct io_contextio
 
int * ioid
 
unsigned int lasteventseqn
 
int local_max_datagram
 
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_seq_no
 
struct ast_sched_contextsched
 
char * tag
 
struct ast_sockaddr them
 
udptl_fec_tx_buffer_t tx [UDPTL_BUF_MASK+1]
 
unsigned int tx_seq_no
 
struct ast_sockaddr us
 

Detailed Description

Structure for an UDPTL session.

Definition at line 154 of file udptl.c.

Field Documentation

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 179 of file udptl.c.

enum ast_t38_ec_modes error_correction_scheme

This option indicates the error correction scheme used in transmitted UDPTL packets and expected in received UDPTL packets.

Definition at line 174 of file udptl.c.

unsigned int error_correction_span

This option indicates the span of the error correction entries in transmitted UDPTL packets (FEC only).

Definition at line 184 of file udptl.c.

int far_max_datagram

The maximum size UDPTL packet that can be accepted by the remote device.

Definition at line 189 of file udptl.c.

Referenced by ast_udptl_set_far_max_datagram().

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, or -1 if it hasn't been calculated since the last changes were applied to the UDPTL structure.

Definition at line 203 of file udptl.c.

Referenced by ast_udptl_get_far_max_ifp(), and ast_udptl_set_far_max_datagram().

int local_max_datagram

The maximum size UDPTL packet that we are prepared to accept, or -1 if it hasn't been calculated since the last changes were applied to the UDPTL structure.

Definition at line 195 of file udptl.c.

Referenced by ast_udptl_get_local_max_datagram().

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 209 of file udptl.c.


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