Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
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
 
char firmware [8]
 
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 458 of file chan_unistim.c.

Field Documentation

◆ buf

unsigned char buf[MAX_BUF_NUMBER][MAX_BUF_SIZE]

Buffer array used to keep the lastest non-acked paquets

Definition at line 475 of file chan_unistim.c.

Referenced by create_client().

◆ buff_entry

char buff_entry[16]

◆ device

struct unistim_device* device

◆ firmware

char firmware[8]

firmware of the phone (not always available)

Definition at line 473 of file chan_unistim.c.

Referenced by process_request(), and unistim_show_devices().

◆ last_buf_available

int last_buf_available

number of a free slot

Definition at line 467 of file chan_unistim.c.

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

◆ last_seq_ack

unsigned short last_seq_ack

sequence number of the last ACK received

Definition at line 465 of file chan_unistim.c.

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

◆ lock

◆ macaddr

char macaddr[18]

mac address of the phone (not always available)

Definition at line 472 of file chan_unistim.c.

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

◆ nb_retransmit

int nb_retransmit

number of retransmition

Definition at line 468 of file chan_unistim.c.

Referenced by parsing(), and send_retransmit().

◆ next

struct unistimsession* next

◆ seq_phone

unsigned short seq_phone

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

Definition at line 463 of file chan_unistim.c.

Referenced by parsing().

◆ seq_server

unsigned short seq_server

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

Definition at line 464 of file chan_unistim.c.

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

◆ sin

struct sockaddr_in sin

◆ size_buff_entry

int size_buff_entry

◆ sout

struct sockaddr_in sout

IP address of server

Definition at line 461 of file chan_unistim.c.

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

◆ state

int state

◆ tick_next_ping

unsigned long tick_next_ping

time for the next ping

Definition at line 466 of file chan_unistim.c.

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

◆ timeout

int timeout

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

Definition at line 462 of file chan_unistim.c.

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

◆ wsabufsend

struct wsabuf wsabufsend[MAX_BUF_NUMBER]

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

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