mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
define 'struct openbsc_msgb_cb' and accessor macro OBSC_MSGB_CB()
This commit is contained in:
@@ -79,6 +79,13 @@ enum bts_gprs_mode {
|
||||
BTS_GPRS_EGPRS = 2,
|
||||
};
|
||||
|
||||
/* the data structure stored in msgb->cb for openbsc apps */
|
||||
struct openbsc_msgb_cb {
|
||||
unsigned char *gmmh;
|
||||
u_int32_t tlli;
|
||||
};
|
||||
#define OBSC_MSGB_CB(__msgb) ((struct openbsc_msgb_cb *)&((__msgb)->cb[0]))
|
||||
|
||||
struct msgb;
|
||||
typedef int gsm_cbfn(unsigned int hooknum,
|
||||
unsigned int event,
|
||||
|
Reference in New Issue
Block a user