path: root/src/tbf.h
diff options
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-07 07:50:26 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-07 07:50:26 +0100
commitb7840466ceea8c68eb5db86c1fc98219b39ad086 (patch)
tree81750fbc5bddaf88e8760f3e6352819135bd3da5 /src/tbf.h
parenta1da251c10940291581f016e89e18d91803b9b95 (diff)
tbf: Split create_dl_acked_block into two methods
The method was more than 300 hundred lines of code. Split the selection of the index and the creation of the dl_msg.
Diffstat (limited to 'src/tbf.h')
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tbf.h b/src/tbf.h
index dcaa650..374a289 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -266,6 +266,9 @@ protected:
int append_data(const uint8_t ms_class,
const uint16_t pdu_delay_csec,
const uint8_t *data, const uint16_t len);
+ struct msgb *create_dl_acked_block(const uint32_t fn, const uint8_t ts,
+ const int index, const bool fin_first_ack);