aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gsm_data.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 11:20:52 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 12:04:34 +0800
commit9c595b74742a0bee332c8b150d6832662a005c03 (patch)
tree870c8b7ee1eb3d8bb80783209f1f8af638f11a2e /openbsc/include/openbsc/gsm_data.h
parent0cfbe26cb9fc07961f8d83ccdd13843433040b83 (diff)
bsc_api: Implement transparent RLL establishment and SAPI n REJECT
When submitting a DTAP message, the BSC API will attempt to establish the RLL layer and then send the message or send an SAPI n REJECT. This will be used by the SMS code.
Diffstat (limited to 'openbsc/include/openbsc/gsm_data.h')
-rw-r--r--openbsc/include/openbsc/gsm_data.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index 119c02adc..4292bb11b 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -105,6 +105,8 @@ struct openbsc_msgb_cb {
#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 {
GSM_SECURITY_NOAVAIL,
GSM_SECURITY_AUTH_FAILED,