Data Fields | |
unsigned char | buf [MAX_BUF_NUMBER][MAX_BUF_SIZE] |
char | buff_entry [16] |
unistim_device * | device |
int | last_buf_available |
unsigned short | last_seq_ack |
ast_mutex_t | lock |
char | macaddr [18] |
int | nb_retransmit |
unistimsession * | next |
unsigned short | seq_phone |
unsigned short | seq_server |
sockaddr_in | sin |
int | size_buff_entry |
sockaddr_in | sout |
int | state |
unsigned long | tick_next_ping |
int | timeout |
wsabuf | wsabufsend [MAX_BUF_NUMBER] |
Definition at line 465 of file chan_unistim.c.
unsigned char buf[MAX_BUF_NUMBER][MAX_BUF_SIZE] |
Buffer array used to keep the lastest non-acked paquets
Definition at line 481 of file chan_unistim.c.
char buff_entry[16] |
Buffer for temporary datas
Definition at line 478 of file chan_unistim.c.
Referenced by key_history(), key_select_codec(), key_select_extension(), show_entry_history(), and show_history().
struct unistim_device* device |
Definition at line 482 of file chan_unistim.c.
Referenced by cancel_dial(), change_callerid(), change_favorite_icon(), close_call(), close_client(), do_monitor(), handle_dial_page(), HandleSelectCodec(), init_phone_step2(), key_dial_page(), key_history(), key_main_page(), key_ringing(), key_select_codec(), key_select_extension(), Keyfavorite(), OpenHistory(), process_request(), rcv_mac_addr(), refresh_all_favorite(), RegisterExtension(), send_date_time2(), send_text_status(), SendDialTone(), show_entry_history(), show_history(), show_main_page(), TransferCallStep1(), unistim_call(), unistim_do_senddigit(), unistim_senddigit_end(), unistim_sendtext(), UnregisterExtension(), write_entry_history(), and write_history().
number of a free slot
Definition at line 474 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 472 of file chan_unistim.c.
Referenced by check_send_queue(), parsing(), and send_retransmit().
Definition at line 466 of file chan_unistim.c.
Referenced by parsing(), reload_config(), send_client(), and send_retransmit().
char macaddr[18] |
mac adress of the phone (not always available)
Definition at line 479 of file chan_unistim.c.
Referenced by init_phone_step2(), key_select_extension(), and rcv_mac_addr().
int nb_retransmit |
number of retransmition
Definition at line 475 of file chan_unistim.c.
Referenced by parsing(), and send_retransmit().
struct unistimsession* next |
Definition at line 483 of file chan_unistim.c.
Referenced by close_client(), do_monitor(), reload_config(), and unistimsock_read().
unsigned short seq_phone |
sequence number for the next packet (when we receive a request)
Definition at line 470 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 471 of file chan_unistim.c.
Referenced by check_send_queue(), parsing(), send_client(), and send_retransmit().
struct sockaddr_in sin |
IP address of the phone
Definition at line 467 of file chan_unistim.c.
Referenced by process_request(), send_client(), send_retransmit(), show_main_page(), start_rtp(), and unistimsock_read().
int size_buff_entry |
size of the buffer used to enter datas
Definition at line 477 of file chan_unistim.c.
Referenced by HandleSelectCodec(), key_select_codec(), key_select_extension(), and ShowExtensionPage().
struct sockaddr_in sout |
IP address of server
Definition at line 468 of file chan_unistim.c.
Referenced by parsing(), send_client(), send_retransmit(), and start_rtp().
int state |
state of the phone (see phone_state)
Definition at line 476 of file chan_unistim.c.
Referenced by change_favorite_icon(), handle_dial_page(), HandleSelectCodec(), init_phone_step2(), key_dial_page(), parsing(), process_request(), rcv_mac_addr(), show_history(), show_main_page(), ShowExtensionPage(), and unistim_call().
unsigned long tick_next_ping |
time for the next ping
Definition at line 473 of file chan_unistim.c.
Referenced by 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 469 of file chan_unistim.c.
Referenced by do_monitor(), send_client(), send_retransmit(), and set_ping_timer().
struct wsabuf wsabufsend[MAX_BUF_NUMBER] |
Size of each paquet stored in the buffer array & pointer to this buffer
Definition at line 480 of file chan_unistim.c.
Referenced by send_client(), and send_retransmit().