aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlc.h
diff options
context:
space:
mode:
authorDaniel Willmann <daniel@totalueberwachung.de>2013-12-28 14:41:00 +0100
committerDaniel Willmann <daniel@totalueberwachung.de>2014-01-15 15:23:21 +0100
commit55844795be21e2e59ab6bcede2037f8c74d76505 (patch)
tree522545c0d413216dee9dfd6022bcd32ecd3ca6ee /src/rlc.h
parent7c3751b10bff1887e4981aa787c913aa4c812da2 (diff)
rlc/tbf: Add function receive_bsn that updates v_r, v_q, v_n
We don't need to expose the mecanics of updating the variables to the outside.
Diffstat (limited to 'src/rlc.h')
-rw-r--r--src/rlc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rlc.h b/src/rlc.h
index 42ec6edd..158ec3de 100644
--- a/src/rlc.h
+++ b/src/rlc.h
@@ -115,6 +115,8 @@ struct gprs_rlc_ul_window {
void raise_v_q(int);
+ uint16_t receive_bsn(const uint16_t bsn);
+
uint16_t m_v_r; /* receive state */
uint16_t m_v_q; /* receive window state */