aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocore/msgb.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-02-21 19:03:41 +0100
committerHarald Welte <laforge@gnumonks.org>2010-02-21 19:03:41 +0100
commit3415d41a8cea9930a70daf0c7fb6a0009ca7f0a3 (patch)
tree0b3bca60df8a7c32266b89d00c548c21a5d6db78 /include/osmocore/msgb.h
parent54844802115a1666496649cc43d3a01abd707bc0 (diff)
add msgb and tlv support bits required for openbsc gprs branch
Diffstat (limited to 'include/osmocore/msgb.h')
-rw-r--r--include/osmocore/msgb.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/osmocore/msgb.h b/include/osmocore/msgb.h
index 131f920a..e2755ef3 100644
--- a/include/osmocore/msgb.h
+++ b/include/osmocore/msgb.h
@@ -35,9 +35,20 @@ struct msgb {
struct gsm_bts_trx *trx;
struct gsm_lchan *lchan;
+ /* the A-bis layer 2 header: OML, RSL(RLL), NS */
unsigned char *l2h;
+ /* the layer 3 header. For OML: FOM; RSL: 04.08; GPRS: BSSGP */
unsigned char *l3h;
- unsigned char *smsh;
+
+ /* the layer 4 header */
+ union {
+ unsigned char *smsh;
+ unsigned char *llch;
+ };
+
+ /* the layer 5 header, GPRS: GMM header */
+ unsigned char *gmmh;
+ uint32_t tlli;
uint16_t data_len;
uint16_t len;