diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-13 12:38:35 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-13 12:38:35 +0800 |
commit | c9b7d74a087fa136629ab1419df5af199dce5ec2 (patch) | |
tree | 18cd351f5fa363b4950119ce98ef931a1b3fff06 /openbsc/include/openbsc/gsm_data.h | |
parent | 42a4e9a52de0576aa293f0a3fe085e91480d488d (diff) |
channel: Keep track on when a channel got allocated.
This can help to detect 'stale' channels in a network.
Diffstat (limited to 'openbsc/include/openbsc/gsm_data.h')
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index a3ebbbc9f..e0d33707c 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -288,6 +288,9 @@ struct gsm_lchan { /* release reason */ u_int8_t release_reason; + + /* timestamp */ + struct timeval alloc_time; }; struct gsm_e1_subslot { |