aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-27 10:34:31 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 21:24:12 +0100
commit1997787c52292942280db28ad3a3fc2ac19f20ed (patch)
tree3ca50b743715e0080d9f4bd09cd0d0d1d0ee9d51 /src/bts.h
parentb98dd9e24085bf6838b5f2a5717c3345d54acb51 (diff)
llc: Count timedout and silently dropped frames
A DL tbf can be discarded and then the already queued LLCs will be silently dropped. Count this event.
Diffstat (limited to 'src/bts.h')
-rw-r--r--src/bts.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bts.h b/src/bts.h
index 3ffd219d..259be205 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -157,6 +157,8 @@ public:
CTR_SBA_ALLOCATED,
CTR_SBA_FREED,
CTR_SBA_TIMEDOUT,
+ CTR_LLC_FRAME_TIMEDOUT,
+ CTR_LLC_FRAME_DROPPED,
};
BTS();
@@ -198,6 +200,8 @@ public:
void sba_allocated();
void sba_freed();
void sba_timedout();
+ void timedout_frame();
+ void dropped_frame();
/*
* Below for C interface for the VTY
@@ -256,6 +260,8 @@ CREATE_COUNT_INLINE(decode_error, CTR_DECODE_ERRORS)
CREATE_COUNT_INLINE(sba_allocated, CTR_SBA_ALLOCATED)
CREATE_COUNT_INLINE(sba_freed, CTR_SBA_FREED)
CREATE_COUNT_INLINE(sba_timedout, CTR_SBA_TIMEDOUT)
+CREATE_COUNT_INLINE(timedout_frame, CTR_LLC_FRAME_TIMEDOUT);
+CREATE_COUNT_INLINE(dropped_frame, CTR_LLC_FRAME_DROPPED);
#undef CREATE_COUNT_INLINE