aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-05-12 00:33:38 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-05-12 00:33:38 +0800
commit9c9ef7796aa6848529a7f2c06928f5efc46b07ed (patch)
tree2aa67d31c23a1319e3fd1ef9ca4b70fa9faab1cf /openbsc/include
parent49fcc8fc90e3a3608a44b77b2619bb275a4d559b (diff)
nat: Store the creation time of a sccp connection.
Generate it when creating the connection but also when reusing an existing connection.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/bsc_nat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h
index 4be7e3a67..61df38930 100644
--- a/openbsc/include/openbsc/bsc_nat.h
+++ b/openbsc/include/openbsc/bsc_nat.h
@@ -120,6 +120,9 @@ struct sccp_connections {
int crcx;
int msc_timeslot;
int bsc_timeslot;
+
+ /* timeout handling */
+ struct timespec creation_time;
};
/**