msgb: add ->dst attribute to store routing information
authorPablo Neira Ayuso <pablo@gnumonks.org>
Thu, 7 Jul 2011 17:46:44 +0000 (19:46 +0200)
committerHarald Welte <laforge@gnumonks.org>
Mon, 18 Jul 2011 15:00:08 +0000 (17:00 +0200)
commit29cbf618e3483d1c16b919bc59c470cfa462d1d7
treeba85db0581637cec265688c5b8f65a84410f5dcc
parent199f37723bfef9fb5e8d0f01729adb21e11f0638
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.
include/osmocom/core/msgb.h