Go to the source code of this file.
Classes | |
struct | hdlc_rx_stats_t |
Defines | |
#define | _SPANDSP_HDLC_H_ |
#define | HDLC_MAXFRAME_LEN 400 |
Typedefs | |
typedef void(* | hdlc_frame_handler_t )(void *user_data, const uint8_t *pkt, int len, int ok) |
typedef void(* | hdlc_underflow_handler_t )(void *user_data) |
typedef hdlc_rx_state_s | hdlc_rx_state_t |
typedef hdlc_tx_state_s | hdlc_tx_state_t |
Functions | |
SPAN_DECLARE (hdlc_rx_state_t *) hdlc_rx_init(hdlc_rx_state_t *s | |
Initialise an HDLC receiver context. | |
SPAN_DECLARE (void) hdlc_rx_set_frame_handler(hdlc_rx_state_t *s | |
Cleanup a T.30 context if the call terminates. | |
SPAN_DECLARE (int) hdlc_rx_release(hdlc_rx_state_t *s) | |
Release an HDLC receiver context. | |
SPAN_DECLARE (hdlc_tx_state_t *) hdlc_tx_init(hdlc_tx_state_t *s | |
Initialise an HDLC transmitter context. | |
Variables | |
int | crc32 |
int int | report_bad_frames |
int int int | framing_ok_threshold |
int int int hdlc_frame_handler_t | handler |
int int int hdlc_frame_handler_t void * | user_data |
size_t | max_len |
int | interval |
hdlc_rx_stats_t * | t |
int | new_bit |
int | new_byte |
const uint8_t | buf [] |
const uint8_t int | len |
int int | inter_frame_flags |
int int int | progressive |
const uint8_t * | frame |
|
HDLC_MAXFRAME_LEN is the maximum length of a stuffed HDLC frame, excluding the CRC. |
|
HDLC receive descriptor. This contains all the state information for an HDLC receiver. |
|
HDLC transmit descriptor. This contains all the state information for an HDLC transmitter. |
|
Initialise an HDLC transmitter context.
|
|
Release an HDLC receiver context. Compress a block of octets.
|
|
Cleanup a T.30 context if the call terminates. Change the put_bit function associated with an HDLC receiver context.
|
|
Initialise an HDLC receiver context.
|