Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
unistimsession Struct Reference

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

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.

char buff_entry[16]

Buffer for temporary datas

Definition at line 471 of file chan_unistim.c.

char firmware[8]

firmware of the phone (not always available)

Definition at line 473 of file chan_unistim.c.

int last_buf_available

number of a free slot

Definition at line 467 of file chan_unistim.c.

unsigned short last_seq_ack

sequence number of the last ACK received

Definition at line 465 of file chan_unistim.c.

char macaddr[18]

mac address of the phone (not always available)

Definition at line 472 of file chan_unistim.c.

int nb_retransmit

number of retransmission

Definition at line 468 of file chan_unistim.c.

unsigned short seq_phone

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

Definition at line 463 of file chan_unistim.c.

unsigned short seq_server

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

Definition at line 464 of file chan_unistim.c.

struct sockaddr_in sin

IP address of the phone

Definition at line 460 of file chan_unistim.c.

int size_buff_entry

size of the buffer used to enter datas

Definition at line 470 of file chan_unistim.c.

struct sockaddr_in sout

IP address of server

Definition at line 461 of file chan_unistim.c.

int state

state of the phone (see phone_state)

Definition at line 469 of file chan_unistim.c.

unsigned long tick_next_ping

time for the next ping

Definition at line 466 of file chan_unistim.c.

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.

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.


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