Thu Oct 11 06:51:52 2012

Asterisk developer's documentation


unistimsession Struct Reference

Collaboration diagram for unistimsession:

Collaboration graph
[legend]

Data Fields

unsigned char buf [MAX_BUF_NUMBER][MAX_BUF_SIZE]
char buff_entry [16]
struct unistim_devicedevice
int last_buf_available
unsigned short last_seq_ack
ast_mutex_t lock
char macaddr [18]
int nb_retransmit
struct unistimsessionnext
unsigned short seq_phone
unsigned short seq_server
struct sockaddr_in sin
int size_buff_entry
struct sockaddr_in sout
int state
unsigned long tick_next_ping
int timeout
struct wsabuf wsabufsend [MAX_BUF_NUMBER]

Detailed Description

Definition at line 472 of file chan_unistim.c.


Field Documentation

unsigned char buf[MAX_BUF_NUMBER][MAX_BUF_SIZE]

Buffer array used to keep the lastest non-acked paquets

Definition at line 488 of file chan_unistim.c.

Referenced by create_client().

char buff_entry[16]

Buffer for temporary datas

Definition at line 485 of file chan_unistim.c.

Referenced by key_history(), key_main_page(), key_select_codec(), key_select_extension(), show_entry_history(), and show_history().

struct unistim_device* device [read]

number of a free slot

Definition at line 481 of file chan_unistim.c.

Referenced by check_send_queue(), create_client(), do_monitor(), send_client(), and send_retransmit().

unsigned short last_seq_ack

sequence number of the last ACK received

Definition at line 479 of file chan_unistim.c.

Referenced by check_send_queue(), create_client(), parsing(), and send_retransmit().

char macaddr[18]

mac adress of the phone (not always available)

Definition at line 486 of file chan_unistim.c.

Referenced by init_phone_step2(), key_select_extension(), rcv_mac_addr(), unistim_info(), and unistim_register().

number of retransmition

Definition at line 482 of file chan_unistim.c.

Referenced by create_client(), parsing(), and send_retransmit().

struct unistimsession* next [read]

unsigned short seq_phone

sequence number for the next packet (when we receive a request)

Definition at line 477 of file chan_unistim.c.

Referenced by create_client(), and parsing().

unsigned short seq_server

sequence number for the next packet (when we send a request)

Definition at line 478 of file chan_unistim.c.

Referenced by check_send_queue(), create_client(), parsing(), send_client(), and send_retransmit().

struct sockaddr_in sin [read]

size of the buffer used to enter datas

Definition at line 484 of file chan_unistim.c.

Referenced by HandleSelectCodec(), key_main_page(), key_select_codec(), key_select_extension(), and ShowExtensionPage().

struct sockaddr_in sout [read]

IP address of server

Definition at line 475 of file chan_unistim.c.

Referenced by create_client(), parsing(), send_client(), send_retransmit(), and start_rtp().

int state

unsigned long tick_next_ping

time for the next ping

Definition at line 480 of file chan_unistim.c.

Referenced by create_client(), send_ping(), and set_ping_timer().

int timeout

time-out in ticks : resend packet if no ack was received before the timeout occured

Definition at line 476 of file chan_unistim.c.

Referenced by create_client(), do_monitor(), send_client(), send_retransmit(), set_ping_timer(), and unistim_info().

struct wsabuf wsabufsend[MAX_BUF_NUMBER] [read]

Size of each paquet stored in the buffer array & pointer to this buffer

Definition at line 487 of file chan_unistim.c.

Referenced by create_client(), send_client(), and send_retransmit().


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

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