Fri Jun 19 12:11:00 2009

Asterisk developer's documentation


ast_udptl Struct Reference

Structure for an UDPTL session. More...


Data Fields

ast_udptl_callback callback
void * data
int error_correction_entries
int error_correction_scheme
int error_correction_span
ast_frame f [16]
sockaddr_in far
int far_max_datagram_size
int fd
int flags
io_contextio
int * ioid
unsigned int lasteventseqn
int local_max_datagram_size
int nat
unsigned char rawdata [8192+AST_FRIENDLY_OFFSET]
char resp
udptl_fec_rx_buffer_t rx [UDPTL_BUF_MASK+1]
int rx_expected_seq_no
int rx_seq_no
sched_contextsched
sockaddr_in them
udptl_fec_tx_buffer_t tx [UDPTL_BUF_MASK+1]
int tx_seq_no
int udptl_offered_from_local
sockaddr_in us
int verbose


Detailed Description

Structure for an UDPTL session.

Definition at line 110 of file udptl.c.


Field Documentation

ast_udptl_callback callback

Definition at line 124 of file udptl.c.

Referenced by ast_udptl_set_callback(), and udptlread().

void* data

Definition at line 123 of file udptl.c.

Referenced by ast_udptl_set_data().

int error_correction_entries

This option indicates the number of error correction entries transmitted in UDPTL packets.

Definition at line 133 of file udptl.c.

int error_correction_scheme

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

Definition at line 129 of file udptl.c.

Referenced by ast_udptl_get_error_correction_scheme(), and ast_udptl_set_error_correction_scheme().

int error_correction_span

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

Definition at line 137 of file udptl.c.

struct ast_frame f[16]

Definition at line 113 of file udptl.c.

Referenced by ast_udptl_read().

struct sockaddr_in far

Definition at line 149 of file udptl.c.

int far_max_datagram_size

This option indicates the maximum size of a UDPTL packet that can be accepted by the remote device.

Definition at line 141 of file udptl.c.

Referenced by ast_udptl_get_far_max_datagram(), and ast_udptl_set_far_max_datagram().

int fd

Definition at line 111 of file udptl.c.

Referenced by ast_udptl_destroy(), ast_udptl_fd(), ast_udptl_read(), and ast_udptl_setqos().

int flags

Definition at line 117 of file udptl.c.

Referenced by ast_udptl_new_with_bindaddr().

struct io_context* io

Definition at line 122 of file udptl.c.

Referenced by ast_udptl_destroy().

int* ioid

Definition at line 120 of file udptl.c.

Referenced by ast_udptl_destroy().

unsigned int lasteventseqn

Definition at line 115 of file udptl.c.

int local_max_datagram_size

This option indicates the maximum size of a UDPTL packet that we are prepared to accept.

Definition at line 145 of file udptl.c.

Referenced by ast_udptl_get_local_max_datagram(), and ast_udptl_set_local_max_datagram().

int nat

Definition at line 116 of file udptl.c.

Referenced by ast_udptl_read(), and ast_udptl_setnat().

unsigned char rawdata[8192+AST_FRIENDLY_OFFSET]

Definition at line 114 of file udptl.c.

Referenced by ast_udptl_read().

char resp

Definition at line 112 of file udptl.c.

udptl_fec_rx_buffer_t rx[UDPTL_BUF_MASK+1]

Definition at line 156 of file udptl.c.

int rx_expected_seq_no

Definition at line 153 of file udptl.c.

int rx_seq_no

Definition at line 152 of file udptl.c.

struct sched_context* sched

Definition at line 121 of file udptl.c.

struct sockaddr_in them

Definition at line 119 of file udptl.c.

Referenced by ast_udptl_get_peer(), ast_udptl_read(), ast_udptl_set_peer(), and ast_udptl_stop().

udptl_fec_tx_buffer_t tx[UDPTL_BUF_MASK+1]

Definition at line 155 of file udptl.c.

int tx_seq_no

Definition at line 151 of file udptl.c.

int udptl_offered_from_local

Definition at line 125 of file udptl.c.

Referenced by ast_udptl_offered_from_local().

struct sockaddr_in us

Definition at line 118 of file udptl.c.

Referenced by ast_udptl_get_us().

int verbose

Definition at line 147 of file udptl.c.


The documentation for this struct was generated from the following file:
Generated on Fri Jun 19 12:11:00 2009 for Asterisk - the Open Source PBX by  doxygen 1.4.7