rlc/tbf: Move the loop into the gprs_rlc_v_b class
diff --git a/src/rlc.h b/src/rlc.h
index e75a078..3f65a2c 100644
--- a/src/rlc.h
+++ b/src/rlc.h
@@ -44,6 +44,10 @@
};
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 @@
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);