Sat Apr 26 2014 22:03:26

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]

Detailed Description

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

Referenced by create_client().

number of a free slot

Definition at line 443 of file chan_unistim.c.

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

unsigned short last_seq_ack

sequence number of the last ACK received

Definition at line 441 of file chan_unistim.c.

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

char macaddr[18]

mac adress of the phone (not always available)

Definition at line 448 of file chan_unistim.c.

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

number of retransmition

Definition at line 444 of file chan_unistim.c.

Referenced by parsing(), and send_retransmit().

unsigned short seq_phone

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

Definition at line 439 of file chan_unistim.c.

Referenced by parsing().

unsigned short seq_server

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

Definition at line 440 of file chan_unistim.c.

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

struct sockaddr_in sout

IP address of server

Definition at line 437 of file chan_unistim.c.

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

unsigned long tick_next_ping

time for the next ping

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

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

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

Definition at line 449 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: