From 1997787c52292942280db28ad3a3fc2ac19f20ed Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 27 Oct 2013 10:34:31 +0100 Subject: 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. --- src/bts.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/bts.h') 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 -- cgit v1.2.3