lapm_state_t Struct Reference

#include <v42.h>

List of all members.

Public Attributes

int handle
hdlc_rx_state_t hdlc_rx
hdlc_tx_state_t hdlc_tx
v42_frame_handler_t iframe_receive
void * iframe_receive_user_data
v42_status_func_t status_callback
void * status_callback_user_data
int state
int tx_waiting
int debug
int we_are_originator
int peer_is_originator
int next_tx_frame
int last_frame_peer_acknowledged
int next_expected_frame
int last_frame_we_acknowledged
int solicit_f_bit
int retransmissions
int busy
int t401_timer
int t402_timer
int t403_timer
int n401
int window_size_k
lapm_frame_queue_t * txqueue
lapm_frame_queue_t * tx_next
lapm_frame_queue_t * tx_last
queue_state_ttx_queue
span_sched_state_t sched
logging_state_t logging
 Error and flow logging control.


Detailed Description

LAP-M descriptor. This defines the working state for a single instance of LAP-M.


Member Data Documentation

int lapm_state_t::busy
 

TRUE if peer is busy

int lapm_state_t::last_frame_peer_acknowledged
 

The last of our frames which the peer acknowledged

int lapm_state_t::last_frame_we_acknowledged
 

The last of the peer's frames which we acknowledged

int lapm_state_t::n401
 

Maximum number of octets in an information field

int lapm_state_t::next_expected_frame
 

Next N(R) for reception

int lapm_state_t::next_tx_frame
 

Next N(S) for transmission

int lapm_state_t::peer_is_originator
 

Remote network type (unknown, answerer. originator)

int lapm_state_t::retransmissions
 

Retransmission count

int lapm_state_t::solicit_f_bit
 

TRUE if we sent an I or S frame with the F-bit set

int lapm_state_t::t401_timer
 

Acknowledgement timer

int lapm_state_t::t402_timer
 

Reply delay timer - optional

int lapm_state_t::t403_timer
 

Inactivity timer - optional

int lapm_state_t::we_are_originator
 

TRUE if originator. FALSE if answerer

int lapm_state_t::window_size_k
 

Window size


The documentation for this struct was generated from the following file:
Generated on Thu Jan 7 23:40:49 2016 for libspandsp by  doxygen 1.4.6