aboutsummaryrefslogtreecommitdiffstats
path: root/include/ss7_application.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-03-03 00:45:49 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-03-03 01:19:02 +0100
commitd38b87a4c9d674189e661814d42e1df61a249323 (patch)
tree06f3aab1f7b82beddcdde7a87c7b26ce9c666dd4 /include/ss7_application.h
parent123147a47261b3612aba988b71b9cc5abb1d2c9b (diff)
ss7: Do not send anything until both linksets in an app are up
We need some way to forward the failure of one link to another but they are not normally routed so we can not send a TFP. Right now we will simply stop responding until both links are up. This should make the SLTM fail and trigger a re-alignment on both sides. The key here is that the 2 * SLTM timeout needs to be higher than it takes to re-align the link. I'm not sure this code will work.
Diffstat (limited to 'include/ss7_application.h')
-rw-r--r--include/ss7_application.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ss7_application.h b/include/ss7_application.h
index 084a8f7..1b4d412 100644
--- a/include/ss7_application.h
+++ b/include/ss7_application.h
@@ -45,6 +45,8 @@ struct ss7_application_route {
int type;
int nr;
+ int up;
+
/* maybe they were resolved */
struct mtp_link_set *set;
struct msc_connection *msc;