28#if !defined(_SPANDSP_PRIVATE_T38_TERMINAL_H_)
29#define _SPANDSP_PRIVATE_T38_TERMINAL_H_
struct logging_state_s logging_state_t
Definition logging.h:72
#define T38_MAX_HDLC_LEN
Definition private/t38_gateway.h:34
Definition private/t38_terminal.h:32
bool rx_data_missing
True is there has been some T.38 data missed (i.e. lost packets) in the current reception period.
Definition private/t38_terminal.h:44
int ptr
Current pointer within the contents of the HDLC transmit buffer.
Definition private/t38_terminal.h:65
int non_ecm_trailer_bytes
Counter for trailing non-ECM bytes, used to flush out the far end's modem.
Definition private/t38_terminal.h:73
span_sample_timer_t timeout_tx_samples
The current transmit timeout.
Definition private/t38_terminal.h:95
uint8_t buf[T38_MAX_HDLC_LEN]
HDLC receive buffer.
Definition private/t38_terminal.h:53
t38_core_state_t t38
Core T.38 IFP support.
Definition private/t38_terminal.h:34
int next_tx_indicator
The next T.38 indicator queued for transmission.
Definition private/t38_terminal.h:76
bool rx_signal_present
True if a carrier is present. Otherwise false.
Definition private/t38_terminal.h:81
int octets_per_data_packet
The number of octets to send in each image packet (non-ECM or ECM) at the current rate and the curren...
Definition private/t38_terminal.h:48
int len
The length of the contents of the HDLC receive buffer.
Definition private/t38_terminal.h:55
int queued_timed_step
The timed step to go to when we reach idle from the current timed step.
Definition private/t38_terminal.h:40
int current_tx_type
The current operating mode of the transmitter.
Definition private/t38_terminal.h:86
int tx_bit_rate
Current transmission bit rate.
Definition private/t38_terminal.h:89
int current_tx_data_type
The current T.38 data type being transmitted.
Definition private/t38_terminal.h:78
int current_rx_type
The current operating mode of the receiver.
Definition private/t38_terminal.h:84
span_sample_timer_t timeout_rx_samples
The current receive timeout.
Definition private/t38_terminal.h:97
int extra_bits
The number of extra bits in a fully stuffed version of the contents of the HDLC transmit buffer....
Definition private/t38_terminal.h:69
span_sample_timer_t next_tx_samples
The value for samples at the next transmission point.
Definition private/t38_terminal.h:93
span_sample_timer_t samples
A "sample" count, used to time events.
Definition private/t38_terminal.h:91
int timed_step
The current transmit step being timed.
Definition private/t38_terminal.h:37
Definition private/t38_terminal.h:104
logging_state_t logging
Error and flow logging control.
Definition private/t38_terminal.h:112
t38_terminal_front_end_state_t t38_fe
The T.38 front-end.
Definition private/t38_terminal.h:109
t30_state_t t30
The T.30 back-end.
Definition private/t38_terminal.h:106
struct t38_core_state_s t38_core_state_t
Definition t38_core.h:216