aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gsm_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/include/openbsc/gsm_data.h')
-rw-r--r--openbsc/include/openbsc/gsm_data.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index 9e808fc1d..78832538e 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -12,31 +12,6 @@
struct mncc_sock_state;
-/* the data structure stored in msgb->cb for openbsc apps */
-struct openbsc_msgb_cb {
- unsigned char *bssgph;
- unsigned char *llch;
-
- /* Cell Identifier */
- unsigned char *bssgp_cell_id;
-
- /* Identifiers of a BTS, equal to 'struct bssgp_bts_ctx' */
- uint16_t nsei;
- uint16_t bvci;
-
- /* Identifier of a MS (inside BTS), equal to 'struct sgsn_mm_ctx' */
- uint32_t tlli;
-} __attribute__((packed));
-#define OBSC_MSGB_CB(__msgb) ((struct openbsc_msgb_cb *)&((__msgb)->cb[0]))
-#define msgb_tlli(__x) OBSC_MSGB_CB(__x)->tlli
-#define msgb_nsei(__x) OBSC_MSGB_CB(__x)->nsei
-#define msgb_bvci(__x) OBSC_MSGB_CB(__x)->bvci
-#define msgb_gmmh(__x) (__x)->l3h
-#define msgb_bssgph(__x) OBSC_MSGB_CB(__x)->bssgph
-#define msgb_bssgp_len(__x) ((__x)->tail - (uint8_t *)msgb_bssgph(__x))
-#define msgb_bcid(__x) OBSC_MSGB_CB(__x)->bssgp_cell_id
-#define msgb_llch(__x) OBSC_MSGB_CB(__x)->llch
-
#define OBSC_LINKID_CB(__msgb) (__msgb)->cb[3]
enum gsm_security_event {