diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-12-04 17:10:54 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-12-18 12:11:27 +0100 |
commit | 550bb88a9e70b90b60720b0612e136c3467c5281 (patch) | |
tree | a868b221757db79f8f6449bcffbd4dfbc19417b0 /src/llc.h | |
parent | 88553abf4d9390ab0f2a5fddad0cb034696ed370 (diff) |
llc: Count the number of frames queued inside the LLC queue
Diffstat (limited to 'src/llc.h')
-rw-r--r-- | src/llc.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |