X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fosmocom%2Fcore%2Fmsgb.h;h=915c4a0444bb7a5b536b88b536152efbde1ba31c;hb=c5a0ded53fe359ff4436db72e6aca5ab35927891;hp=08dfaac62eb5e8f9247b778c2fc41f62fa76c758;hpb=2ade3a02221147fef29d90e9bdb6b4f7759ca358;p=osmocom-bb.git diff --git a/include/osmocom/core/msgb.h b/include/osmocom/core/msgb.h index 08dfaac..915c4a0 100644 --- a/include/osmocom/core/msgb.h +++ b/include/osmocom/core/msgb.h @@ -29,12 +29,13 @@ 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; + union { + void *dst; + struct gsm_bts_trx *trx; + }; struct gsm_lchan *lchan; /* the Layer1 header (if any) */