libosmogsm  0.9.6.315-40e62
Osmocom GSM library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
gsm0411_smc.h File Reference
#include <osmocom/core/timer.h>
#include <osmocom/gsm/protocol/gsm_04_11.h>

Go to the source code of this file.

Data Structures

struct  gsm411_smc_inst
 

Macros

#define GSM411_MMSMS_EST_REQ   0x310
 
#define GSM411_MMSMS_EST_IND   0x312
 
#define GSM411_MMSMS_EST_CNF   0x311
 
#define GSM411_MMSMS_REL_REQ   0x320
 
#define GSM411_MMSMS_REL_IND   0x322
 
#define GSM411_MMSMS_DATA_REQ   0x330
 
#define GSM411_MMSMS_DATA_IND   0x332
 
#define GSM411_MMSMS_UNIT_DATA_REQ   0x340
 
#define GSM411_MMSMS_UNIT_DATA_IND   0x342
 
#define GSM411_MMSMS_ERR_IND   0x372
 
#define GSM411_MNSMS_ABORT_REQ   0x101
 
#define GSM411_MNSMS_DATA_REQ   0x102
 
#define GSM411_MNSMS_DATA_IND   0x103
 
#define GSM411_MNSMS_EST_REQ   0x104
 
#define GSM411_MNSMS_EST_IND   0x105
 
#define GSM411_MNSMS_ERROR_IND   0x106
 
#define GSM411_MNSMS_REL_REQ   0x107
 

Functions

void gsm411_smc_init (struct gsm411_smc_inst *inst, uint64_t id, int network, int(*mn_recv)(struct gsm411_smc_inst *inst, int msg_type, struct msgb *msg), int(*mm_send)(struct gsm411_smc_inst *inst, int msg_type, struct msgb *msg, int cp_msg_type))
 
void gsm411_smc_clear (struct gsm411_smc_inst *inst)
 
int gsm411_smc_send (struct gsm411_smc_inst *inst, int msg_type, struct msgb *msg)
 
int gsm411_smc_recv (struct gsm411_smc_inst *inst, int msg_type, struct msgb *msg, int cp_msg_type)
 

Variables

const struct value_string gsm411_cp_cause_strs []
 

Macro Definition Documentation

#define GSM411_MMSMS_DATA_IND   0x332

Referenced by gsm411_smc_recv().

#define GSM411_MMSMS_DATA_REQ   0x330
#define GSM411_MMSMS_ERR_IND   0x372
#define GSM411_MMSMS_EST_CNF   0x311
#define GSM411_MMSMS_EST_IND   0x312

Referenced by gsm411_smc_recv().

#define GSM411_MMSMS_EST_REQ   0x310

Referenced by gsm411_mnsms_est_req().

#define GSM411_MMSMS_REL_IND   0x322
#define GSM411_MMSMS_UNIT_DATA_IND   0x342
#define GSM411_MMSMS_UNIT_DATA_REQ   0x340
#define GSM411_MNSMS_ABORT_REQ   0x101

Referenced by gsm411_send_abort().

#define GSM411_MNSMS_DATA_IND   0x103

Referenced by gsm411_mmsms_cp_data().

#define GSM411_MNSMS_DATA_REQ   0x102
#define GSM411_MNSMS_ERROR_IND   0x106
#define GSM411_MNSMS_EST_IND   0x105

Referenced by gsm411_mmsms_cp_data().

#define GSM411_MNSMS_EST_REQ   0x104

Referenced by gsm411_rl_data_req().

#define GSM411_MNSMS_REL_REQ   0x107

Referenced by gsm411_send_release().