aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/bsc_msc.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-05-05 22:48:56 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 20:24:18 +0800
commite47a91b86a8ab2bb1dba66f2f3b82290c1234031 (patch)
tree13f6a20f54668e037afbeb25322e9608de8483bd /openbsc/include/openbsc/bsc_msc.h
parent569ee123a240e261c4d5c8b2fe29ff8ccf922d7d (diff)
bsc_msc: Add a connection timeout for the MSC.
When no one is listening our connection would get stuck in the SYN_SENT state and we would be there forever.
Diffstat (limited to 'openbsc/include/openbsc/bsc_msc.h')
-rw-r--r--openbsc/include/openbsc/bsc_msc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_msc.h b/openbsc/include/openbsc/bsc_msc.h
index ce21bfe43..041de256e 100644
--- a/openbsc/include/openbsc/bsc_msc.h
+++ b/openbsc/include/openbsc/bsc_msc.h
@@ -36,6 +36,7 @@ struct bsc_msc_connection {
void (*connection_loss) (struct bsc_msc_connection *);
void (*connected) (struct bsc_msc_connection *);
struct timer_list reconnect_timer;
+ struct timer_list timeout_timer;
};
struct bsc_msc_connection *bsc_msc_create(const char *ip, int port);