aboutsummaryrefslogtreecommitdiffstats
path: root/include/mtp_data.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-04 13:01:23 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-17 11:21:12 +0100
commit069e635413efd1a1e4e5309c07a03d2df73bf88a (patch)
tree52755027bca5aa839b69c2b7ee869c9ca0488cf0 /include/mtp_data.h
parent644aafbc94a2c2bfb49b2352fe31452a1cddab27 (diff)
mtp: Keep an array for the SLS -> SLC mapping for active links.
Diffstat (limited to 'include/mtp_data.h')
-rw-r--r--include/mtp_data.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/mtp_data.h b/include/mtp_data.h
index f2aeaec..a6e9368 100644
--- a/include/mtp_data.h
+++ b/include/mtp_data.h
@@ -65,6 +65,7 @@ struct mtp_link_set {
struct timer_list delay_timer;
struct link_data *link;
+ struct link_data *slc[16];
/* custom data */
struct bsc_data *bsc;
@@ -78,12 +79,14 @@ int mtp_link_set_data(struct mtp_link_set *link, struct msgb *msg);
int mtp_link_set_submit_sccp_data(struct mtp_link_set *link, int sls, const uint8_t *data, unsigned int length);
int mtp_link_set_submit_isup_data(struct mtp_link_set *link, int sls, const uint8_t *data, unsigned int length);
+void mtp_link_set_init_slc(struct mtp_link_set *set);
+
/* one time init function */
void mtp_link_set_init(void);
/* to be implemented for MSU sending */
-void mtp_link_set_submit(struct mtp_link_set *link, struct msgb *msg);
+void mtp_link_set_submit(struct link_data *link, struct msgb *msg);
void mtp_link_set_forward_sccp(struct mtp_link_set *link, struct msgb *msg, int sls);
void mtp_link_set_restart(struct mtp_link_set *link);
void mtp_link_set_sccp_down(struct mtp_link_set *link);