summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso2011-07-07 19:46:44 +0200
committerHarald Welte2011-07-18 17:00:08 +0200
commit29cbf618e3483d1c16b919bc59c470cfa462d1d7 (patch)
treeba85db0581637cec265688c5b8f65a84410f5dcc /include
parentlogging: add libosmo-abis logging subsystems (diff)
downloadlibosmocore-29cbf618e3483d1c16b919bc59c470cfa462d1d7.tar.gz
libosmocore-29cbf618e3483d1c16b919bc59c470cfa462d1d7.tar.xz
libosmocore-29cbf618e3483d1c16b919bc59c470cfa462d1d7.zip
msgb: add ->dst attribute to store routing information
This patch adds a new attribute to msgb objects. This new attribute will store a pointer to the routing information, in the case of the A-bis link, this will be used to store e1inp_sign_link instead of struct gsm_bts_trx. This deprecates msg->trx, that can be removed once all application are ported to use msg->dst.
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/core/msgb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/core/msgb.h b/include/osmocom/core/msgb.h
index 58976f7..08dfaac 100644
--- a/include/osmocom/core/msgb.h
+++ b/include/osmocom/core/msgb.h
@@ -29,6 +29,9 @@
struct msgb {
struct llist_head list;
+ /* routing information. */
+ void *dst;
+
/* Part of which TRX logical channel we were received / transmitted */
/* FIXME: move them into the control buffer */
struct gsm_bts_trx *trx;