From 9c9ef7796aa6848529a7f2c06928f5efc46b07ed Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 12 May 2010 00:33:38 +0800 Subject: nat: Store the creation time of a sccp connection. Generate it when creating the connection but also when reusing an existing connection. --- openbsc/include/openbsc/bsc_nat.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openbsc/include') 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; }; /** -- cgit v1.2.3