Sun Oct 16 2011 08:43:15

Asterisk developer's documentation


unistimsession Struct Reference
Collaboration diagram for unistimsession:

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]

Field Documentation

unsigned char buf[MAX_BUF_NUMBER][MAX_BUF_SIZE]

Buffer array used to keep the lastest non-acked paquets

Definition at line 495 of file chan_unistim.c.

Referenced by create_client().

char buff_entry[16]

Buffer for temporary datas

Definition at line 492 of file chan_unistim.c.

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

number of a free slot

Definition at line 488 of file chan_unistim.c.

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

unsigned short last_seq_ack

sequence number of the last ACK received

Definition at line 486 of file chan_unistim.c.

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

char macaddr[18]

mac adress of the phone (not always available)

Definition at line 493 of file chan_unistim.c.

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

number of retransmition

Definition at line 489 of file chan_unistim.c.

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

unsigned short seq_phone

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

Definition at line 484 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 485 of file chan_unistim.c.

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

struct sockaddr_in sin

size of the buffer used to enter datas

Definition at line 491 of file chan_unistim.c.

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

struct sockaddr_in sout

IP address of server

Definition at line 482 of file chan_unistim.c.

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

unsigned long tick_next_ping

time for the next ping

Definition at line 487 of file chan_unistim.c.

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

int timeout

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

Definition at line 483 of file chan_unistim.c.

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

struct wsabuf wsabufsend[MAX_BUF_NUMBER]

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

Definition at line 494 of file chan_unistim.c.

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


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