libosmogsm 1.11.0.26-c59d.202505152026
Osmocom GSM library
|
Go to the source code of this file.
Data Structures | |
struct | osmo_iuup_tnl_prim |
struct | osmo_iuup_rnl_config_timer |
struct | osmo_iuup_rfci |
struct | osmo_iuup_rnl_config |
struct | osmo_iuup_rnl_data |
struct | osmo_iuup_rnl_status |
struct | osmo_iuup_rnl_prim |
Enumerations | |
enum | osmo_iuup_tnl_prim_type { OSMO_IUUP_TNL_UNITDATA } |
enum | osmo_iuup_rnl_prim_type { OSMO_IUUP_RNL_CONFIG , OSMO_IUUP_RNL_DATA , OSMO_IUUP_RNL_STATUS , OSMO_IUUP_RNL_UNIT_DATA } |
Functions | |
struct osmo_iuup_instance * | osmo_iuup_instance_alloc (void *ctx, const char *id) |
void | osmo_iuup_instance_free (struct osmo_iuup_instance *iui) |
void | osmo_iuup_instance_set_user_prim_cb (struct osmo_iuup_instance *iui, osmo_prim_cb func, void *priv) |
void | osmo_iuup_instance_set_transport_prim_cb (struct osmo_iuup_instance *iui, osmo_prim_cb func, void *priv) |
int | osmo_iuup_tnl_prim_up (struct osmo_iuup_instance *iui, struct osmo_iuup_tnl_prim *itp) |
int | osmo_iuup_rnl_prim_down (struct osmo_iuup_instance *inst, struct osmo_iuup_rnl_prim *irp) |
int | osmo_iuup_compute_header_crc (const uint8_t *iuup_pdu, unsigned int pdu_len) |
int | osmo_iuup_compute_payload_crc (const uint8_t *iuup_pdu, unsigned int pdu_len) |
struct osmo_iuup_rnl_prim * | osmo_iuup_rnl_prim_alloc (void *ctx, unsigned int primitive, unsigned int operation, unsigned int size) |
struct osmo_iuup_tnl_prim * | osmo_iuup_tnl_prim_alloc (void *ctx, unsigned int primitive, unsigned int operation, unsigned int size) |
#define IUUP_MAX_RFCIS 64 |
#define IUUP_MAX_SUBFLOWS 7 |
#define IUUP_TIMER_INIT_N_DEFAULT 3 |
#define IUUP_TIMER_INIT_T_DEFAULT 1000 |
#define IUUP_TIMER_RC_N_DEFAULT 1 |
#define IUUP_TIMER_RC_T_DEFAULT 500 |
#define IUUP_TIMER_TA_N_DEFAULT 1 |
#define IUUP_TIMER_TA_T_DEFAULT 500 |
References iuup_hdr_crc_code, len, osmo_crc8gen_compute_bits(), and osmo_pbit2ubit().
Referenced by itp_ctrl_ack_alloc(), iuup_verify_pdu(), rnl_to_tnl_data(), tnp_ctrl_init_alloc(), and tnp_ctrl_nack_alloc().
References iuup_data_crc_code, iuup_get_payload_offset(), len, osmo_crc16gen_compute_bits(), osmo_pbit2ubit(), and pdu_type.
Referenced by iuup_verify_pdu(), rnl_to_tnl_data(), and tnp_ctrl_init_alloc().
struct osmo_iuup_instance * osmo_iuup_instance_alloc | ( | void * | ctx, |
const char * | id | ||
) |
References iuup_fsm, len, LOGL_DEBUG, and osmo_fsm_inst_alloc().
void osmo_iuup_instance_free | ( | struct osmo_iuup_instance * | iui | ) |
References len, and osmo_fsm_inst_free().
void osmo_iuup_instance_set_transport_prim_cb | ( | struct osmo_iuup_instance * | iui, |
osmo_prim_cb | func, | ||
void * | priv | ||
) |
References len.
void osmo_iuup_instance_set_user_prim_cb | ( | struct osmo_iuup_instance * | iui, |
osmo_prim_cb | func, | ||
void * | priv | ||
) |
References len.
struct osmo_iuup_rnl_prim * osmo_iuup_rnl_prim_alloc | ( | void * | ctx, |
unsigned int | primitive, | ||
unsigned int | operation, | ||
unsigned int | size | ||
) |
References len, msg, osmo_iuup_msgb_alloc_c(), and SAP_IUUP_RNL.
Referenced by irp_init_ind_alloc().
int osmo_iuup_rnl_prim_down | ( | struct osmo_iuup_instance * | inst, |
struct osmo_iuup_rnl_prim * | irp | ||
) |
struct osmo_iuup_tnl_prim * osmo_iuup_tnl_prim_alloc | ( | void * | ctx, |
unsigned int | primitive, | ||
unsigned int | operation, | ||
unsigned int | size | ||
) |
References len, msg, osmo_iuup_msgb_alloc_c(), and SAP_IUUP_TNL.
Referenced by itp_ctrl_ack_alloc(), tnp_ctrl_init_alloc(), and tnp_ctrl_nack_alloc().
int osmo_iuup_tnl_prim_up | ( | struct osmo_iuup_instance * | iui, |
struct osmo_iuup_tnl_prim * | itp | ||
) |
References IUUP_AN_ACK, IUUP_AN_NACK, IUUP_AN_PROCEDURE, IUUP_FSM_EVT_INIT, IUUP_FSM_EVT_INIT_NACK, IUUP_FSM_EVT_IUUP_DATA_IND, IUUP_FSM_EVT_LAST_INIT_ACK, iuup_get_pdu_type(), IUUP_PDU_T_CONTROL, IUUP_PDU_T_DATA_CRC, IUUP_PDU_T_DATA_NOCRC, IUUP_PROC_ERR_EVENT, IUUP_PROC_INIT, IUUP_PROC_RATE_CTRL, IUUP_PROC_TIME_ALIGN, iuup_verify_pdu(), msgb::l3h, len, LOGL_ERROR, LOGL_NOTICE, LOGPFSML, osmo_prim_hdr::msg, msgb_l2, OSMO_ASSERT, osmo_fsm_inst_dispatch, osmo_hexdump(), OSMO_IUUP_TNL_UNITDATA, OSMO_PRIM, OSMO_PRIM_HDR, PRIM_OP_INDICATION, osmo_prim_hdr::sap, and SAP_IUUP_TNL.