spandsp  0.0.6
lapm_state_s Struct Reference

#include <v42.h>

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_ttxqueue
 
lapm_frame_queue_ttx_next
 
lapm_frame_queue_ttx_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_s::busy

TRUE if peer is busy

int lapm_state_s::last_frame_peer_acknowledged

The last of our frames which the peer acknowledged

int lapm_state_s::last_frame_we_acknowledged

The last of the peer's frames which we acknowledged

int lapm_state_s::n401

Maximum number of octets in an information field

int lapm_state_s::next_expected_frame

Next N(R) for reception

int lapm_state_s::next_tx_frame

Next N(S) for transmission

int lapm_state_s::peer_is_originator

Remote network type (unknown, answerer. originator)

int lapm_state_s::retransmissions

Retransmission count

int lapm_state_s::solicit_f_bit

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

int lapm_state_s::t401_timer

Acknowledgement timer

int lapm_state_s::t402_timer

Reply delay timer - optional

int lapm_state_s::t403_timer

Inactivity timer - optional

int lapm_state_s::we_are_originator

TRUE if originator. FALSE if answerer

int lapm_state_s::window_size_k

Window size


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