diff options
Diffstat (limited to 'src/rlc.h')
-rw-r--r-- | src/rlc.h | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -58,6 +58,8 @@ struct gprs_rlc_v_b { uint16_t *lost, uint16_t *received); int move_window(const uint16_t v_a, const uint16_t v_s, const uint16_t mod_sns, const uint16_t mod_sns_half); + void state(char *show_rbb, const uint16_t v_a, const uint16_t v_s, + const uint16_t mod_sns, const uint16_t mod_sns_half); /* Check for an individual frame */ bool is_unacked(int index) const; @@ -66,8 +68,6 @@ struct gprs_rlc_v_b { bool is_resend(int index) const; bool is_invalid(int index) const; - char state(int index) const; - /* Mark a RLC frame for something */ void mark_unacked(int index); void mark_nacked(int index); @@ -129,11 +129,6 @@ inline void gprs_rlc_v_b::mark(int index, const char type) m_v_b[index] = type; } -inline char gprs_rlc_v_b::state(int index) const -{ - return m_v_b[index]; -} - inline bool gprs_rlc_v_b::is_nacked(int index) const { return is_state(index, 'N'); |