commit | 550bb88a9e70b90b60720b0612e136c3467c5281 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Wed Dec 04 17:10:54 2013 +0100 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Wed Dec 18 12:11:27 2013 +0100 |
tree | a868b221757db79f8f6449bcffbd4dfbc19417b0 | |
parent | 88553abf4d9390ab0f2a5fddad0cb034696ed370 [diff] [blame] |
llc: Count the number of frames queued inside the LLC queue
diff --git a/src/llc.h b/src/llc.h index f50419c..f29c929 100644 --- a/src/llc.h +++ b/src/llc.h
@@ -54,6 +54,8 @@ 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