4 #include <osmocom/core/linuxlist.h>
8 /* Entry in list of all transactions */
9 struct llist_head entry;
11 /* The protocol within which we live */
14 /* The current transaction ID */
15 uint8_t transaction_id;
17 /* To whom we belong */
18 struct osmocom_ms *ms;
20 /* reference from MNCC or other application */
23 /* if traffic channel receive was requested */
29 /* current call state */
32 /* most recent progress indicator */
35 /* current timer and message queue */
36 int Tcurrent; /* current CC timer */
37 int T308_second; /* used to send release again */
38 struct timer_list timer;
39 struct gsm_mncc msg; /* stores setup/disconnect/release message */
43 uint8_t link_id; /* RSL Link ID to be used for this trans */
44 int is_mt; /* is this a MO (0) or MT (1) transfer */
45 enum gsm411_cp_state cp_state;
46 struct timer_list cp_timer;
48 enum gsm411_rp_state rp_state;
58 struct gsm_trans *trans_find_by_id(struct osmocom_ms *ms,
59 uint8_t proto, uint8_t trans_id);
60 struct gsm_trans *trans_find_by_callref(struct osmocom_ms *ms,
63 struct gsm_trans *trans_alloc(struct osmocom_ms *ms,
64 uint8_t protocol, uint8_t trans_id,
66 void trans_free(struct gsm_trans *trans);
68 int trans_assign_trans_id(struct osmocom_ms *ms,
69 uint8_t protocol, uint8_t ti_flag);