mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
msgb: introduce msgb->cb (the control buffer)
This commit is contained in:
@@ -27,6 +27,7 @@ struct msgb {
|
||||
struct llist_head list;
|
||||
|
||||
/* Part of which TRX logical channel we were received / transmitted */
|
||||
/* FIXME: move them into the control buffer */
|
||||
struct gsm_bts_trx *trx;
|
||||
struct gsm_lchan *lchan;
|
||||
|
||||
@@ -39,6 +40,9 @@ struct msgb {
|
||||
/* the layer 4 header */
|
||||
unsigned char *l4h;
|
||||
|
||||
/* the 'control buffer', large enough to contain 5 pointers */
|
||||
unsigned long cb[5];
|
||||
|
||||
uint16_t data_len;
|
||||
uint16_t len;
|
||||
|
||||
|
Reference in New Issue
Block a user