aboutsummaryrefslogtreecommitdiffstats
path: root/src/llc.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-12-04 17:10:54 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-12-18 12:11:27 +0100
commit550bb88a9e70b90b60720b0612e136c3467c5281 (patch)
treea868b221757db79f8f6449bcffbd4dfbc19417b0 /src/llc.h
parent88553abf4d9390ab0f2a5fddad0cb034696ed370 (diff)
llc: Count the number of frames queued inside the LLC queue
Diffstat (limited to 'src/llc.h')
-rw-r--r--src/llc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/llc.h b/src/llc.h
index f50419c8..f29c929e 100644
--- a/src/llc.h
+++ b/src/llc.h
@@ -54,6 +54,8 @@ struct gprs_llc {
uint16_t m_index; /* current write/read position of frame */
uint16_t m_length; /* len of current DL LLC_frame, 0 == no frame */
struct llist_head queue; /* queued LLC DL data */
+
+ size_t m_queue_size;
};
inline uint16_t gprs_llc::chunk_size() const