libosmoisdn UNKNOWN
Osmocom ISDN library
Loading...
Searching...
No Matches
osmo_v110_ta_cfg Struct Reference

Configuration for a V.110 TA instance. More...

#include <v110_ta.h>

Data Structures

struct  [struct].flow_ctrl
 Flow control configuration. More...

Data Fields

unsigned int flags
 Configuration flags (behavior switches and quirks).
enum osmo_v100_sync_ra1_rate rate
 Synchronous user rate.
struct  flow_ctrl
void * priv
 Opaque application-private data; passed to call-backs.
void(*) rx_cb (void *priv, const ubit_t *buf, size_t buf_size)
 Receive call-back of the application.
void(*) tx_cb (void *priv, ubit_t *buf, size_t buf_size)
 Transmit call-back of the application.
void(*) status_update_cb (void *priv, unsigned int status)
 Modem status line update call-back (optional).

Detailed Description

Configuration for a V.110 TA instance.

Field Documentation

◆ flags

unsigned int osmo_v110_ta_cfg::flags

Configuration flags (behavior switches and quirks).

◆ flow_ctrl

◆ priv

void* osmo_v110_ta_cfg::priv

Opaque application-private data; passed to call-backs.

Referenced by v110_ta_build_frame(), v110_ta_flags_update(), and v110_ta_handle_frame().

◆ rate

enum osmo_v100_sync_ra1_rate osmo_v110_ta_cfg::rate

Synchronous user rate.

Referenced by v110_ta_build_frame(), and v110_ta_handle_frame().

◆ rx_cb

void(*) osmo_v110_ta_cfg::rx_cb(void *priv, const ubit_t *buf, size_t buf_size)

Receive call-back of the application.

Parameters
[in]privopaque application-private data.
[in]bufoutput buffer for writing to be transmitted data.
[in]buf_sizesize of the output buffer.

Referenced by osmo_v110_ta_alloc(), and v110_ta_handle_frame().

◆ status_update_cb

void(*) osmo_v110_ta_cfg::status_update_cb(void *priv, unsigned int status)

Modem status line update call-back (optional).

Parameters
[in]privopaque application-private data.
[in]statusupdated status; bit-mask of OSMO_V110_TA_C_*.

Referenced by v110_ta_flags_update().

◆ tx_cb

void(*) osmo_v110_ta_cfg::tx_cb(void *priv, ubit_t *buf, size_t buf_size)

Transmit call-back of the application.

Parameters
[in]privopaque application-private data.
[out]bufoutput buffer for writing to be transmitted data.
[in]buf_sizesize of the output buffer.

Referenced by osmo_v110_ta_alloc(), and v110_ta_build_frame().


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