aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-02-23 11:25:45 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-02-23 15:27:09 +0100
commit47c9faac3b86f14a1dda0592d5bcf297f72c823f (patch)
treec35326369961d0f8752edbc779abf590b58d94ea /include
parent8d7027846fbb00f35eb1e19e74970c8771c811e5 (diff)
mtp: Attempt to implement the MTP Restart properly
For the SSP functionatilty we will need to have the timers T18 and T20. In the period of T18 we will collect TFP/TFR/TFA for the reachable nodes of the system. Each of this node will send us a TRA when it is finished. Right now we assume to only have one node and stop the T18 after the TRA of this node. Then we would need to send the TFP/TFR we have collected. On the expiry of the T20 timer we will need to send our TRA and notify local users. For more complex routing we will need to have a shared routing cache and remember which SSNs and OPCs are reachable and have inter linkset notifications.
Diffstat (limited to 'include')
-rw-r--r--include/mtp_data.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/mtp_data.h b/include/mtp_data.h
index bbd013e..b9fbfb6 100644
--- a/include/mtp_data.h
+++ b/include/mtp_data.h
@@ -83,6 +83,12 @@ struct mtp_link_set {
/* statistics */
struct rate_ctr_group *ctrg;
+ /* statistics for routing */
+ int timeout_t18;
+ int timeout_t20;
+ struct timer_list T18;
+ struct timer_list T20;
+
/* custom data */
struct bsc_data *bsc;
struct ss7_application *app;