aboutsummaryrefslogtreecommitdiffstats
path: root/src/main_stp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main_stp.c')
-rw-r--r--src/main_stp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main_stp.c b/src/main_stp.c
index c038b2b..fb10ea3 100644
--- a/src/main_stp.c
+++ b/src/main_stp.c
@@ -75,6 +75,14 @@ void mtp_link_set_forward_sccp(struct mtp_link_set *link, struct msgb *_msg, int
mtp_link_set_submit_sccp_data(target, sls, _msg->l2h, msgb_l2len(_msg));
}
+void mtp_link_set_forward_isup(struct mtp_link_set *set, struct msgb *msg, int sls)
+{
+ struct mtp_link_set *target;
+
+ target = bsc.m2ua_set == set ? bsc.link_set : bsc.m2ua_set;
+ mtp_link_set_submit_isup_data(target, sls, msg->l3h, msgb_l3len(msg));
+}
+
void mtp_linkset_down(struct mtp_link_set *set)
{
set->available = 0;