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.
This commit is contained in:
Pablo Neira Ayuso 2011-07-07 19:46:44 +02:00 committed by Harald Welte
parent 199f37723b
commit 29cbf618e3
1 changed files with 3 additions and 0 deletions

View File

@ -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;