diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-11-24 00:18:47 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-11-26 20:57:19 +0100 |
commit | 15777795268ac0d0b53453afe80ce6d8e68f9a55 (patch) | |
tree | 84b531ae91e5aa45454a73478e19f36d21f8b7ae /src/rlc.h | |
parent | ef93bdb19b8ff93ef1ed6e858029df44da82982e (diff) |
rlc/tbf: Move the loop into the gprs_rlc_v_b class
Diffstat (limited to 'src/rlc.h')
-rw-r--r-- | src/rlc.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -44,6 +44,10 @@ struct gprs_rlc { }; struct gprs_rlc_v_b { + int resend_needed(const uint16_t acked, const uint16_t sent, + const uint16_t mod_sns, const uint16_t mod_sns_half); + + /* Check for an individual frame */ bool is_unacked(int index) const; bool is_nacked(int index) const; bool is_acked(int index) const; @@ -52,6 +56,7 @@ struct gprs_rlc_v_b { char state(int index) const; + /* Mark a RLC frame for something */ void mark_unacked(int index); void mark_nacked(int index); void mark_acked(int index); |