Thu Oct 11 06:44:49 2012

Asterisk developer's documentation


ast_udptl Struct Reference

Collaboration diagram for ast_udptl:

Collaboration graph
[legend]

Data Fields

ast_udptl_callback callback
void * data
int error_correction_entries
int error_correction_scheme
int error_correction_span
struct ast_frame f [16]
struct sockaddr_in far
int far_max_datagram_size
int fd
int flags
struct 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
struct sched_contextsched
struct sockaddr_in them
udptl_fec_tx_buffer_t tx [UDPTL_BUF_MASK+1]
int tx_seq_no
int udptl_offered_from_local
struct sockaddr_in us

Detailed Description

Definition at line 91 of file udptl.c.


Field Documentation

Definition at line 105 of file udptl.c.

Referenced by ast_udptl_set_callback(), and udptlread().

void* data

Definition at line 104 of file udptl.c.

Referenced by ast_udptl_set_data(), and udptlread().

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

Definition at line 114 of file udptl.c.

Referenced by ast_udptl_new_with_bindaddr(), and udptl_build_packet().

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

Definition at line 110 of file udptl.c.

Referenced by ast_udptl_get_error_correction_scheme(), ast_udptl_new_with_bindaddr(), ast_udptl_set_error_correction_scheme(), and udptl_build_packet().

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

Definition at line 118 of file udptl.c.

Referenced by ast_udptl_new_with_bindaddr(), and udptl_build_packet().

struct ast_frame f[16] [read]

Definition at line 94 of file udptl.c.

Referenced by ast_udptl_read(), and udptl_rx_packet().

struct sockaddr_in far [read]

Definition at line 128 of file udptl.c.

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

Definition at line 122 of file udptl.c.

Referenced by ast_udptl_get_far_max_datagram(), ast_udptl_new_with_bindaddr(), and ast_udptl_set_far_max_datagram().

int fd

int flags

Definition at line 98 of file udptl.c.

Referenced by ast_udptl_new_with_bindaddr().

struct io_context* io [read]

Definition at line 103 of file udptl.c.

Referenced by ast_udptl_destroy(), and ast_udptl_new_with_bindaddr().

int* ioid

Definition at line 101 of file udptl.c.

Referenced by ast_udptl_destroy(), and ast_udptl_new_with_bindaddr().

unsigned int lasteventseqn

Definition at line 96 of file udptl.c.

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

Definition at line 126 of file udptl.c.

Referenced by ast_udptl_get_local_max_datagram(), ast_udptl_new_with_bindaddr(), and ast_udptl_set_local_max_datagram().

int nat

Definition at line 97 of file udptl.c.

Referenced by ast_udptl_read(), and ast_udptl_setnat().

unsigned char rawdata[8192+AST_FRIENDLY_OFFSET]

Definition at line 95 of file udptl.c.

Referenced by ast_udptl_read().

char resp

Definition at line 93 of file udptl.c.

udptl_fec_rx_buffer_t rx[UDPTL_BUF_MASK+1]

Definition at line 135 of file udptl.c.

Referenced by ast_udptl_new_with_bindaddr(), and udptl_rx_packet().

Definition at line 132 of file udptl.c.

int rx_seq_no

Definition at line 131 of file udptl.c.

Referenced by udptl_rx_packet().

struct sched_context* sched [read]

Definition at line 102 of file udptl.c.

Referenced by ast_udptl_new_with_bindaddr().

struct sockaddr_in them [read]

udptl_fec_tx_buffer_t tx[UDPTL_BUF_MASK+1]

Definition at line 134 of file udptl.c.

Referenced by ast_udptl_new_with_bindaddr(), and udptl_build_packet().

int tx_seq_no

Definition at line 130 of file udptl.c.

Referenced by ast_udptl_write(), and udptl_build_packet().

Definition at line 106 of file udptl.c.

Referenced by ast_udptl_offered_from_local().

struct sockaddr_in us [read]

Definition at line 99 of file udptl.c.

Referenced by ast_udptl_get_us(), and ast_udptl_new_with_bindaddr().


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

Generated on Thu Oct 11 06:44:49 2012 for Asterisk - the Open Source PBX by  doxygen 1.5.6