Wed Jan 8 2020 09:50:25

Asterisk developer's documentation


unistimsession Struct Reference

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 479 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 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_history(), key_main_page(), key_select_codec(), key_select_extension(), show_entry_history(), and show_history().

int last_buf_available

number of a free slot

Definition at line 488 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 486 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 493 of file chan_unistim.c.

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

int nb_retransmit

number of retransmition

Definition at line 489 of file chan_unistim.c.

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

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 check_send_queue(), create_client(), parsing(), send_client(), and send_retransmit().

struct sockaddr_in sin
int size_buff_entry

size of the buffer used to enter datas

Definition at line 491 of file chan_unistim.c.

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

struct sockaddr_in sout

IP address of server

Definition at line 482 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 487 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 483 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]

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

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